mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-16 04:05:46 +00:00
fix building if gtest has been installed as a package
This commit is contained in:
parent
fb45d31eed
commit
ba18838876
@ -160,10 +160,9 @@ int main(int argc, char **argv)
|
||||
google::InitGoogleLogging(argv[0]);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
catch(const testing::internal::GoogleTestFailureException& e)
|
||||
{
|
||||
std::cout << e.what() << std::endl;
|
||||
}
|
||||
catch(...)
|
||||
{}
|
||||
{
|
||||
LOW(WARNING) << "Unexpected catch";
|
||||
}
|
||||
google::ShutDownCommandLineFlags();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user