mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-12 21:33:02 +00:00
Fix uncatched exception
This commit is contained in:
@@ -64,7 +64,11 @@ DECLARE_string(log_dir);
|
|||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
google::ParseCommandLineFlags(&argc, &argv, true);
|
google::ParseCommandLineFlags(&argc, &argv, true);
|
||||||
testing::InitGoogleTest(&argc, argv);
|
try
|
||||||
|
{
|
||||||
|
testing::InitGoogleTest(&argc, argv);
|
||||||
|
}
|
||||||
|
catch(...) {} // catch the "testing::internal::<unnamed>::ClassUniqueToAlwaysTrue" from gtest
|
||||||
google::InitGoogleLogging(argv[0]);
|
google::InitGoogleLogging(argv[0]);
|
||||||
int res = 0;
|
int res = 0;
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user