From cf84c06fa1797d6adee3cb18ba990cd67457c6bb Mon Sep 17 00:00:00 2001 From: Javier Arribas Date: Thu, 13 Sep 2018 12:20:15 +0200 Subject: [PATCH 1/2] Enable accuracy computation if static_scenario flag is enabled in position test --- src/tests/system-tests/position_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/system-tests/position_test.cc b/src/tests/system-tests/position_test.cc index 7d66adfc3..85017b1ab 100644 --- a/src/tests/system-tests/position_test.cc +++ b/src/tests/system-tests/position_test.cc @@ -613,7 +613,7 @@ void PositionSystemTest::check_results() { stm << "Configuration file: " << FLAGS_config_file_ptest << std::endl; } - if (FLAGS_config_file_ptest.empty()) + if (FLAGS_static_scenario) { stm << "---- ACCURACY ----" << std::endl; stm << "2DRMS = " << 2 * sqrt(sigma_E_2_accuracy + sigma_N_2_accuracy) << " [m]" << std::endl; From d93e60caafb0520f47e53a001bc075a816ddf028 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Thu, 13 Sep 2018 20:55:20 +0200 Subject: [PATCH 2/2] Fix building in some environments --- .../unit-tests/signal-processing-blocks/libs/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/CMakeLists.txt b/src/tests/unit-tests/signal-processing-blocks/libs/CMakeLists.txt index 29715f386..332f0e583 100644 --- a/src/tests/unit-tests/signal-processing-blocks/libs/CMakeLists.txt +++ b/src/tests/unit-tests/signal-processing-blocks/libs/CMakeLists.txt @@ -32,6 +32,7 @@ include_directories( ${GLOG_INCLUDE_DIRS} ${GFlags_INCLUDE_DIRS} ${MATIO_INCLUDE_DIRS} + ${GNURADIO_RUNTIME_INCLUDE_DIRS} )