2017-10-22 07:14:25 +00:00
|
|
|
/*!
|
|
|
|
* \file test_flags.h
|
|
|
|
* \brief Helper file for unit testing
|
|
|
|
* \author Carles Fernandez-Prades, 2017. cfernandez(at)cttc.es
|
|
|
|
*
|
|
|
|
* -------------------------------------------------------------------------
|
|
|
|
*
|
2019-07-26 10:38:20 +00:00
|
|
|
* Copyright (C) 2010-2019 (see AUTHORS file for a list of contributors)
|
2017-10-22 07:14:25 +00:00
|
|
|
*
|
|
|
|
* GNSS-SDR is a software defined Global Navigation
|
|
|
|
* Satellite Systems receiver
|
|
|
|
*
|
|
|
|
* This file is part of GNSS-SDR.
|
|
|
|
*
|
|
|
|
* GNSS-SDR is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* GNSS-SDR is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2018-05-13 20:49:11 +00:00
|
|
|
* along with GNSS-SDR. If not, see <https://www.gnu.org/licenses/>.
|
2017-10-22 07:14:25 +00:00
|
|
|
*
|
|
|
|
* -------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GNSS_SDR_TEST_FLAGS_H_
|
|
|
|
#define GNSS_SDR_TEST_FLAGS_H_
|
|
|
|
|
|
|
|
#include <gflags/gflags.h>
|
2019-08-17 11:56:54 +00:00
|
|
|
#include <string>
|
2017-10-22 07:14:25 +00:00
|
|
|
|
|
|
|
#if defined GNUPLOT_EXECUTABLE
|
2018-03-03 01:03:39 +00:00
|
|
|
DEFINE_string(gnuplot_executable, std::string(GNUPLOT_EXECUTABLE), "Gnuplot binary path");
|
2017-10-22 07:14:25 +00:00
|
|
|
#elif !defined GNUPLOT_EXECUTABLE
|
2018-03-03 01:03:39 +00:00
|
|
|
DEFINE_string(gnuplot_executable, "", "Gnuplot binary path");
|
2017-10-22 07:14:25 +00:00
|
|
|
#endif
|
|
|
|
|
2017-10-28 18:17:51 +00:00
|
|
|
DEFINE_bool(plot_acq_grid, false, "Plots acquisition grid with gnuplot");
|
2017-10-24 12:23:59 +00:00
|
|
|
DEFINE_int32(plot_decimate, 1, "Decimate plots");
|
|
|
|
|
2017-10-22 07:14:25 +00:00
|
|
|
#endif
|