From 6004b8f90119e4a114a4053ebe13a71b3c999a64 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 19 Mar 2023 13:53:58 +0100 Subject: [PATCH] Fix logic for downloading test files (Fixes: #707) --- src/tests/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index af8e96075..53cc054d9 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -471,8 +471,8 @@ if(ENABLE_UNIT_TESTING_EXTRA OR ENABLE_SYSTEM_TESTING_EXTRA OR ENABLE_FPGA) endif() endif() -if(NOT ENABLE_PACKAGING OR NOT ENABLE_UNIT_TESTING_MINIMAL) - message(STATUS "Downloading some data files for testing...") +if(NOT (ENABLE_PACKAGING OR ENABLE_UNIT_TESTING_MINIMAL)) + message(STATUS "Downloading some data files for testing ...") if(NOT EXISTS ${GNSSSDR_BINARY_DIR}/thirdparty/signal_samples/Galileo_E1_ID_1_Fs_4Msps_8ms.dat) message(STATUS "Downloading file: Galileo_E1_ID_1_Fs_4Msps_8ms.dat") file(DOWNLOAD https://sourceforge.net/projects/gnss-sdr/files/data/Galileo_E1_ID_1_Fs_4Msps_8ms.dat @@ -510,7 +510,7 @@ endif() if(ENABLE_UNIT_TESTING_EXTRA) add_definitions(-DEXTRA_TESTS) - message(STATUS "Downloading some extra data files for testing...") + message(STATUS "Downloading some extra data files for testing ...") if(NOT EXISTS ${GNSSSDR_BINARY_DIR}/thirdparty/signal_samples/gps_l2c_m_prn7_5msps.dat) message(STATUS "Downloading file: gps_l2c_m_prn7_5msps.dat") file(DOWNLOAD https://sourceforge.net/projects/gnss-sdr/files/data/gps_l2c_m_prn7_5msps.dat