mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-08-07 22:43:52 +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]);
|
google::InitGoogleLogging(argv[0]);
|
||||||
return RUN_ALL_TESTS();
|
return RUN_ALL_TESTS();
|
||||||
}
|
}
|
||||||
catch(const testing::internal::GoogleTestFailureException& e)
|
|
||||||
{
|
|
||||||
std::cout << e.what() << std::endl;
|
|
||||||
}
|
|
||||||
catch(...)
|
catch(...)
|
||||||
{}
|
{
|
||||||
|
LOW(WARNING) << "Unexpected catch";
|
||||||
|
}
|
||||||
|
google::ShutDownCommandLineFlags();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user