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:
parent
80e6d8df18
commit
11b3a4a817
@ -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 (...)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user