1
0
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:
Carles Fernandez 2015-05-22 18:36:12 +02:00
parent fb45d31eed
commit ba18838876

View File

@ -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();
}