GNSS-SDR  0.0.19
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  * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
9  * This file is part of GNSS-SDR.
10  *
11  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
12  * SPDX-License-Identifier: GPL-3.0-or-later
13  *
14  * -----------------------------------------------------------------------------
15  */
16 
17 #ifndef GNSS_SDR_TEST_FLAGS_H
18 #define GNSS_SDR_TEST_FLAGS_H
19 
20 #include <gflags/gflags.h>
21 #include <string>
22 
23 #if defined GNUPLOT_EXECUTABLE
24 DEFINE_string(gnuplot_executable, std::string(GNUPLOT_EXECUTABLE), "Gnuplot binary path");
25 #elif !defined GNUPLOT_EXECUTABLE
26 DEFINE_string(gnuplot_executable, "", "Gnuplot binary path");
27 #endif
28 
29 DEFINE_bool(plot_acq_grid, false, "Plots acquisition grid with gnuplot");
30 DEFINE_int32(plot_decimate, 1, "Decimate plots");
31 
32 #endif