GNSS-SDR  0.0.13
An Open Source GNSS Software Defined Receiver
test_flags.h
Go to the documentation of this file.
1 /*!
2  * \file test_flags.h
3  * \brief Helper file for unit testing
4  * \author Carles Fernandez-Prades, 2017. cfernandez(at)cttc.es
5  *
6  * -----------------------------------------------------------------------------
7  *
8  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
9  *
10  * GNSS-SDR is a software defined Global Navigation
11  * Satellite Systems receiver
12  *
13  * This file is part of GNSS-SDR.
14  *
15  * SPDX-License-Identifier: GPL-3.0-or-later
16  *
17  * -----------------------------------------------------------------------------
18  */
19 
20 #ifndef GNSS_SDR_TEST_FLAGS_H
21 #define GNSS_SDR_TEST_FLAGS_H
22 
23 #include <gflags/gflags.h>
24 #include <string>
25 
26 #if defined GNUPLOT_EXECUTABLE
27 DEFINE_string(gnuplot_executable, std::string(GNUPLOT_EXECUTABLE), "Gnuplot binary path");
28 #elif !defined GNUPLOT_EXECUTABLE
29 DEFINE_string(gnuplot_executable, "", "Gnuplot binary path");
30 #endif
31 
32 DEFINE_bool(plot_acq_grid, false, "Plots acquisition grid with gnuplot");
33 DEFINE_int32(plot_decimate, 1, "Decimate plots");
34 
35 #endif