mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Fix uncatched exception
This commit is contained in:
parent
8aa7140f19
commit
d3fbfb38db
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user