1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-04-05 10:17:03 +00:00

Fix unknown command line flag 'gtest_color'

Command line parameters are now parsed after initializing gtest.
This commit is contained in:
cesaaargm 2024-02-20 15:52:30 +01:00
parent 80e6d8df18
commit 11b3a4a817

View File

@ -15,7 +15,6 @@
* -----------------------------------------------------------------------------
*/
#include "concurrent_map.h"
#include "concurrent_queue.h"
#include "gps_acq_assist.h"
@ -39,10 +38,11 @@ DECLARE_string(log_dir);
int main(int argc, char **argv)
{
gflags::ParseCommandLineFlags(&argc, &argv, true);
try
{
testing::InitGoogleTest(&argc, argv);
gflags::ParseCommandLineFlags(&argc, &argv, true);
}
catch (...)
{