From 825037592a8a6541c896a2c36655b49ec118bd43 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Fri, 4 Oct 2024 11:55:09 +0200 Subject: [PATCH] Remove build and data folders, move tests and utils to the base of the source tree --- .github/workflows/main.yml | 72 ++++++------ .github/workflows/volk_gnsssdr_android.yml | 1 + .gitignore | 45 +++---- CMakeLists.txt | 4 + README.md | 110 +++++++----------- build/.gitignore | 6 - data/.gitignore | 6 - docs/CHANGELOG.md | 10 ++ docs/doxygen/other/main_page.dox | 19 ++- docs/xml-schemas/README.md | 2 +- src/CMakeLists.txt | 4 - .../volk_gnsssdr/.gitignore | 16 +-- {src/tests => tests}/CMakeLists.txt | 28 ++--- .../tests => tests}/benchmarks/CMakeLists.txt | 0 {src/tests => tests}/benchmarks/README.md | 0 .../benchmarks/benchmark_atan2.cc | 0 .../benchmarks/benchmark_copy.cc | 0 .../benchmarks/benchmark_crypto.cc | 0 .../benchmarks/benchmark_detector.cc | 0 .../benchmarks/benchmark_osnma.cc | 0 .../benchmarks/benchmark_preamble.cc | 0 .../benchmarks/benchmark_reed_solomon.cc | 0 {src/tests => tests}/common-files/gnuplot_i.h | 0 .../common-files/observable_tests_flags.h | 0 .../common-files/signal_generator_flags.h | 0 .../tests => tests}/common-files/test_flags.h | 0 .../common-files/tracking_tests_flags.h | 0 .../data/config_file_sample.txt | 0 {src/tests => tests}/data/gnsstk_gcc13.patch | 0 .../data/gnsstk_static13.patch | 0 .../data/gnsstk_static14.patch | 0 .../data/rtklib_test/eph_GPS_L1CA_test1.xml | 0 .../data/rtklib_test/obs_test1.xml | 0 {src/tests => tests}/single_test_main.cc | 0 .../system-tests/libs/CMakeLists.txt | 0 .../system-tests/libs/position_test_flags.h | 0 .../libs/rtklib_solver_dump_reader.cc | 0 .../libs/rtklib_solver_dump_reader.h | 0 .../libs/spirent_motion_csv_dump_reader.cc | 0 .../libs/spirent_motion_csv_dump_reader.h | 0 .../system-tests/position_test.cc | 0 {src/tests => tests}/system-tests/ttff.cc | 0 {src/tests => tests}/test_main.cc | 0 .../arithmetic/code_generation_test.cc | 0 .../arithmetic/complex_carrier_test.cc | 0 .../unit-tests/arithmetic/conjugate_test.cc | 0 .../unit-tests/arithmetic/fft_length_test.cc | 0 .../unit-tests/arithmetic/fft_speed_test.cc | 0 .../arithmetic/magnitude_squared_test.cc | 0 .../unit-tests/arithmetic/matio_test.cc | 0 .../unit-tests/arithmetic/multiply_test.cc | 0 .../arithmetic/preamble_correlator_test.cc | 0 .../control-plane/control_thread_test.cc | 0 .../control-plane/file_configuration_test.cc | 0 .../control-plane/gnss_block_factory_test.cc | 0 .../control-plane/gnss_flowgraph_test.cc | 0 .../in_memory_configuration_test.cc | 0 .../unit-tests/control-plane/protobuf_test.cc | 0 .../control-plane/string_converter_test.cc | 0 .../acquisition/acq_performance_test.cc | 0 .../beidou_b1i_pcps_acquisition_test.cc | 0 .../beidou_b3i_pcps_acquisition_test.cc | 0 ...8ms_ambiguous_acquisition_gsoc2013_test.cc | 0 ...cps_ambiguous_acquisition_gsoc2013_test.cc | 0 ...e1_pcps_ambiguous_acquisition_gsoc_test.cc | 0 ...ileo_e1_pcps_ambiguous_acquisition_test.cc | 0 ...e1_pcps_ambiguous_acquisition_test_fpga.cc | 0 ...wsr_ambiguous_acquisition_gsoc2013_test.cc | 0 ...ync_ambiguous_acquisition_gsoc2014_test.cc | 0 ...ong_ambiguous_acquisition_gsoc2013_test.cc | 0 ...cps_acquisition_gsoc2014_gensource_test.cc | 0 .../galileo_e5b_pcps_acquisition_test.cc | 0 .../galileo_e6_pcps_acquisition_test.cc | 0 ...ss_l1_ca_pcps_acquisition_gsoc2017_test.cc | 0 .../glonass_l1_ca_pcps_acquisition_test.cc | 0 .../glonass_l2_ca_pcps_acquisition_test.cc | 0 ...ps_l1_ca_pcps_acquisition_gsoc2013_test.cc | 0 .../gps_l1_ca_pcps_acquisition_test.cc | 0 .../gps_l1_ca_pcps_acquisition_test_fpga.cc | 0 ...a_pcps_opencl_acquisition_gsoc2013_test.cc | 0 ...cps_quicksync_acquisition_gsoc2014_test.cc | 0 ..._ca_pcps_tong_acquisition_gsoc2013_test.cc | 0 .../gps_l2_m_pcps_acquisition_test.cc | 0 .../adapter/adapter_test.cc | 0 .../adapter/pass_through_test.cc | 0 .../filter/fir_filter_test.cc | 0 .../filter/notch_filter_lite_test.cc | 0 .../filter/notch_filter_test.cc | 0 .../filter/pulse_blanking_filter_test.cc | 0 .../libs/CMakeLists.txt | 2 +- .../libs/acquisition_dump_reader.cc | 0 .../libs/acquisition_dump_reader.h | 0 .../libs/acquisition_msg_rx.cc | 0 .../libs/acquisition_msg_rx.h | 0 .../libs/item_type_helpers_test.cc | 0 .../libs/observables_dump_reader.cc | 0 .../libs/observables_dump_reader.h | 0 .../libs/tlm_dump_reader.cc | 0 .../libs/tlm_dump_reader.h | 0 .../libs/tracking_dump_reader.cc | 0 .../libs/tracking_dump_reader.h | 0 .../libs/tracking_true_obs_reader.cc | 0 .../libs/tracking_true_obs_reader.h | 0 .../libs/true_observables_reader.cc | 0 .../libs/true_observables_reader.h | 0 .../observables/hybrid_observables_test.cc | 0 .../hybrid_observables_test_fpga.cc | 0 .../osnma/gnss_crypto_test.cc | 0 .../osnma/osnma_msg_receiver_test.cc | 0 .../osnma/osnma_test_vectors.cc | 0 .../pvt/geohash_test.cc | 0 .../pvt/nmea_printer_test.cc | 0 .../pvt/rinex_printer_test.cc | 0 .../pvt/rtcm_printer_test.cc | 0 .../signal-processing-blocks/pvt/rtcm_test.cc | 0 .../pvt/rtklib_solver_test.cc | 0 .../pvt/serdes_monitor_pvt_test.cc | 0 .../direct_resampler_conditioner_cc_test.cc | 0 .../resampler/mmse_resampler_test.cc | 0 .../sources/file_signal_source_test.cc | 0 .../sources/gnss_sdr_valve_test.cc | 0 .../sources/unpack_2bit_samples_test.cc | 0 .../galileo_fnav_inav_decoder_test.cc | 0 .../gps_l1_ca_telemetry_decoder_test.cc | 0 .../tracking/bayesian_estimation_test.cc | 0 .../cpu_multicorrelator_real_codes_test.cc | 0 .../tracking/cpu_multicorrelator_test.cc | 0 .../tracking/cubature_filter_test.cc | 0 .../tracking/discriminator_test.cc | 0 .../galileo_e1_dll_pll_veml_tracking_test.cc | 0 .../tracking/galileo_e5a_tracking_test.cc | 0 .../galileo_e5b_dll_pll_tracking_test.cc | 0 ...onass_l1_ca_dll_pll_c_aid_tracking_test.cc | 0 .../glonass_l1_ca_dll_pll_tracking_test.cc | 0 .../gps_l1_ca_dll_pll_tracking_test.cc | 0 .../gps_l1_ca_dll_pll_tracking_test_fpga.cc | 0 .../gps_l1_ca_gaussian_tracking_test.cc | 0 .../gps_l2_m_dll_pll_tracking_test.cc | 0 .../tracking/gpu_multicorrelator_test.cc | 0 .../tracking/tracking_loop_filter_test.cc | 0 .../tracking/tracking_pull-in_test.cc | 0 .../tracking/tracking_pull-in_test_fpga.cc | 0 .../tracking/unscented_filter_test.cc | 0 .../galileo_e1b_reed_solomon_test.cc | 0 .../galileo_e6b_reed_solomon_test.cc | 0 .../system-parameters/galileo_ism_test.cc | 0 .../glonass_gnav_crc_test.cc | 0 .../glonass_gnav_ephemeris_test.cc | 0 .../glonass_gnav_nav_message_test.cc | 0 .../system-parameters/has_decoding_test.cc | 0 {src/utils => utils}/CMakeLists.txt | 0 .../front-end-cal/CMakeLists.txt | 0 .../front-end-cal/front_end_cal.cc | 0 .../front-end-cal/front_end_cal.h | 0 {src/utils => utils}/front-end-cal/main.cc | 0 .../matlab/dll_pll_veml_plot_sample.m | 0 .../matlab/gps_l1_ca_kf_plot_sample.m | 0 .../gps_l1_ca_pvt_plot_sample_agilent_cap2.m | 0 .../matlab/gps_l1_ca_pvt_raw_plot_sample.m | 0 .../matlab/gps_l1_ca_telemetry_plot_sample.m | 0 {src/utils => utils}/matlab/help_script1.m | 0 {src/utils => utils}/matlab/help_script2.m | 0 .../matlab/hybrid_observables_plot_sample.m | 0 .../libs/dll_pll_veml_read_tracking_dump.m | 0 .../matlab/libs/geoFunctions/cart2geo.m | 0 .../matlab/libs/geoFunctions/cart2utm.m | 0 .../matlab/libs/geoFunctions/check_t.m | 0 .../matlab/libs/geoFunctions/clksin.m | 0 .../matlab/libs/geoFunctions/clsin.m | 0 .../matlab/libs/geoFunctions/deg2dms.m | 0 .../matlab/libs/geoFunctions/dms2deg.m | 0 .../matlab/libs/geoFunctions/dms2mat.m | 0 .../matlab/libs/geoFunctions/e_r_corr.m | 0 .../matlab/libs/geoFunctions/findUtmZone.m | 0 .../matlab/libs/geoFunctions/geo2cart.m | 0 .../matlab/libs/geoFunctions/leastSquarePos.m | 0 .../matlab/libs/geoFunctions/mat2dms.m | 0 .../matlab/libs/geoFunctions/roundn.m | 0 .../matlab/libs/geoFunctions/satpos.m | 0 .../matlab/libs/geoFunctions/togeod.m | 0 .../matlab/libs/geoFunctions/topocent.m | 0 .../matlab/libs/geoFunctions/tropo.m | 0 .../gps_l1_ca_dll_pll_read_tracking_dump.m | 0 .../libs/gps_l1_ca_kf_read_tracking_dump.m | 0 .../matlab/libs/gps_l1_ca_pvt_read_pvt_dump.m | 0 .../matlab/libs/gps_l1_ca_read_pvt_raw_dump.m | 0 .../libs/gps_l1_ca_read_telemetry_dump.m | 0 {src/utils => utils}/matlab/libs/plotKalman.m | 0 .../matlab/libs/plotNavigation.m | 0 .../matlab/libs/plotTracking.m | 0 .../matlab/libs/plotVEMLTracking.m | 0 .../matlab/libs/quantize_signal.m | 0 .../matlab/libs/read_complex_binary.m | 0 .../matlab/libs/read_complex_char_binary.m | 0 .../matlab/libs/read_complex_short_binary.m | 0 .../libs/read_hybrid_observables_dump.m | 0 .../libs/read_true_sim_observables_dump.m | 0 {src/utils => utils}/matlab/plotTrackingE5a.m | 0 {src/utils => utils}/matlab/plot_acq_grid.m | 0 .../matlab/plot_acq_grid_gsoc.m | 0 .../matlab/plot_acq_grid_gsoc_e5.m | 0 .../matlab/plot_acq_grid_gsoc_glonass.m | 0 .../matlab/plot_tracking_quality_indicators.m | 0 .../nav-listener/CMakeLists.txt | 0 {src/utils => utils}/nav-listener/README.md | 0 .../cmake/cmake_uninstall.cmake.in | 0 {src/utils => utils}/nav-listener/main.cc | 0 .../nav-listener/nav_message.proto | 0 .../nav-listener/nav_msg_udp_listener.cc | 0 .../nav-listener/nav_msg_udp_listener.h | 0 .../python/dll_pll_veml_plot_sample.py | 0 .../python/gps_l1_ca_kf_plot_sample.py | 0 .../python/gps_l1_ca_pvt_raw_plot_sample.py | 0 .../python/gps_l1_ca_telemetry_plot_sample.py | 0 .../python/hybrid_observables_plot_sample.py | 0 .../lib/dll_pll_veml_read_tracking_dump.py | 0 .../lib/gps_l1_ca_kf_read_tracking_dump.py | 0 .../python/lib/gps_l1_ca_read_pvt_dump.py | 0 .../lib/gps_l1_ca_read_telemetry_dump.py | 0 {src/utils => utils}/python/lib/plotKalman.py | 0 .../python/lib/plotNavigation.py | 0 .../python/lib/plotPosition.py | 0 .../python/lib/plotTracking.py | 0 .../python/lib/plotVEMLTracking.py | 0 .../lib/read_hybrid_observables_dump.py | 0 {src/utils => utils}/python/plot_acq_grid.py | 0 .../plot_tracking_quality_indicators.py | 0 .../ieee-access18/L2-access18.conf | 0 .../reproducibility/ieee-access18/README.md | 6 +- .../reproducibility/ieee-access18/plot_dump.m | 0 .../rinex-tools/CMakeLists.txt | 2 +- {src/utils => utils}/rinex-tools/README.md | 0 {src/utils => utils}/rinex-tools/obsdiff.cc | 0 .../rinex-tools/obsdiff_flags.h | 0 .../rinex2assist/CMakeLists.txt | 0 {src/utils => utils}/rinex2assist/README.md | 0 {src/utils => utils}/rinex2assist/main.cc | 0 .../scripts/download-galileo-almanac.sh | 0 .../scripts/gnss-sdr-harness.sh | 0 ...ss_sdr_tcp_connector_parallel_tracking.txt | 0 ...dr_tcp_connector_parallel_tracking_start.m | 0 .../gnss_sdr_tcp_connector_tracking_lib.mdl | 0 ...sdr_tcp_connector_tracking_lib.mdl.license | 0 ..._sdr_galileo_e1_tcp_connector_tracking.txt | 0 ...README_gnss_sdr_tcp_connector_tracking.txt | 0 ..._galileo_e1_tcp_connector_tracking_lib.mdl | 0 ..._e1_tcp_connector_tracking_lib.mdl.license | 0 ..._galileo_e1_tcp_connector_tracking_start.m | 0 .../gnss_sdr_tcp_connector_tracking_lib.mdl | 0 ...sdr_tcp_connector_tracking_lib.mdl.license | 0 .../gnss_sdr_tcp_connector_tracking_start.m | 0 251 files changed, 154 insertions(+), 179 deletions(-) delete mode 100644 build/.gitignore delete mode 100644 data/.gitignore rename {src/tests => tests}/CMakeLists.txt (98%) rename {src/tests => tests}/benchmarks/CMakeLists.txt (100%) rename {src/tests => tests}/benchmarks/README.md (100%) rename {src/tests => tests}/benchmarks/benchmark_atan2.cc (100%) rename {src/tests => tests}/benchmarks/benchmark_copy.cc (100%) rename {src/tests => tests}/benchmarks/benchmark_crypto.cc (100%) rename {src/tests => tests}/benchmarks/benchmark_detector.cc (100%) rename {src/tests => tests}/benchmarks/benchmark_osnma.cc (100%) rename {src/tests => tests}/benchmarks/benchmark_preamble.cc (100%) rename {src/tests => tests}/benchmarks/benchmark_reed_solomon.cc (100%) rename {src/tests => tests}/common-files/gnuplot_i.h (100%) rename {src/tests => tests}/common-files/observable_tests_flags.h (100%) rename {src/tests => tests}/common-files/signal_generator_flags.h (100%) rename {src/tests => tests}/common-files/test_flags.h (100%) rename {src/tests => tests}/common-files/tracking_tests_flags.h (100%) rename {src/tests => tests}/data/config_file_sample.txt (100%) rename {src/tests => tests}/data/gnsstk_gcc13.patch (100%) rename {src/tests => tests}/data/gnsstk_static13.patch (100%) rename {src/tests => tests}/data/gnsstk_static14.patch (100%) rename {src/tests => tests}/data/rtklib_test/eph_GPS_L1CA_test1.xml (100%) rename {src/tests => tests}/data/rtklib_test/obs_test1.xml (100%) rename {src/tests => tests}/single_test_main.cc (100%) rename {src/tests => tests}/system-tests/libs/CMakeLists.txt (100%) rename {src/tests => tests}/system-tests/libs/position_test_flags.h (100%) rename {src/tests => tests}/system-tests/libs/rtklib_solver_dump_reader.cc (100%) rename {src/tests => tests}/system-tests/libs/rtklib_solver_dump_reader.h (100%) rename {src/tests => tests}/system-tests/libs/spirent_motion_csv_dump_reader.cc (100%) rename {src/tests => tests}/system-tests/libs/spirent_motion_csv_dump_reader.h (100%) rename {src/tests => tests}/system-tests/position_test.cc (100%) rename {src/tests => tests}/system-tests/ttff.cc (100%) rename {src/tests => tests}/test_main.cc (100%) rename {src/tests => tests}/unit-tests/arithmetic/code_generation_test.cc (100%) rename {src/tests => tests}/unit-tests/arithmetic/complex_carrier_test.cc (100%) rename {src/tests => tests}/unit-tests/arithmetic/conjugate_test.cc (100%) rename {src/tests => tests}/unit-tests/arithmetic/fft_length_test.cc (100%) rename {src/tests => tests}/unit-tests/arithmetic/fft_speed_test.cc (100%) rename {src/tests => tests}/unit-tests/arithmetic/magnitude_squared_test.cc (100%) rename {src/tests => tests}/unit-tests/arithmetic/matio_test.cc (100%) rename {src/tests => tests}/unit-tests/arithmetic/multiply_test.cc (100%) rename {src/tests => tests}/unit-tests/arithmetic/preamble_correlator_test.cc (100%) rename {src/tests => tests}/unit-tests/control-plane/control_thread_test.cc (100%) rename {src/tests => tests}/unit-tests/control-plane/file_configuration_test.cc (100%) rename {src/tests => tests}/unit-tests/control-plane/gnss_block_factory_test.cc (100%) rename {src/tests => tests}/unit-tests/control-plane/gnss_flowgraph_test.cc (100%) rename {src/tests => tests}/unit-tests/control-plane/in_memory_configuration_test.cc (100%) rename {src/tests => tests}/unit-tests/control-plane/protobuf_test.cc (100%) rename {src/tests => tests}/unit-tests/control-plane/string_converter_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/acq_performance_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/beidou_b1i_pcps_acquisition_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/beidou_b3i_pcps_acquisition_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_8ms_ambiguous_acquisition_gsoc2013_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_gsoc2013_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_gsoc_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_test_fpga.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_cccwsr_ambiguous_acquisition_gsoc2013_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_quicksync_ambiguous_acquisition_gsoc2014_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_tong_ambiguous_acquisition_gsoc2013_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/galileo_e5a_pcps_acquisition_gsoc2014_gensource_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/galileo_e5b_pcps_acquisition_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/galileo_e6_pcps_acquisition_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/glonass_l1_ca_pcps_acquisition_gsoc2017_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/glonass_l1_ca_pcps_acquisition_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/glonass_l2_ca_pcps_acquisition_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_gsoc2013_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_test_fpga.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_opencl_acquisition_gsoc2013_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_quicksync_acquisition_gsoc2014_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_tong_acquisition_gsoc2013_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/acquisition/gps_l2_m_pcps_acquisition_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/adapter/adapter_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/adapter/pass_through_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/filter/fir_filter_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/filter/notch_filter_lite_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/filter/notch_filter_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/filter/pulse_blanking_filter_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/CMakeLists.txt (98%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.h (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/acquisition_msg_rx.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/acquisition_msg_rx.h (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/item_type_helpers_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/observables_dump_reader.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/observables_dump_reader.h (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/tlm_dump_reader.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/tlm_dump_reader.h (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/tracking_dump_reader.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/tracking_dump_reader.h (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/tracking_true_obs_reader.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/tracking_true_obs_reader.h (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/true_observables_reader.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/libs/true_observables_reader.h (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/observables/hybrid_observables_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/observables/hybrid_observables_test_fpga.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/osnma/gnss_crypto_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/osnma/osnma_msg_receiver_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/osnma/osnma_test_vectors.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/pvt/geohash_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/pvt/nmea_printer_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/pvt/rinex_printer_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/pvt/rtcm_printer_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/pvt/rtcm_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/pvt/rtklib_solver_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/pvt/serdes_monitor_pvt_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/resampler/direct_resampler_conditioner_cc_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/resampler/mmse_resampler_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/sources/file_signal_source_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/sources/gnss_sdr_valve_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/sources/unpack_2bit_samples_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/telemetry_decoder/galileo_fnav_inav_decoder_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/telemetry_decoder/gps_l1_ca_telemetry_decoder_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/bayesian_estimation_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/cpu_multicorrelator_real_codes_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/cpu_multicorrelator_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/cubature_filter_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/discriminator_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/galileo_e1_dll_pll_veml_tracking_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/galileo_e5a_tracking_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/galileo_e5b_dll_pll_tracking_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/glonass_l1_ca_dll_pll_c_aid_tracking_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/glonass_l1_ca_dll_pll_tracking_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_dll_pll_tracking_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_dll_pll_tracking_test_fpga.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_gaussian_tracking_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/gps_l2_m_dll_pll_tracking_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/gpu_multicorrelator_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/tracking_loop_filter_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/tracking_pull-in_test.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/tracking_pull-in_test_fpga.cc (100%) rename {src/tests => tests}/unit-tests/signal-processing-blocks/tracking/unscented_filter_test.cc (100%) rename {src/tests => tests}/unit-tests/system-parameters/galileo_e1b_reed_solomon_test.cc (100%) rename {src/tests => tests}/unit-tests/system-parameters/galileo_e6b_reed_solomon_test.cc (100%) rename {src/tests => tests}/unit-tests/system-parameters/galileo_ism_test.cc (100%) rename {src/tests => tests}/unit-tests/system-parameters/glonass_gnav_crc_test.cc (100%) rename {src/tests => tests}/unit-tests/system-parameters/glonass_gnav_ephemeris_test.cc (100%) rename {src/tests => tests}/unit-tests/system-parameters/glonass_gnav_nav_message_test.cc (100%) rename {src/tests => tests}/unit-tests/system-parameters/has_decoding_test.cc (100%) rename {src/utils => utils}/CMakeLists.txt (100%) rename {src/utils => utils}/front-end-cal/CMakeLists.txt (100%) rename {src/utils => utils}/front-end-cal/front_end_cal.cc (100%) rename {src/utils => utils}/front-end-cal/front_end_cal.h (100%) rename {src/utils => utils}/front-end-cal/main.cc (100%) rename {src/utils => utils}/matlab/dll_pll_veml_plot_sample.m (100%) rename {src/utils => utils}/matlab/gps_l1_ca_kf_plot_sample.m (100%) rename {src/utils => utils}/matlab/gps_l1_ca_pvt_plot_sample_agilent_cap2.m (100%) rename {src/utils => utils}/matlab/gps_l1_ca_pvt_raw_plot_sample.m (100%) rename {src/utils => utils}/matlab/gps_l1_ca_telemetry_plot_sample.m (100%) rename {src/utils => utils}/matlab/help_script1.m (100%) rename {src/utils => utils}/matlab/help_script2.m (100%) rename {src/utils => utils}/matlab/hybrid_observables_plot_sample.m (100%) rename {src/utils => utils}/matlab/libs/dll_pll_veml_read_tracking_dump.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/cart2geo.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/cart2utm.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/check_t.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/clksin.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/clsin.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/deg2dms.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/dms2deg.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/dms2mat.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/e_r_corr.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/findUtmZone.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/geo2cart.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/leastSquarePos.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/mat2dms.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/roundn.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/satpos.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/togeod.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/topocent.m (100%) rename {src/utils => utils}/matlab/libs/geoFunctions/tropo.m (100%) rename {src/utils => utils}/matlab/libs/gps_l1_ca_dll_pll_read_tracking_dump.m (100%) rename {src/utils => utils}/matlab/libs/gps_l1_ca_kf_read_tracking_dump.m (100%) rename {src/utils => utils}/matlab/libs/gps_l1_ca_pvt_read_pvt_dump.m (100%) rename {src/utils => utils}/matlab/libs/gps_l1_ca_read_pvt_raw_dump.m (100%) rename {src/utils => utils}/matlab/libs/gps_l1_ca_read_telemetry_dump.m (100%) rename {src/utils => utils}/matlab/libs/plotKalman.m (100%) rename {src/utils => utils}/matlab/libs/plotNavigation.m (100%) rename {src/utils => utils}/matlab/libs/plotTracking.m (100%) rename {src/utils => utils}/matlab/libs/plotVEMLTracking.m (100%) rename {src/utils => utils}/matlab/libs/quantize_signal.m (100%) rename {src/utils => utils}/matlab/libs/read_complex_binary.m (100%) rename {src/utils => utils}/matlab/libs/read_complex_char_binary.m (100%) rename {src/utils => utils}/matlab/libs/read_complex_short_binary.m (100%) rename {src/utils => utils}/matlab/libs/read_hybrid_observables_dump.m (100%) rename {src/utils => utils}/matlab/libs/read_true_sim_observables_dump.m (100%) rename {src/utils => utils}/matlab/plotTrackingE5a.m (100%) rename {src/utils => utils}/matlab/plot_acq_grid.m (100%) rename {src/utils => utils}/matlab/plot_acq_grid_gsoc.m (100%) rename {src/utils => utils}/matlab/plot_acq_grid_gsoc_e5.m (100%) rename {src/utils => utils}/matlab/plot_acq_grid_gsoc_glonass.m (100%) rename {src/utils => utils}/matlab/plot_tracking_quality_indicators.m (100%) rename {src/utils => utils}/nav-listener/CMakeLists.txt (100%) rename {src/utils => utils}/nav-listener/README.md (100%) rename {src/utils => utils}/nav-listener/cmake/cmake_uninstall.cmake.in (100%) rename {src/utils => utils}/nav-listener/main.cc (100%) rename {src/utils => utils}/nav-listener/nav_message.proto (100%) rename {src/utils => utils}/nav-listener/nav_msg_udp_listener.cc (100%) rename {src/utils => utils}/nav-listener/nav_msg_udp_listener.h (100%) rename {src/utils => utils}/python/dll_pll_veml_plot_sample.py (100%) rename {src/utils => utils}/python/gps_l1_ca_kf_plot_sample.py (100%) rename {src/utils => utils}/python/gps_l1_ca_pvt_raw_plot_sample.py (100%) rename {src/utils => utils}/python/gps_l1_ca_telemetry_plot_sample.py (100%) rename {src/utils => utils}/python/hybrid_observables_plot_sample.py (100%) rename {src/utils => utils}/python/lib/dll_pll_veml_read_tracking_dump.py (100%) rename {src/utils => utils}/python/lib/gps_l1_ca_kf_read_tracking_dump.py (100%) rename {src/utils => utils}/python/lib/gps_l1_ca_read_pvt_dump.py (100%) rename {src/utils => utils}/python/lib/gps_l1_ca_read_telemetry_dump.py (100%) rename {src/utils => utils}/python/lib/plotKalman.py (100%) rename {src/utils => utils}/python/lib/plotNavigation.py (100%) rename {src/utils => utils}/python/lib/plotPosition.py (100%) rename {src/utils => utils}/python/lib/plotTracking.py (100%) rename {src/utils => utils}/python/lib/plotVEMLTracking.py (100%) rename {src/utils => utils}/python/lib/read_hybrid_observables_dump.py (100%) rename {src/utils => utils}/python/plot_acq_grid.py (100%) rename {src/utils => utils}/python/plot_tracking_quality_indicators.py (100%) rename {src/utils => utils}/reproducibility/ieee-access18/L2-access18.conf (100%) rename {src/utils => utils}/reproducibility/ieee-access18/README.md (93%) rename {src/utils => utils}/reproducibility/ieee-access18/plot_dump.m (100%) rename {src/utils => utils}/rinex-tools/CMakeLists.txt (99%) rename {src/utils => utils}/rinex-tools/README.md (100%) rename {src/utils => utils}/rinex-tools/obsdiff.cc (100%) rename {src/utils => utils}/rinex-tools/obsdiff_flags.h (100%) rename {src/utils => utils}/rinex2assist/CMakeLists.txt (100%) rename {src/utils => utils}/rinex2assist/README.md (100%) rename {src/utils => utils}/rinex2assist/main.cc (100%) rename {src/utils => utils}/scripts/download-galileo-almanac.sh (100%) rename {src/utils => utils}/scripts/gnss-sdr-harness.sh (100%) rename {src/utils => utils}/simulink/MultiThread/README_gnss_sdr_tcp_connector_parallel_tracking.txt (100%) rename {src/utils => utils}/simulink/MultiThread/gnss_sdr_tcp_connector_parallel_tracking_start.m (100%) rename {src/utils => utils}/simulink/MultiThread/gnss_sdr_tcp_connector_tracking_lib.mdl (100%) rename {src/utils => utils}/simulink/MultiThread/gnss_sdr_tcp_connector_tracking_lib.mdl.license (100%) rename {src/utils => utils}/simulink/SingleThread/README_gnss_sdr_galileo_e1_tcp_connector_tracking.txt (100%) rename {src/utils => utils}/simulink/SingleThread/README_gnss_sdr_tcp_connector_tracking.txt (100%) rename {src/utils => utils}/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_lib.mdl (100%) rename {src/utils => utils}/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_lib.mdl.license (100%) rename {src/utils => utils}/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_start.m (100%) rename {src/utils => utils}/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_lib.mdl (100%) rename {src/utils => utils}/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_lib.mdl.license (100%) rename {src/utils => utils}/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_start.m (100%) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 54a478cba..ddb7cbc68 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,15 +28,15 @@ jobs: libgnutls-openssl-dev libmatio-dev googletest protobuf-compiler libprotobuf-dev \ python3-mako liborc-0.4-dev - name: configure - run: cd build && cmake -GNinja .. + run: cmake -S . -B build -GNinja - name: build - run: cd build && ninja + run: cmake --build build - name: check - run: cd build && ninja check && ../install/volk_gnsssdr_profile && ../install/run_tests + run: cmake --build build --target check && ./install/volk_gnsssdr_profile && ./install/run_tests - name: default position_test run: | - cd build && cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON -DENABLE_UNIT_TESTING_EXTRA=OFF .. && \ - ninja && ../install/position_test && ../install/run_tests --gtest_filter=Osnma* + cmake -S . -B build -DENABLE_SYSTEM_TESTING_EXTRA=ON -DENABLE_UNIT_TESTING_EXTRA=OFF && \ + cmake --build build && ./install/position_test && ./install/run_tests --gtest_filter=Osnma* build-macos: runs-on: macos-latest @@ -62,15 +62,15 @@ jobs: brew install ninja hdf5 automake armadillo lapack libmatio gnuradio openssl pugixml protobuf pip3 install mako - name: configure - run: cd build && cmake -GNinja .. + run: cmake -S . -B build -GNinja - name: build - run: cd build && ninja + run: cmake --build build - name: check - run: cd build && ninja check && ../install/volk_gnsssdr_profile && ../install/run_tests + run: cmake --build build --target check && ./install/volk_gnsssdr_profile && ./install/run_tests - name: default position_test run: | - cd build && cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON -DENABLE_UNIT_TESTING_EXTRA=OFF .. && \ - ninja && ../install/position_test && ../install/run_tests --gtest_filter=Osnma* + cmake -S . -B build -DENABLE_SYSTEM_TESTING_EXTRA=ON -DENABLE_UNIT_TESTING_EXTRA=OFF && \ + cmake --build build && ./install/position_test && ./install/run_tests --gtest_filter=Osnma* build-macos-xcode: runs-on: macos-latest @@ -96,22 +96,20 @@ jobs: brew install ninja pkg-config hdf5 automake armadillo lapack libmatio gnuradio openssl pugixml protobuf pip3 install mako - name: configure - run: cd build && cmake -GXcode .. + run: cmake -S . -B build -GXcode - name: build - run: cd build && xcodebuild -configuration Release + run: cmake --build build --config Release - name: check run: | - cd build - xcodebuild -configuration Release -target check - ../install/volk_gnsssdr_profile - ../install/run_tests + cmake --build build --config Release --target check + ./install/volk_gnsssdr_profile + ./install/run_tests - name: default position_test run: | - cd build - cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON -DENABLE_UNIT_TESTING_EXTRA=OFF .. - xcodebuild -configuration Release -target position_test - ../install/position_test - ../install/run_tests --gtest_filter=Osnma* + cmake -S . -B build -DENABLE_SYSTEM_TESTING_EXTRA=ON -DENABLE_UNIT_TESTING_EXTRA=OFF + cmake --build build --config Release --target position_test + ./install/position_test + ./install/run_tests --gtest_filter=Osnma* clang-format: runs-on: ubuntu-latest @@ -151,7 +149,7 @@ jobs: ln -s $(brew --prefix llvm)/bin/clang-apply-replacements /usr/local/bin ln -s $(brew --prefix llvm)/bin/run-clang-tidy.py /usr/local/bin - name: Prepare run - run: cd build && cmake .. && make volk_gnsssdr_module gtest-1.15.2 core_monitor core_libs pvt_libs + run: cmake -S . -B build && cmake --build build --target volk_gnsssdr_module gtest-1.15.2 core_monitor core_libs pvt_libs - name: run clang-tidy run: cd build && /opt/homebrew/opt/llvm/bin/run-clang-tidy -fix - name: check @@ -168,7 +166,7 @@ jobs: - name: install dependencies run: sudo apt-get install python3-pip && sudo pip3 install cpplint - name: run checks - run: "find ./src/ -iname *.h -o -iname *.cc | xargs cpplint + run: "find ./src/ ./utils ./tests -iname *.h -o -iname *.cc | xargs cpplint --filter=-,+build/class,+build/c++14,+build/deprecated,+build/explicit_make_pair,\ +build/include_what_you_use,+build/printf_format,+build/storage_class,\ +readability/constructors,+readability/namespace,+readability/newline,\ @@ -180,7 +178,7 @@ jobs: +whitespace/end-of-line,+whitespace/ending-newline,+whitespace/semicolon,\ +whitespace/tab --exclude=./src/core/interfaces/gnss_block_interface.h --exclude=./src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cpu_features/test/hwcaps_for_testing.* - --exclude=./src/utils/nav-listener/build/nav_message.pb.h" + --exclude=./utils/nav-listener/build/nav_message.pb.h" prettier-markdown: runs-on: ubuntu-latest @@ -215,12 +213,12 @@ jobs: pip install mako - name: configure shell: powershell - run: cd build; cmake -G "Visual Studio 17 2022" ..\src\algorithms\libs\volk_gnsssdr_module\volk_gnsssdr + run: cmake -S src\algorithms\libs\volk_gnsssdr_module\volk_gnsssdr -B build -G "Visual Studio 17 2022" - name: build run: cmake --build build --config Release - name: test shell: powershell - run: cd build; ctest -C Release + run: ctest -C Release --test-dir build - name: install run: cmake --install build - name: run profile @@ -233,11 +231,11 @@ jobs: - name: install dependencies run: sudo apt install python3-mako liborc-dev - name: configure - run: cd build && cmake ../src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr + run: cmake -S src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr -B build - name: build - run: cd build && make -j2 + run: cmake --build build - name: install - run: cd build && sudo make install && sudo ldconfig + run: sudo cmake --install build && sudo ldconfig - name: test run: volk_gnsssdr_profile @@ -253,11 +251,11 @@ jobs: python -m pip install --upgrade pip pip install mako - name: configure - run: cd build && cmake ../src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr + run: cmake -S src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr -B build - name: build - run: cd build && make -j2 && sudo make install + run: cmake --build build && sudo cmake --install build - name: test - run: cd build && ctest -C Release --exclude-regex volk_gnsssdr_32fc_32f_rotator_dotprodxnpuppet_32fc + run: ctest -C Release --test-dir build --exclude-regex volk_gnsssdr_32fc_32f_rotator_dotprodxnpuppet_32fc volk-gnsssdr-macos-xcode: runs-on: macos-latest @@ -271,13 +269,13 @@ jobs: python -m pip install --upgrade pip pip install mako - name: configure - run: cd build && cmake -GXcode ../src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr + run: cmake -S src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr -B build -GXcode - name: build - run: cd build && xcodebuild -configuration Release + run: cmake --build build --config Release - name: install - run: cd build && sudo xcodebuild -configuration Release -target install + run: sudo cmake --install build - name: test - run: cd build && ctest -C Release --exclude-regex volk_gnsssdr_32fc_32f_rotator_dotprodxnpuppet_32fc + run: ctest -C Release --test-dir build --exclude-regex --exclude-regex volk_gnsssdr_32fc_32f_rotator_dotprodxnpuppet_32fc shellcheck: runs-on: ubuntu-latest @@ -286,7 +284,7 @@ jobs: - name: install dependencies run: sudo apt install shellcheck - name: check scripts - run: shellcheck src/utils/scripts/* + run: shellcheck utils/scripts/* REUSE-compliance: runs-on: ubuntu-latest diff --git a/.github/workflows/volk_gnsssdr_android.yml b/.github/workflows/volk_gnsssdr_android.yml index 04a33c3d4..b10f894dd 100644 --- a/.github/workflows/volk_gnsssdr_android.yml +++ b/.github/workflows/volk_gnsssdr_android.yml @@ -50,6 +50,7 @@ jobs: shell: bash run: | cd $GITHUB_WORKSPACE/ + mkdir build cd build cmake -DCMAKE_TOOLCHAIN_FILE=$GITHUB_WORKSPACE/android-sdk-linux/ndk/24.0.8215888/build/cmake/android.toolchain.cmake \ -DANDROID_ABI=${{ matrix.arch.name }} \ diff --git a/.gitignore b/.gitignore index a876bf1c1..2155a88bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,29 +1,30 @@ # SPDX-License-Identifier: GPL-3.0-or-later -# SPDX-FileCopyrightText: 2011 Carles Fernandez-Prades +# SPDX-FileCopyrightText: 2011-2024 Carles Fernandez-Prades *~ .*.swp -docs/doxygen/Doxyfile -docs/html -docs/latex -docs/GNSS-SDR_manual.pdf -src/tests/data/output.dat -thirdparty/ -src/utils/nav-listener/build -.settings -.project -.cproject -.idea -cmake-build-debug/ +/build/ +/build*/ +/cmake-build-debug/ +/data/ +/docs/doxygen/Doxyfile +/docs/html/ +/docs/latex/ +/docs/GNSS-SDR_manual.pdf +/gnss_sdr_pvt.nmea +/GSDR* +/HAS_* +/PVT_* +/Testing/ +/tests/data/output.dat +/thirdparty/ +/utils/nav-listener/build/ +/utils/nav-listener/build*/ /install +.cproject .DS_Store +.idea +.project .pydevproject -.vscode/ +.settings .vs/ -Testing/ - -GSDR* -PVT_* -HAS_* -gnss_sdr_pvt.nmea -build-debug/ -build-release/ \ No newline at end of file +.vscode/ diff --git a/CMakeLists.txt b/CMakeLists.txt index c986cfc12..0c933e908 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3602,6 +3602,10 @@ add_custom_target(uninstall # Add subdirectories ################################################################################ add_subdirectory(src) +if(ENABLE_UNIT_TESTING OR ENABLE_SYSTEM_TESTING) + add_subdirectory(tests) +endif() +add_subdirectory(utils) diff --git a/README.md b/README.md index d5cbacc94..8997686d1 100644 --- a/README.md +++ b/README.md @@ -535,18 +535,16 @@ gnss-sdr with the following structure: ``` |-gnss-sdr - |---build <- where gnss-sdr is built. |---cmake <- CMake-related files. |---conf <- Configuration files. Each file defines one particular receiver. - |---data <- Populate this folder with your captured data. |---docs <- Contains documentation-related files. |---install <- Executables will be placed here. |---src <- Source code folder. |-----algorithms <- Signal processing blocks. |-----core <- Control plane, interfaces, systems' parameters. |-----main <- Main function of the C++ program. - |-----tests <- QA code. - |-----utils <- some utilities (e.g. Matlab scripts). + |---tests <- QA code. + |---utils <- some utilities (e.g. Matlab scripts). ``` By default, you will be in the 'main' branch of the Git repository, which @@ -567,14 +565,14 @@ readings can be found at our Go to GNSS-SDR's build directory: ``` -$ cd gnss-sdr/build +$ cd gnss-sdr ``` Configure and build the application: ``` -$ cmake .. -$ make +$ cmake -S . -B build +$ cmake --build build ``` By default, CMake will build the Release version, meaning that the compiler will @@ -585,8 +583,8 @@ information about the internals of the receiver, as well as more fine-grained logging. This can be done by building the Debug version, by doing: ``` -$ cmake -DCMAKE_BUILD_TYPE=Debug .. -$ make +$ cmake -S . -B build-debug -DCMAKE_BUILD_TYPE=Debug +$ cmake --build build-debug ``` This will create four executables at gnss-sdr/install, namely `gnss-sdr`, @@ -595,7 +593,7 @@ that folder, but if you prefer to install `gnss-sdr` on your system and have it available anywhere else, do: ``` -$ sudo make install +$ sudo cmake --install build ``` This will also make a copy of the conf/ folder into @@ -607,21 +605,21 @@ You could be interested in creating the documentation (requires: `sudo apt-get install doxygen-latex` in Ubuntu/Debian) by doing: ``` -$ make doc +$ cmake --build build --target doc ``` -from the gnss-sdr/build folder. This will generate HTML documentation that can -be retrieved pointing your browser of preference to build/docs/html/index.html. -If a LaTeX installation is detected in your system, +This will generate HTML documentation that can be retrieved pointing your +browser of preference to `build/docs/html/index.html`. If a LaTeX installation +is detected in your system, ``` -$ make pdfmanual +$ cmake --build build --target pdfmanual ``` will create a PDF manual at build/docs/GNSS-SDR_manual.pdf. Finally, ``` -$ make doc-clean +$ cmake --build build --target doc-clean ``` will remove the content of previously generated documentation. @@ -639,30 +637,6 @@ the function to execute. It mimics GNU Radio's [VOLK](https://www.libvolk.org/) library, so if you still have not run `volk_profile`, this is a good moment to do so. -If you are using [Eclipse](https://www.eclipse.org/ide/) as your development -environment, CMake can create the project for you. However, if the build -directory is a subdirectory of the source directory (as is the case of the -`gnss-sdr/build` folder), this is not supported well by Eclipse. It is strongly -recommended to use a build directory which is a sibling of the source directory. -Hence, type from the `gnss-sdr` root folder: - -``` -$ cd .. -$ mkdir eclipse && cd eclipse -$ cmake -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE -DCMAKE_ECLIPSE_VERSION=4.5 ../gnss-sdr -``` - -and then import the created project into Eclipse: - -1. Import project using Menu File -> Import. -2. Select General -> Existing projects into workspace. -3. Select your root directory: Browse and select your newly created `eclipse/` - directory. Keep "Copy projects into workspace" unchecked. -4. Click on "Finish" and you will get a fully functional Eclipse project. - -After building the project, you will find the generated binaries at -`eclipse/install`. - #### Build OSMOSDR support (OPTIONAL) Install the [OsmoSDR](https://osmocom.org/projects/sdr "OsmoSDR's Homepage") @@ -691,9 +665,9 @@ $ sudo ldconfig Then, configure GNSS-SDR to build the `Osmosdr_Signal_Source` by: ``` -$ cmake -DENABLE_OSMOSDR=ON .. -$ make -$ sudo make install +$ cmake -S . -B build -DENABLE_OSMOSDR=ON +$ cmake --build build +$ sudo cmake --install build ``` (in order to disable the `Osmosdr_Signal_Source` compilation, you can pass @@ -734,18 +708,18 @@ $ cd ../.. Then configure GNSS-SDR to build the `Fmcomms2_Signal_Source` implementation: ``` -$ cd gnss-sdr/build -$ cmake -DENABLE_FMCOMMS2=ON .. -$ make -$ sudo make install +$ cd gnss-sdr +$ cmake -S . -B build -DENABLE_FMCOMMS2=ON +$ cmake --build build +$ sudo cmake --install build ``` or configure it to build `Plutosdr_Signal_Source`: ``` -$ cmake -DENABLE_PLUTOSDR=ON .. -$ make -$ sudo make install +$ cmake -S . -B build -DENABLE_PLUTOSDR=ON +$ cmake --build build +$ sudo cmake --install build ``` With `Fmcomms2_Signal_Source` you can use any SDR hardware based on @@ -760,9 +734,9 @@ devices. In order to enable the building of blocks that use OpenCL, type: ``` -$ cmake -DENABLE_OPENCL=ON .. -$ make -$ sudo make install +$ cmake -S . -B build -DENABLE_OPENCL=ON +$ cmake --build build +$ sudo cmake --install build ``` #### Build CUDA support (OPTIONAL) @@ -774,9 +748,9 @@ data-parallel computations, first you need to install the CUDA Toolkit from Make sure that the SDK samples build well. Then, build GNSS-SDR by doing: ``` -$ cmake -DENABLE_CUDA=ON .. -$ make -$ sudo make install +$ cmake -S . -B build -DENABLE_CUDA=ON +$ cmake --build build +$ sudo cmake --install build ``` Of course, you will also need a GPU that @@ -879,13 +853,13 @@ non-standard location. If that is the case, you need to inform GNSS-SDR's configuration system by defining the `PYTHON_EXECUTABLE` variable as: ``` -$ cmake -DPYTHON_EXECUTABLE=/path/to/bin/python3 .. +$ cmake -S . -B build -DPYTHON_EXECUTABLE=/path/to/bin/python3 ``` In case you have installed Macports in a non-standard location, you can use: ``` -$ cmake -DCMAKE_PREFIX_PATH=/opt/local -DUSE_MACPORTS_PYTHON=/opt/local/bin/python .. +$ cmake -S . -B build -DCMAKE_PREFIX_PATH=/opt/local -DUSE_MACPORTS_PYTHON=/opt/local/bin/python ``` changing `/opt/local` by the base directory in which your software is installed. @@ -901,17 +875,23 @@ software: ``` $ git clone https://github.com/gnss-sdr/gnss-sdr -$ cd gnss-sdr/build -$ cmake .. -$ make +$ cd gnss-sdr +$ cmake -S . -B build +$ cmake --build build ``` -This will create three executables at gnss-sdr/install, namely `gnss-sdr`, +This will create three executables at `gnss-sdr/install`, namely `gnss-sdr`, `run_tests` and `volk_gnsssdr_profile`. You can install the software receiver on your system by doing: ``` -$ sudo make install +$ sudo cmake --install build +``` + +and uninstall it with: + +``` +$ sudo cmake --build build --target uninstall ``` Note, it is advisable not to run the install step in a homebrew environment. @@ -919,7 +899,7 @@ Note, it is advisable not to run the install step in a homebrew environment. The documentation can be built by: ``` -$ make doc +$ cmake --build build --target doc ``` and can be viewed doing: @@ -994,7 +974,7 @@ $ git pull upstream next ``` Before rebuilding the source code, it is safe (and recommended) to remove the -remainders of old compilations: +remainders of old compilations, _e.g._: ``` $ rm -rf gnss-sdr/build/* diff --git a/build/.gitignore b/build/.gitignore deleted file mode 100644 index 08e486f4d..000000000 --- a/build/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -# SPDX-License-Identifier: GPL-3.0-or-later -# SPDX-FileCopyrightText: 2011-2020 Carles Fernandez-Prades -# Ignore everything in this directory -* -# Except this file -!.gitignore diff --git a/data/.gitignore b/data/.gitignore deleted file mode 100644 index 08e486f4d..000000000 --- a/data/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -# SPDX-License-Identifier: GPL-3.0-or-later -# SPDX-FileCopyrightText: 2011-2020 Carles Fernandez-Prades -# Ignore everything in this directory -* -# Except this file -!.gitignore diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 290c0e976..c0932fd6f 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -111,6 +111,16 @@ All notable changes to GNSS-SDR will be documented in this file. - Tidy up the `conf/` folder. - Add `install` and `uninstall` targets to the `nav_msg_listener` utility. +- **Potential Breaking Change**: The source tree has been refactored to follow a + more conventional folder structure. This may disrupt user pipelines that + relied on the previous structure and could break development branches that + were branched off from `next` before this change. The key changes are: + + - The `tests` and `utils` directories have been moved from the `src` folder to + the root of the source tree. + - The empty `build` and `data` folders have been removed. Users can create a + building folder using `mkdir build` or by having CMake handle it: + `cmake -S . -B build`. See the definitions of concepts and metrics at https://gnss-sdr.org/design-forces/ diff --git a/docs/doxygen/other/main_page.dox b/docs/doxygen/other/main_page.dox index 5545c2bae..ab2f2606b 100644 --- a/docs/doxygen/other/main_page.dox +++ b/docs/doxygen/other/main_page.dox @@ -101,10 +101,8 @@ $ git clone https://github.com/gnss-sdr/gnss-sdr This will create a folder named gnss-sdr with the following structure: \verbatim |-gnss-sdr - |---build <- where gnss-sdr is built |---cmake <- CMake-related files |---conf <- Configuration files. Each file represents one receiver. - |---data <- Populate this folder with your captured data. |---docs <- Contains documentation-related files |---install <- Executables |---src <- Source code folder @@ -127,13 +125,13 @@ This will create a folder named gnss-sdr with the following structure: |-------receiver |-------system_parameters |-----main - |-----tests - |-----utils <- some utilities (e.g. Matlab scripts) + |---tests + |---utils <- some utilities (e.g. Matlab scripts) \endverbatim You are now ready to build GNSS-SDR by using CMake as building tool: \verbatim -$ cd gnss-sdr/build +$ cd gnss-sdr && mkdir build && cd build $ cmake .. $ make \endverbatim @@ -153,10 +151,10 @@ You can create the documentation by doing: $ make doc \endverbatim -from the gnss-sdr/build folder. In both cases, Doxygen will generate HTML documentation that can be +from the building folder. In both cases, Doxygen will generate HTML documentation that can be retrieved pointing your browser of preference to gnss-sdr/docs/html/index.html. -There are two more extra targets available. From the gnss-sdr/build folder: +There are two more extra targets available. In the buiding folder: \verbatim $ make doc-clean \endverbatim @@ -177,10 +175,9 @@ By default, CMake will build the Release version, meaning that the compiler will a RF front-end and you need to attain real time. If working with a file (and thus without real-time constraints), you may want to obtain more information about the internals of the receiver, as well as more fine-grained logging. This can be done by building the Debug version, by doing: \verbatim -$ cd gnss-sdr/build +$ cd gnss-sdr && mkdir build-debug && cd build-debug $ cmake -DCMAKE_BUILD_TYPE=Debug .. $ make -$ sudo make install \endverbatim \subsection updating_gnss-sdr Updating GNSS-SDR @@ -191,8 +188,8 @@ $ git pull https://github.com/gnss-sdr/gnss-sdr next \endverbatim Before rebuiling the source code, it is safe (and recommended) to remove the remainders of old builds: \verbatim -$ cd gnss-sdr/build -$ sudo make uninstall +$ cd +$ sudo make uninstall ; if you installed it before $ rm -rf * \endverbatim diff --git a/docs/xml-schemas/README.md b/docs/xml-schemas/README.md index eae9b1a70..1966290f6 100644 --- a/docs/xml-schemas/README.md +++ b/docs/xml-schemas/README.md @@ -51,6 +51,6 @@ Please check https://gnss-sdr.org/docs/sp-blocks/global-parameters/ for more information about the usage of XML files in GNSS-SDR. You could find useful the utility program -[rinex2assist](https://github.com/gnss-sdr/gnss-sdr/tree/next/src/utils/rinex2assist) +[rinex2assist](https://github.com/gnss-sdr/gnss-sdr/tree/next/utils/rinex2assist) for the generation of compatible XML files from recent, publicly available RINEX navigation data files. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ab56014db..7b3c36c7b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -8,7 +8,3 @@ add_subdirectory(algorithms) add_subdirectory(core) add_subdirectory(main) -if(ENABLE_UNIT_TESTING OR ENABLE_SYSTEM_TESTING) - add_subdirectory(tests) -endif() -add_subdirectory(utils) diff --git a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/.gitignore b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/.gitignore index a3bcb1ddf..e0043b895 100644 --- a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/.gitignore +++ b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/.gitignore @@ -3,16 +3,16 @@ *~ *.pyc *.pyo -html/ -build/ -cmake_build/ -cmake-build-*/ -out/ +*.swp +/*build*/ +/archives/ +/.DS_Store +/gen/volk_gnsssdr_arch_defs.py +/html/ +/out/ .project .cproject .vagrant/ .vscode/ .vs/ -*.swp -/.DS_Store -/gen/volk_gnsssdr_arch_defs.py + diff --git a/src/tests/CMakeLists.txt b/tests/CMakeLists.txt similarity index 98% rename from src/tests/CMakeLists.txt rename to tests/CMakeLists.txt index 770dff763..78171ae9d 100644 --- a/src/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -366,14 +366,14 @@ if(ENABLE_UNIT_TESTING_EXTRA OR ENABLE_SYSTEM_TESTING_EXTRA OR ENABLE_FPGA) if(CMAKE_VERSION VERSION_GREATER 3.17.0) set(GNSSTK_PATCH_COMMAND cd ${GNSSSDR_BINARY_DIR}/thirdparty/gnsstk-${GNSSSDR_GNSSTK_LOCAL_VERSION} && - ${Patch_EXECUTABLE} ${GNSSSDR_BINARY_DIR}/thirdparty/gnsstk-${GNSSSDR_GNSSTK_LOCAL_VERSION}/CMakeLists.txt < ${GNSSSDR_SOURCE_DIR}/src/tests/data/gnsstk_static14.patch && - ${Patch_EXECUTABLE} ${GNSSSDR_BINARY_DIR}/thirdparty/gnsstk-${GNSSSDR_GNSSTK_LOCAL_VERSION}/core/lib/GNSSCore/ObsID.hpp < ${GNSSSDR_SOURCE_DIR}/src/tests/data/gnsstk_gcc13.patch + ${Patch_EXECUTABLE} ${GNSSSDR_BINARY_DIR}/thirdparty/gnsstk-${GNSSSDR_GNSSTK_LOCAL_VERSION}/CMakeLists.txt < ${GNSSSDR_SOURCE_DIR}/tests/data/gnsstk_static14.patch && + ${Patch_EXECUTABLE} ${GNSSSDR_BINARY_DIR}/thirdparty/gnsstk-${GNSSSDR_GNSSTK_LOCAL_VERSION}/core/lib/GNSSCore/ObsID.hpp < ${GNSSSDR_SOURCE_DIR}/tests/data/gnsstk_gcc13.patch ) else() set(GNSSTK_PATCH_COMMAND cd ${GNSSSDR_BINARY_DIR}/thirdparty/gnsstk-${GNSSSDR_GNSSTK_LOCAL_VERSION} && - ${Patch_EXECUTABLE} ${GNSSSDR_BINARY_DIR}/thirdparty/gnsstk-${GNSSSDR_GNSSTK_LOCAL_VERSION}/CMakeLists.txt < ${GNSSSDR_SOURCE_DIR}/src/tests/data/gnsstk_static13.patch && - ${Patch_EXECUTABLE} ${GNSSSDR_BINARY_DIR}/thirdparty/gnsstk-${GNSSSDR_GNSSTK_LOCAL_VERSION}/core/lib/GNSSCore/ObsID.hpp < ${GNSSSDR_SOURCE_DIR}/src/tests/data/gnsstk_gcc13.patch + ${Patch_EXECUTABLE} ${GNSSSDR_BINARY_DIR}/thirdparty/gnsstk-${GNSSSDR_GNSSTK_LOCAL_VERSION}/CMakeLists.txt < ${GNSSSDR_SOURCE_DIR}/tests/data/gnsstk_static13.patch && + ${Patch_EXECUTABLE} ${GNSSSDR_BINARY_DIR}/thirdparty/gnsstk-${GNSSSDR_GNSSTK_LOCAL_VERSION}/core/lib/GNSSCore/ObsID.hpp < ${GNSSSDR_SOURCE_DIR}/tests/data/gnsstk_gcc13.patch ) endif() # Patch only once @@ -623,12 +623,12 @@ if(NOT ENABLE_PACKAGING) install(FILES ${GNSSSDR_BINARY_DIR}/thirdparty/signal_samples/Galileo_E1_ID_1_Fs_4Msps_8ms.dat DESTINATION share/gnss-sdr/signal_samples) install(FILES ${GNSSSDR_BINARY_DIR}/thirdparty/signal_samples/GPS_L1_CA_ID_1_Fs_4Msps_2ms.dat DESTINATION share/gnss-sdr/signal_samples) install(FILES ${GNSSSDR_BINARY_DIR}/thirdparty/signal_samples/NT1065_GLONASS_L1_20160831_fs6625e6_if0e3_4ms.bin DESTINATION share/gnss-sdr/signal_samples) - install(FILES ${GNSSSDR_SOURCE_DIR}/src/tests/data/rtklib_test/obs_test1.xml DESTINATION share/gnss-sdr/data/rtklib_test) - install(FILES ${GNSSSDR_SOURCE_DIR}/src/tests/data/rtklib_test/eph_GPS_L1CA_test1.xml DESTINATION share/gnss-sdr/data/rtklib_test) + install(FILES ${GNSSSDR_SOURCE_DIR}/tests/data/rtklib_test/obs_test1.xml DESTINATION share/gnss-sdr/data/rtklib_test) + install(FILES ${GNSSSDR_SOURCE_DIR}/tests/data/rtklib_test/eph_GPS_L1CA_test1.xml DESTINATION share/gnss-sdr/data/rtklib_test) add_definitions(-DTEST_PATH="${CMAKE_INSTALL_PREFIX}/share/gnss-sdr/") else() - file(COPY ${GNSSSDR_SOURCE_DIR}/src/tests/data/rtklib_test/obs_test1.xml DESTINATION ${GNSSSDR_BINARY_DIR}/thirdparty/data/rtklib_test) - file(COPY ${GNSSSDR_SOURCE_DIR}/src/tests/data/rtklib_test/eph_GPS_L1CA_test1.xml DESTINATION ${GNSSSDR_BINARY_DIR}/thirdparty/data/rtklib_test) + file(COPY ${GNSSSDR_SOURCE_DIR}/tests/data/rtklib_test/obs_test1.xml DESTINATION ${GNSSSDR_BINARY_DIR}/thirdparty/data/rtklib_test) + file(COPY ${GNSSSDR_SOURCE_DIR}/tests/data/rtklib_test/eph_GPS_L1CA_test1.xml DESTINATION ${GNSSSDR_BINARY_DIR}/thirdparty/data/rtklib_test) add_definitions(-DTEST_PATH="${GNSSSDR_BINARY_DIR}/thirdparty/") endif() endif() @@ -687,7 +687,7 @@ if(ENABLE_UNIT_TESTING) endif() target_include_directories(run_tests INTERFACE - ${GNSSSDR_SOURCE_DIR}/src/tests/common-files + ${GNSSSDR_SOURCE_DIR}/tests/common-files ) if(GNURADIO_USES_STD_POINTERS) target_compile_definitions(run_tests @@ -838,7 +838,7 @@ if(ENABLE_FPGA) target_link_libraries(gps_l1_ca_dll_pll_tracking_test_fpga INTERFACE "$") endif() target_include_directories(gps_l1_ca_dll_pll_tracking_test_fpga - INTERFACE ${GNSSSDR_SOURCE_DIR}/src/tests/common-files + INTERFACE ${GNSSSDR_SOURCE_DIR}/tests/common-files ) xcode_remove_warning_duplicates(gps_l1_ca_dll_pll_tracking_test_fpga) install(TARGETS gps_l1_ca_dll_pll_tracking_test_fpga @@ -873,7 +873,7 @@ function(add_system_test executable) endif() target_include_directories(${executable} PRIVATE ${OPT_INCLUDES_} - INTERFACE ${GNSSSDR_SOURCE_DIR}/src/tests/common-files + INTERFACE ${GNSSSDR_SOURCE_DIR}/tests/common-files ) target_link_libraries(${executable} PRIVATE ${OPT_LIBS_} algorithms_libs) if(NOT ENABLE_GLOG_AND_GFLAGS) @@ -1098,7 +1098,7 @@ if(NOT ENABLE_PACKAGING AND NOT ENABLE_FPGA) target_include_directories(gnss_block_test PRIVATE ${GNSSSDR_SOURCE_DIR}/src/algorithms/libs - INTERFACE ${GNSSSDR_SOURCE_DIR}/src/tests/common-files + INTERFACE ${GNSSSDR_SOURCE_DIR}/tests/common-files ) if(ENABLE_FPGA) @@ -1188,7 +1188,7 @@ endif() target_include_directories(matio_test INTERFACE - ${GNSSSDR_SOURCE_DIR}/src/tests/common-files + ${GNSSSDR_SOURCE_DIR}/tests/common-files ) xcode_remove_warning_duplicates(matio_test) @@ -1238,7 +1238,7 @@ if(NOT ENABLE_PACKAGING AND NOT ENABLE_FPGA) endif() target_include_directories(acq_test INTERFACE - ${GNSSSDR_SOURCE_DIR}/src/tests/common-files + ${GNSSSDR_SOURCE_DIR}/tests/common-files ) if(PMT_USES_BOOST_ANY) target_compile_definitions(acq_test diff --git a/src/tests/benchmarks/CMakeLists.txt b/tests/benchmarks/CMakeLists.txt similarity index 100% rename from src/tests/benchmarks/CMakeLists.txt rename to tests/benchmarks/CMakeLists.txt diff --git a/src/tests/benchmarks/README.md b/tests/benchmarks/README.md similarity index 100% rename from src/tests/benchmarks/README.md rename to tests/benchmarks/README.md diff --git a/src/tests/benchmarks/benchmark_atan2.cc b/tests/benchmarks/benchmark_atan2.cc similarity index 100% rename from src/tests/benchmarks/benchmark_atan2.cc rename to tests/benchmarks/benchmark_atan2.cc diff --git a/src/tests/benchmarks/benchmark_copy.cc b/tests/benchmarks/benchmark_copy.cc similarity index 100% rename from src/tests/benchmarks/benchmark_copy.cc rename to tests/benchmarks/benchmark_copy.cc diff --git a/src/tests/benchmarks/benchmark_crypto.cc b/tests/benchmarks/benchmark_crypto.cc similarity index 100% rename from src/tests/benchmarks/benchmark_crypto.cc rename to tests/benchmarks/benchmark_crypto.cc diff --git a/src/tests/benchmarks/benchmark_detector.cc b/tests/benchmarks/benchmark_detector.cc similarity index 100% rename from src/tests/benchmarks/benchmark_detector.cc rename to tests/benchmarks/benchmark_detector.cc diff --git a/src/tests/benchmarks/benchmark_osnma.cc b/tests/benchmarks/benchmark_osnma.cc similarity index 100% rename from src/tests/benchmarks/benchmark_osnma.cc rename to tests/benchmarks/benchmark_osnma.cc diff --git a/src/tests/benchmarks/benchmark_preamble.cc b/tests/benchmarks/benchmark_preamble.cc similarity index 100% rename from src/tests/benchmarks/benchmark_preamble.cc rename to tests/benchmarks/benchmark_preamble.cc diff --git a/src/tests/benchmarks/benchmark_reed_solomon.cc b/tests/benchmarks/benchmark_reed_solomon.cc similarity index 100% rename from src/tests/benchmarks/benchmark_reed_solomon.cc rename to tests/benchmarks/benchmark_reed_solomon.cc diff --git a/src/tests/common-files/gnuplot_i.h b/tests/common-files/gnuplot_i.h similarity index 100% rename from src/tests/common-files/gnuplot_i.h rename to tests/common-files/gnuplot_i.h diff --git a/src/tests/common-files/observable_tests_flags.h b/tests/common-files/observable_tests_flags.h similarity index 100% rename from src/tests/common-files/observable_tests_flags.h rename to tests/common-files/observable_tests_flags.h diff --git a/src/tests/common-files/signal_generator_flags.h b/tests/common-files/signal_generator_flags.h similarity index 100% rename from src/tests/common-files/signal_generator_flags.h rename to tests/common-files/signal_generator_flags.h diff --git a/src/tests/common-files/test_flags.h b/tests/common-files/test_flags.h similarity index 100% rename from src/tests/common-files/test_flags.h rename to tests/common-files/test_flags.h diff --git a/src/tests/common-files/tracking_tests_flags.h b/tests/common-files/tracking_tests_flags.h similarity index 100% rename from src/tests/common-files/tracking_tests_flags.h rename to tests/common-files/tracking_tests_flags.h diff --git a/src/tests/data/config_file_sample.txt b/tests/data/config_file_sample.txt similarity index 100% rename from src/tests/data/config_file_sample.txt rename to tests/data/config_file_sample.txt diff --git a/src/tests/data/gnsstk_gcc13.patch b/tests/data/gnsstk_gcc13.patch similarity index 100% rename from src/tests/data/gnsstk_gcc13.patch rename to tests/data/gnsstk_gcc13.patch diff --git a/src/tests/data/gnsstk_static13.patch b/tests/data/gnsstk_static13.patch similarity index 100% rename from src/tests/data/gnsstk_static13.patch rename to tests/data/gnsstk_static13.patch diff --git a/src/tests/data/gnsstk_static14.patch b/tests/data/gnsstk_static14.patch similarity index 100% rename from src/tests/data/gnsstk_static14.patch rename to tests/data/gnsstk_static14.patch diff --git a/src/tests/data/rtklib_test/eph_GPS_L1CA_test1.xml b/tests/data/rtklib_test/eph_GPS_L1CA_test1.xml similarity index 100% rename from src/tests/data/rtklib_test/eph_GPS_L1CA_test1.xml rename to tests/data/rtklib_test/eph_GPS_L1CA_test1.xml diff --git a/src/tests/data/rtklib_test/obs_test1.xml b/tests/data/rtklib_test/obs_test1.xml similarity index 100% rename from src/tests/data/rtklib_test/obs_test1.xml rename to tests/data/rtklib_test/obs_test1.xml diff --git a/src/tests/single_test_main.cc b/tests/single_test_main.cc similarity index 100% rename from src/tests/single_test_main.cc rename to tests/single_test_main.cc diff --git a/src/tests/system-tests/libs/CMakeLists.txt b/tests/system-tests/libs/CMakeLists.txt similarity index 100% rename from src/tests/system-tests/libs/CMakeLists.txt rename to tests/system-tests/libs/CMakeLists.txt diff --git a/src/tests/system-tests/libs/position_test_flags.h b/tests/system-tests/libs/position_test_flags.h similarity index 100% rename from src/tests/system-tests/libs/position_test_flags.h rename to tests/system-tests/libs/position_test_flags.h diff --git a/src/tests/system-tests/libs/rtklib_solver_dump_reader.cc b/tests/system-tests/libs/rtklib_solver_dump_reader.cc similarity index 100% rename from src/tests/system-tests/libs/rtklib_solver_dump_reader.cc rename to tests/system-tests/libs/rtklib_solver_dump_reader.cc diff --git a/src/tests/system-tests/libs/rtklib_solver_dump_reader.h b/tests/system-tests/libs/rtklib_solver_dump_reader.h similarity index 100% rename from src/tests/system-tests/libs/rtklib_solver_dump_reader.h rename to tests/system-tests/libs/rtklib_solver_dump_reader.h diff --git a/src/tests/system-tests/libs/spirent_motion_csv_dump_reader.cc b/tests/system-tests/libs/spirent_motion_csv_dump_reader.cc similarity index 100% rename from src/tests/system-tests/libs/spirent_motion_csv_dump_reader.cc rename to tests/system-tests/libs/spirent_motion_csv_dump_reader.cc diff --git a/src/tests/system-tests/libs/spirent_motion_csv_dump_reader.h b/tests/system-tests/libs/spirent_motion_csv_dump_reader.h similarity index 100% rename from src/tests/system-tests/libs/spirent_motion_csv_dump_reader.h rename to tests/system-tests/libs/spirent_motion_csv_dump_reader.h diff --git a/src/tests/system-tests/position_test.cc b/tests/system-tests/position_test.cc similarity index 100% rename from src/tests/system-tests/position_test.cc rename to tests/system-tests/position_test.cc diff --git a/src/tests/system-tests/ttff.cc b/tests/system-tests/ttff.cc similarity index 100% rename from src/tests/system-tests/ttff.cc rename to tests/system-tests/ttff.cc diff --git a/src/tests/test_main.cc b/tests/test_main.cc similarity index 100% rename from src/tests/test_main.cc rename to tests/test_main.cc diff --git a/src/tests/unit-tests/arithmetic/code_generation_test.cc b/tests/unit-tests/arithmetic/code_generation_test.cc similarity index 100% rename from src/tests/unit-tests/arithmetic/code_generation_test.cc rename to tests/unit-tests/arithmetic/code_generation_test.cc diff --git a/src/tests/unit-tests/arithmetic/complex_carrier_test.cc b/tests/unit-tests/arithmetic/complex_carrier_test.cc similarity index 100% rename from src/tests/unit-tests/arithmetic/complex_carrier_test.cc rename to tests/unit-tests/arithmetic/complex_carrier_test.cc diff --git a/src/tests/unit-tests/arithmetic/conjugate_test.cc b/tests/unit-tests/arithmetic/conjugate_test.cc similarity index 100% rename from src/tests/unit-tests/arithmetic/conjugate_test.cc rename to tests/unit-tests/arithmetic/conjugate_test.cc diff --git a/src/tests/unit-tests/arithmetic/fft_length_test.cc b/tests/unit-tests/arithmetic/fft_length_test.cc similarity index 100% rename from src/tests/unit-tests/arithmetic/fft_length_test.cc rename to tests/unit-tests/arithmetic/fft_length_test.cc diff --git a/src/tests/unit-tests/arithmetic/fft_speed_test.cc b/tests/unit-tests/arithmetic/fft_speed_test.cc similarity index 100% rename from src/tests/unit-tests/arithmetic/fft_speed_test.cc rename to tests/unit-tests/arithmetic/fft_speed_test.cc diff --git a/src/tests/unit-tests/arithmetic/magnitude_squared_test.cc b/tests/unit-tests/arithmetic/magnitude_squared_test.cc similarity index 100% rename from src/tests/unit-tests/arithmetic/magnitude_squared_test.cc rename to tests/unit-tests/arithmetic/magnitude_squared_test.cc diff --git a/src/tests/unit-tests/arithmetic/matio_test.cc b/tests/unit-tests/arithmetic/matio_test.cc similarity index 100% rename from src/tests/unit-tests/arithmetic/matio_test.cc rename to tests/unit-tests/arithmetic/matio_test.cc diff --git a/src/tests/unit-tests/arithmetic/multiply_test.cc b/tests/unit-tests/arithmetic/multiply_test.cc similarity index 100% rename from src/tests/unit-tests/arithmetic/multiply_test.cc rename to tests/unit-tests/arithmetic/multiply_test.cc diff --git a/src/tests/unit-tests/arithmetic/preamble_correlator_test.cc b/tests/unit-tests/arithmetic/preamble_correlator_test.cc similarity index 100% rename from src/tests/unit-tests/arithmetic/preamble_correlator_test.cc rename to tests/unit-tests/arithmetic/preamble_correlator_test.cc diff --git a/src/tests/unit-tests/control-plane/control_thread_test.cc b/tests/unit-tests/control-plane/control_thread_test.cc similarity index 100% rename from src/tests/unit-tests/control-plane/control_thread_test.cc rename to tests/unit-tests/control-plane/control_thread_test.cc diff --git a/src/tests/unit-tests/control-plane/file_configuration_test.cc b/tests/unit-tests/control-plane/file_configuration_test.cc similarity index 100% rename from src/tests/unit-tests/control-plane/file_configuration_test.cc rename to tests/unit-tests/control-plane/file_configuration_test.cc diff --git a/src/tests/unit-tests/control-plane/gnss_block_factory_test.cc b/tests/unit-tests/control-plane/gnss_block_factory_test.cc similarity index 100% rename from src/tests/unit-tests/control-plane/gnss_block_factory_test.cc rename to tests/unit-tests/control-plane/gnss_block_factory_test.cc diff --git a/src/tests/unit-tests/control-plane/gnss_flowgraph_test.cc b/tests/unit-tests/control-plane/gnss_flowgraph_test.cc similarity index 100% rename from src/tests/unit-tests/control-plane/gnss_flowgraph_test.cc rename to tests/unit-tests/control-plane/gnss_flowgraph_test.cc diff --git a/src/tests/unit-tests/control-plane/in_memory_configuration_test.cc b/tests/unit-tests/control-plane/in_memory_configuration_test.cc similarity index 100% rename from src/tests/unit-tests/control-plane/in_memory_configuration_test.cc rename to tests/unit-tests/control-plane/in_memory_configuration_test.cc diff --git a/src/tests/unit-tests/control-plane/protobuf_test.cc b/tests/unit-tests/control-plane/protobuf_test.cc similarity index 100% rename from src/tests/unit-tests/control-plane/protobuf_test.cc rename to tests/unit-tests/control-plane/protobuf_test.cc diff --git a/src/tests/unit-tests/control-plane/string_converter_test.cc b/tests/unit-tests/control-plane/string_converter_test.cc similarity index 100% rename from src/tests/unit-tests/control-plane/string_converter_test.cc rename to tests/unit-tests/control-plane/string_converter_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/acq_performance_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/acq_performance_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/acq_performance_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/acq_performance_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/beidou_b1i_pcps_acquisition_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/beidou_b1i_pcps_acquisition_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/beidou_b1i_pcps_acquisition_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/beidou_b1i_pcps_acquisition_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/beidou_b3i_pcps_acquisition_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/beidou_b3i_pcps_acquisition_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/beidou_b3i_pcps_acquisition_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/beidou_b3i_pcps_acquisition_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_8ms_ambiguous_acquisition_gsoc2013_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_8ms_ambiguous_acquisition_gsoc2013_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_8ms_ambiguous_acquisition_gsoc2013_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_8ms_ambiguous_acquisition_gsoc2013_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_gsoc2013_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_gsoc2013_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_gsoc2013_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_gsoc2013_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_gsoc_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_gsoc_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_gsoc_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_gsoc_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_test_fpga.cc b/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_test_fpga.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_test_fpga.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_ambiguous_acquisition_test_fpga.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_cccwsr_ambiguous_acquisition_gsoc2013_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_cccwsr_ambiguous_acquisition_gsoc2013_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_cccwsr_ambiguous_acquisition_gsoc2013_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_cccwsr_ambiguous_acquisition_gsoc2013_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_quicksync_ambiguous_acquisition_gsoc2014_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_quicksync_ambiguous_acquisition_gsoc2014_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_quicksync_ambiguous_acquisition_gsoc2014_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_quicksync_ambiguous_acquisition_gsoc2014_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_tong_ambiguous_acquisition_gsoc2013_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_tong_ambiguous_acquisition_gsoc2013_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_tong_ambiguous_acquisition_gsoc2013_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/galileo_e1_pcps_tong_ambiguous_acquisition_gsoc2013_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e5a_pcps_acquisition_gsoc2014_gensource_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e5a_pcps_acquisition_gsoc2014_gensource_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e5a_pcps_acquisition_gsoc2014_gensource_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/galileo_e5a_pcps_acquisition_gsoc2014_gensource_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e5b_pcps_acquisition_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e5b_pcps_acquisition_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e5b_pcps_acquisition_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/galileo_e5b_pcps_acquisition_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e6_pcps_acquisition_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e6_pcps_acquisition_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/galileo_e6_pcps_acquisition_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/galileo_e6_pcps_acquisition_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/glonass_l1_ca_pcps_acquisition_gsoc2017_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/glonass_l1_ca_pcps_acquisition_gsoc2017_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/glonass_l1_ca_pcps_acquisition_gsoc2017_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/glonass_l1_ca_pcps_acquisition_gsoc2017_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/glonass_l1_ca_pcps_acquisition_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/glonass_l1_ca_pcps_acquisition_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/glonass_l1_ca_pcps_acquisition_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/glonass_l1_ca_pcps_acquisition_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/glonass_l2_ca_pcps_acquisition_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/glonass_l2_ca_pcps_acquisition_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/glonass_l2_ca_pcps_acquisition_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/glonass_l2_ca_pcps_acquisition_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_gsoc2013_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_gsoc2013_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_gsoc2013_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_gsoc2013_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_test_fpga.cc b/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_test_fpga.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_test_fpga.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_acquisition_test_fpga.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_opencl_acquisition_gsoc2013_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_opencl_acquisition_gsoc2013_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_opencl_acquisition_gsoc2013_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_opencl_acquisition_gsoc2013_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_quicksync_acquisition_gsoc2014_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_quicksync_acquisition_gsoc2014_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_quicksync_acquisition_gsoc2014_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_quicksync_acquisition_gsoc2014_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_tong_acquisition_gsoc2013_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_tong_acquisition_gsoc2013_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_tong_acquisition_gsoc2013_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/gps_l1_ca_pcps_tong_acquisition_gsoc2013_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/acquisition/gps_l2_m_pcps_acquisition_test.cc b/tests/unit-tests/signal-processing-blocks/acquisition/gps_l2_m_pcps_acquisition_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/acquisition/gps_l2_m_pcps_acquisition_test.cc rename to tests/unit-tests/signal-processing-blocks/acquisition/gps_l2_m_pcps_acquisition_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/adapter/adapter_test.cc b/tests/unit-tests/signal-processing-blocks/adapter/adapter_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/adapter/adapter_test.cc rename to tests/unit-tests/signal-processing-blocks/adapter/adapter_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/adapter/pass_through_test.cc b/tests/unit-tests/signal-processing-blocks/adapter/pass_through_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/adapter/pass_through_test.cc rename to tests/unit-tests/signal-processing-blocks/adapter/pass_through_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/filter/fir_filter_test.cc b/tests/unit-tests/signal-processing-blocks/filter/fir_filter_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/filter/fir_filter_test.cc rename to tests/unit-tests/signal-processing-blocks/filter/fir_filter_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/filter/notch_filter_lite_test.cc b/tests/unit-tests/signal-processing-blocks/filter/notch_filter_lite_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/filter/notch_filter_lite_test.cc rename to tests/unit-tests/signal-processing-blocks/filter/notch_filter_lite_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/filter/notch_filter_test.cc b/tests/unit-tests/signal-processing-blocks/filter/notch_filter_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/filter/notch_filter_test.cc rename to tests/unit-tests/signal-processing-blocks/filter/notch_filter_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/filter/pulse_blanking_filter_test.cc b/tests/unit-tests/signal-processing-blocks/filter/pulse_blanking_filter_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/filter/pulse_blanking_filter_test.cc rename to tests/unit-tests/signal-processing-blocks/filter/pulse_blanking_filter_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/CMakeLists.txt b/tests/unit-tests/signal-processing-blocks/libs/CMakeLists.txt similarity index 98% rename from src/tests/unit-tests/signal-processing-blocks/libs/CMakeLists.txt rename to tests/unit-tests/signal-processing-blocks/libs/CMakeLists.txt index 32a81ee01..54d27bcc3 100644 --- a/src/tests/unit-tests/signal-processing-blocks/libs/CMakeLists.txt +++ b/tests/unit-tests/signal-processing-blocks/libs/CMakeLists.txt @@ -55,7 +55,7 @@ target_include_directories(signal_processing_testing_lib PUBLIC ${GNSSSDR_SOURCE_DIR}/src/core/interfaces INTERFACE - ${GNSSSDR_SOURCE_DIR}/src/tests/common-files + ${GNSSSDR_SOURCE_DIR}/tests/common-files ) if(USE_GENERIC_LAMBDAS) diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.cc b/tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.cc rename to tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.h b/tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.h similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.h rename to tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.h diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/acquisition_msg_rx.cc b/tests/unit-tests/signal-processing-blocks/libs/acquisition_msg_rx.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/acquisition_msg_rx.cc rename to tests/unit-tests/signal-processing-blocks/libs/acquisition_msg_rx.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/acquisition_msg_rx.h b/tests/unit-tests/signal-processing-blocks/libs/acquisition_msg_rx.h similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/acquisition_msg_rx.h rename to tests/unit-tests/signal-processing-blocks/libs/acquisition_msg_rx.h diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/item_type_helpers_test.cc b/tests/unit-tests/signal-processing-blocks/libs/item_type_helpers_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/item_type_helpers_test.cc rename to tests/unit-tests/signal-processing-blocks/libs/item_type_helpers_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/observables_dump_reader.cc b/tests/unit-tests/signal-processing-blocks/libs/observables_dump_reader.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/observables_dump_reader.cc rename to tests/unit-tests/signal-processing-blocks/libs/observables_dump_reader.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/observables_dump_reader.h b/tests/unit-tests/signal-processing-blocks/libs/observables_dump_reader.h similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/observables_dump_reader.h rename to tests/unit-tests/signal-processing-blocks/libs/observables_dump_reader.h diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/tlm_dump_reader.cc b/tests/unit-tests/signal-processing-blocks/libs/tlm_dump_reader.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/tlm_dump_reader.cc rename to tests/unit-tests/signal-processing-blocks/libs/tlm_dump_reader.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/tlm_dump_reader.h b/tests/unit-tests/signal-processing-blocks/libs/tlm_dump_reader.h similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/tlm_dump_reader.h rename to tests/unit-tests/signal-processing-blocks/libs/tlm_dump_reader.h diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/tracking_dump_reader.cc b/tests/unit-tests/signal-processing-blocks/libs/tracking_dump_reader.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/tracking_dump_reader.cc rename to tests/unit-tests/signal-processing-blocks/libs/tracking_dump_reader.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/tracking_dump_reader.h b/tests/unit-tests/signal-processing-blocks/libs/tracking_dump_reader.h similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/tracking_dump_reader.h rename to tests/unit-tests/signal-processing-blocks/libs/tracking_dump_reader.h diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/tracking_true_obs_reader.cc b/tests/unit-tests/signal-processing-blocks/libs/tracking_true_obs_reader.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/tracking_true_obs_reader.cc rename to tests/unit-tests/signal-processing-blocks/libs/tracking_true_obs_reader.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/tracking_true_obs_reader.h b/tests/unit-tests/signal-processing-blocks/libs/tracking_true_obs_reader.h similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/tracking_true_obs_reader.h rename to tests/unit-tests/signal-processing-blocks/libs/tracking_true_obs_reader.h diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/true_observables_reader.cc b/tests/unit-tests/signal-processing-blocks/libs/true_observables_reader.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/true_observables_reader.cc rename to tests/unit-tests/signal-processing-blocks/libs/true_observables_reader.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/true_observables_reader.h b/tests/unit-tests/signal-processing-blocks/libs/true_observables_reader.h similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/libs/true_observables_reader.h rename to tests/unit-tests/signal-processing-blocks/libs/true_observables_reader.h diff --git a/src/tests/unit-tests/signal-processing-blocks/observables/hybrid_observables_test.cc b/tests/unit-tests/signal-processing-blocks/observables/hybrid_observables_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/observables/hybrid_observables_test.cc rename to tests/unit-tests/signal-processing-blocks/observables/hybrid_observables_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/observables/hybrid_observables_test_fpga.cc b/tests/unit-tests/signal-processing-blocks/observables/hybrid_observables_test_fpga.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/observables/hybrid_observables_test_fpga.cc rename to tests/unit-tests/signal-processing-blocks/observables/hybrid_observables_test_fpga.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/osnma/gnss_crypto_test.cc b/tests/unit-tests/signal-processing-blocks/osnma/gnss_crypto_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/osnma/gnss_crypto_test.cc rename to tests/unit-tests/signal-processing-blocks/osnma/gnss_crypto_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/osnma/osnma_msg_receiver_test.cc b/tests/unit-tests/signal-processing-blocks/osnma/osnma_msg_receiver_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/osnma/osnma_msg_receiver_test.cc rename to tests/unit-tests/signal-processing-blocks/osnma/osnma_msg_receiver_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/osnma/osnma_test_vectors.cc b/tests/unit-tests/signal-processing-blocks/osnma/osnma_test_vectors.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/osnma/osnma_test_vectors.cc rename to tests/unit-tests/signal-processing-blocks/osnma/osnma_test_vectors.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/pvt/geohash_test.cc b/tests/unit-tests/signal-processing-blocks/pvt/geohash_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/pvt/geohash_test.cc rename to tests/unit-tests/signal-processing-blocks/pvt/geohash_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/pvt/nmea_printer_test.cc b/tests/unit-tests/signal-processing-blocks/pvt/nmea_printer_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/pvt/nmea_printer_test.cc rename to tests/unit-tests/signal-processing-blocks/pvt/nmea_printer_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/pvt/rinex_printer_test.cc b/tests/unit-tests/signal-processing-blocks/pvt/rinex_printer_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/pvt/rinex_printer_test.cc rename to tests/unit-tests/signal-processing-blocks/pvt/rinex_printer_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/pvt/rtcm_printer_test.cc b/tests/unit-tests/signal-processing-blocks/pvt/rtcm_printer_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/pvt/rtcm_printer_test.cc rename to tests/unit-tests/signal-processing-blocks/pvt/rtcm_printer_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/pvt/rtcm_test.cc b/tests/unit-tests/signal-processing-blocks/pvt/rtcm_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/pvt/rtcm_test.cc rename to tests/unit-tests/signal-processing-blocks/pvt/rtcm_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/pvt/rtklib_solver_test.cc b/tests/unit-tests/signal-processing-blocks/pvt/rtklib_solver_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/pvt/rtklib_solver_test.cc rename to tests/unit-tests/signal-processing-blocks/pvt/rtklib_solver_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/pvt/serdes_monitor_pvt_test.cc b/tests/unit-tests/signal-processing-blocks/pvt/serdes_monitor_pvt_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/pvt/serdes_monitor_pvt_test.cc rename to tests/unit-tests/signal-processing-blocks/pvt/serdes_monitor_pvt_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/resampler/direct_resampler_conditioner_cc_test.cc b/tests/unit-tests/signal-processing-blocks/resampler/direct_resampler_conditioner_cc_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/resampler/direct_resampler_conditioner_cc_test.cc rename to tests/unit-tests/signal-processing-blocks/resampler/direct_resampler_conditioner_cc_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/resampler/mmse_resampler_test.cc b/tests/unit-tests/signal-processing-blocks/resampler/mmse_resampler_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/resampler/mmse_resampler_test.cc rename to tests/unit-tests/signal-processing-blocks/resampler/mmse_resampler_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/sources/file_signal_source_test.cc b/tests/unit-tests/signal-processing-blocks/sources/file_signal_source_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/sources/file_signal_source_test.cc rename to tests/unit-tests/signal-processing-blocks/sources/file_signal_source_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/sources/gnss_sdr_valve_test.cc b/tests/unit-tests/signal-processing-blocks/sources/gnss_sdr_valve_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/sources/gnss_sdr_valve_test.cc rename to tests/unit-tests/signal-processing-blocks/sources/gnss_sdr_valve_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/sources/unpack_2bit_samples_test.cc b/tests/unit-tests/signal-processing-blocks/sources/unpack_2bit_samples_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/sources/unpack_2bit_samples_test.cc rename to tests/unit-tests/signal-processing-blocks/sources/unpack_2bit_samples_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/telemetry_decoder/galileo_fnav_inav_decoder_test.cc b/tests/unit-tests/signal-processing-blocks/telemetry_decoder/galileo_fnav_inav_decoder_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/telemetry_decoder/galileo_fnav_inav_decoder_test.cc rename to tests/unit-tests/signal-processing-blocks/telemetry_decoder/galileo_fnav_inav_decoder_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/telemetry_decoder/gps_l1_ca_telemetry_decoder_test.cc b/tests/unit-tests/signal-processing-blocks/telemetry_decoder/gps_l1_ca_telemetry_decoder_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/telemetry_decoder/gps_l1_ca_telemetry_decoder_test.cc rename to tests/unit-tests/signal-processing-blocks/telemetry_decoder/gps_l1_ca_telemetry_decoder_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/bayesian_estimation_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/bayesian_estimation_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/bayesian_estimation_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/bayesian_estimation_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/cpu_multicorrelator_real_codes_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/cpu_multicorrelator_real_codes_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/cpu_multicorrelator_real_codes_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/cpu_multicorrelator_real_codes_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/cpu_multicorrelator_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/cpu_multicorrelator_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/cpu_multicorrelator_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/cpu_multicorrelator_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/cubature_filter_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/cubature_filter_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/cubature_filter_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/cubature_filter_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/discriminator_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/discriminator_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/discriminator_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/discriminator_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/galileo_e1_dll_pll_veml_tracking_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/galileo_e1_dll_pll_veml_tracking_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/galileo_e1_dll_pll_veml_tracking_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/galileo_e1_dll_pll_veml_tracking_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/galileo_e5a_tracking_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/galileo_e5a_tracking_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/galileo_e5a_tracking_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/galileo_e5a_tracking_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/galileo_e5b_dll_pll_tracking_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/galileo_e5b_dll_pll_tracking_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/galileo_e5b_dll_pll_tracking_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/galileo_e5b_dll_pll_tracking_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/glonass_l1_ca_dll_pll_c_aid_tracking_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/glonass_l1_ca_dll_pll_c_aid_tracking_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/glonass_l1_ca_dll_pll_c_aid_tracking_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/glonass_l1_ca_dll_pll_c_aid_tracking_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/glonass_l1_ca_dll_pll_tracking_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/glonass_l1_ca_dll_pll_tracking_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/glonass_l1_ca_dll_pll_tracking_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/glonass_l1_ca_dll_pll_tracking_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_dll_pll_tracking_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_dll_pll_tracking_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_dll_pll_tracking_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_dll_pll_tracking_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_dll_pll_tracking_test_fpga.cc b/tests/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_dll_pll_tracking_test_fpga.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_dll_pll_tracking_test_fpga.cc rename to tests/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_dll_pll_tracking_test_fpga.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_gaussian_tracking_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_gaussian_tracking_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_gaussian_tracking_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/gps_l1_ca_gaussian_tracking_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/gps_l2_m_dll_pll_tracking_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/gps_l2_m_dll_pll_tracking_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/gps_l2_m_dll_pll_tracking_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/gps_l2_m_dll_pll_tracking_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/gpu_multicorrelator_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/gpu_multicorrelator_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/gpu_multicorrelator_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/gpu_multicorrelator_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/tracking_loop_filter_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/tracking_loop_filter_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/tracking_loop_filter_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/tracking_loop_filter_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/tracking_pull-in_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/tracking_pull-in_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/tracking_pull-in_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/tracking_pull-in_test.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/tracking_pull-in_test_fpga.cc b/tests/unit-tests/signal-processing-blocks/tracking/tracking_pull-in_test_fpga.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/tracking_pull-in_test_fpga.cc rename to tests/unit-tests/signal-processing-blocks/tracking/tracking_pull-in_test_fpga.cc diff --git a/src/tests/unit-tests/signal-processing-blocks/tracking/unscented_filter_test.cc b/tests/unit-tests/signal-processing-blocks/tracking/unscented_filter_test.cc similarity index 100% rename from src/tests/unit-tests/signal-processing-blocks/tracking/unscented_filter_test.cc rename to tests/unit-tests/signal-processing-blocks/tracking/unscented_filter_test.cc diff --git a/src/tests/unit-tests/system-parameters/galileo_e1b_reed_solomon_test.cc b/tests/unit-tests/system-parameters/galileo_e1b_reed_solomon_test.cc similarity index 100% rename from src/tests/unit-tests/system-parameters/galileo_e1b_reed_solomon_test.cc rename to tests/unit-tests/system-parameters/galileo_e1b_reed_solomon_test.cc diff --git a/src/tests/unit-tests/system-parameters/galileo_e6b_reed_solomon_test.cc b/tests/unit-tests/system-parameters/galileo_e6b_reed_solomon_test.cc similarity index 100% rename from src/tests/unit-tests/system-parameters/galileo_e6b_reed_solomon_test.cc rename to tests/unit-tests/system-parameters/galileo_e6b_reed_solomon_test.cc diff --git a/src/tests/unit-tests/system-parameters/galileo_ism_test.cc b/tests/unit-tests/system-parameters/galileo_ism_test.cc similarity index 100% rename from src/tests/unit-tests/system-parameters/galileo_ism_test.cc rename to tests/unit-tests/system-parameters/galileo_ism_test.cc diff --git a/src/tests/unit-tests/system-parameters/glonass_gnav_crc_test.cc b/tests/unit-tests/system-parameters/glonass_gnav_crc_test.cc similarity index 100% rename from src/tests/unit-tests/system-parameters/glonass_gnav_crc_test.cc rename to tests/unit-tests/system-parameters/glonass_gnav_crc_test.cc diff --git a/src/tests/unit-tests/system-parameters/glonass_gnav_ephemeris_test.cc b/tests/unit-tests/system-parameters/glonass_gnav_ephemeris_test.cc similarity index 100% rename from src/tests/unit-tests/system-parameters/glonass_gnav_ephemeris_test.cc rename to tests/unit-tests/system-parameters/glonass_gnav_ephemeris_test.cc diff --git a/src/tests/unit-tests/system-parameters/glonass_gnav_nav_message_test.cc b/tests/unit-tests/system-parameters/glonass_gnav_nav_message_test.cc similarity index 100% rename from src/tests/unit-tests/system-parameters/glonass_gnav_nav_message_test.cc rename to tests/unit-tests/system-parameters/glonass_gnav_nav_message_test.cc diff --git a/src/tests/unit-tests/system-parameters/has_decoding_test.cc b/tests/unit-tests/system-parameters/has_decoding_test.cc similarity index 100% rename from src/tests/unit-tests/system-parameters/has_decoding_test.cc rename to tests/unit-tests/system-parameters/has_decoding_test.cc diff --git a/src/utils/CMakeLists.txt b/utils/CMakeLists.txt similarity index 100% rename from src/utils/CMakeLists.txt rename to utils/CMakeLists.txt diff --git a/src/utils/front-end-cal/CMakeLists.txt b/utils/front-end-cal/CMakeLists.txt similarity index 100% rename from src/utils/front-end-cal/CMakeLists.txt rename to utils/front-end-cal/CMakeLists.txt diff --git a/src/utils/front-end-cal/front_end_cal.cc b/utils/front-end-cal/front_end_cal.cc similarity index 100% rename from src/utils/front-end-cal/front_end_cal.cc rename to utils/front-end-cal/front_end_cal.cc diff --git a/src/utils/front-end-cal/front_end_cal.h b/utils/front-end-cal/front_end_cal.h similarity index 100% rename from src/utils/front-end-cal/front_end_cal.h rename to utils/front-end-cal/front_end_cal.h diff --git a/src/utils/front-end-cal/main.cc b/utils/front-end-cal/main.cc similarity index 100% rename from src/utils/front-end-cal/main.cc rename to utils/front-end-cal/main.cc diff --git a/src/utils/matlab/dll_pll_veml_plot_sample.m b/utils/matlab/dll_pll_veml_plot_sample.m similarity index 100% rename from src/utils/matlab/dll_pll_veml_plot_sample.m rename to utils/matlab/dll_pll_veml_plot_sample.m diff --git a/src/utils/matlab/gps_l1_ca_kf_plot_sample.m b/utils/matlab/gps_l1_ca_kf_plot_sample.m similarity index 100% rename from src/utils/matlab/gps_l1_ca_kf_plot_sample.m rename to utils/matlab/gps_l1_ca_kf_plot_sample.m diff --git a/src/utils/matlab/gps_l1_ca_pvt_plot_sample_agilent_cap2.m b/utils/matlab/gps_l1_ca_pvt_plot_sample_agilent_cap2.m similarity index 100% rename from src/utils/matlab/gps_l1_ca_pvt_plot_sample_agilent_cap2.m rename to utils/matlab/gps_l1_ca_pvt_plot_sample_agilent_cap2.m diff --git a/src/utils/matlab/gps_l1_ca_pvt_raw_plot_sample.m b/utils/matlab/gps_l1_ca_pvt_raw_plot_sample.m similarity index 100% rename from src/utils/matlab/gps_l1_ca_pvt_raw_plot_sample.m rename to utils/matlab/gps_l1_ca_pvt_raw_plot_sample.m diff --git a/src/utils/matlab/gps_l1_ca_telemetry_plot_sample.m b/utils/matlab/gps_l1_ca_telemetry_plot_sample.m similarity index 100% rename from src/utils/matlab/gps_l1_ca_telemetry_plot_sample.m rename to utils/matlab/gps_l1_ca_telemetry_plot_sample.m diff --git a/src/utils/matlab/help_script1.m b/utils/matlab/help_script1.m similarity index 100% rename from src/utils/matlab/help_script1.m rename to utils/matlab/help_script1.m diff --git a/src/utils/matlab/help_script2.m b/utils/matlab/help_script2.m similarity index 100% rename from src/utils/matlab/help_script2.m rename to utils/matlab/help_script2.m diff --git a/src/utils/matlab/hybrid_observables_plot_sample.m b/utils/matlab/hybrid_observables_plot_sample.m similarity index 100% rename from src/utils/matlab/hybrid_observables_plot_sample.m rename to utils/matlab/hybrid_observables_plot_sample.m diff --git a/src/utils/matlab/libs/dll_pll_veml_read_tracking_dump.m b/utils/matlab/libs/dll_pll_veml_read_tracking_dump.m similarity index 100% rename from src/utils/matlab/libs/dll_pll_veml_read_tracking_dump.m rename to utils/matlab/libs/dll_pll_veml_read_tracking_dump.m diff --git a/src/utils/matlab/libs/geoFunctions/cart2geo.m b/utils/matlab/libs/geoFunctions/cart2geo.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/cart2geo.m rename to utils/matlab/libs/geoFunctions/cart2geo.m diff --git a/src/utils/matlab/libs/geoFunctions/cart2utm.m b/utils/matlab/libs/geoFunctions/cart2utm.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/cart2utm.m rename to utils/matlab/libs/geoFunctions/cart2utm.m diff --git a/src/utils/matlab/libs/geoFunctions/check_t.m b/utils/matlab/libs/geoFunctions/check_t.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/check_t.m rename to utils/matlab/libs/geoFunctions/check_t.m diff --git a/src/utils/matlab/libs/geoFunctions/clksin.m b/utils/matlab/libs/geoFunctions/clksin.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/clksin.m rename to utils/matlab/libs/geoFunctions/clksin.m diff --git a/src/utils/matlab/libs/geoFunctions/clsin.m b/utils/matlab/libs/geoFunctions/clsin.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/clsin.m rename to utils/matlab/libs/geoFunctions/clsin.m diff --git a/src/utils/matlab/libs/geoFunctions/deg2dms.m b/utils/matlab/libs/geoFunctions/deg2dms.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/deg2dms.m rename to utils/matlab/libs/geoFunctions/deg2dms.m diff --git a/src/utils/matlab/libs/geoFunctions/dms2deg.m b/utils/matlab/libs/geoFunctions/dms2deg.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/dms2deg.m rename to utils/matlab/libs/geoFunctions/dms2deg.m diff --git a/src/utils/matlab/libs/geoFunctions/dms2mat.m b/utils/matlab/libs/geoFunctions/dms2mat.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/dms2mat.m rename to utils/matlab/libs/geoFunctions/dms2mat.m diff --git a/src/utils/matlab/libs/geoFunctions/e_r_corr.m b/utils/matlab/libs/geoFunctions/e_r_corr.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/e_r_corr.m rename to utils/matlab/libs/geoFunctions/e_r_corr.m diff --git a/src/utils/matlab/libs/geoFunctions/findUtmZone.m b/utils/matlab/libs/geoFunctions/findUtmZone.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/findUtmZone.m rename to utils/matlab/libs/geoFunctions/findUtmZone.m diff --git a/src/utils/matlab/libs/geoFunctions/geo2cart.m b/utils/matlab/libs/geoFunctions/geo2cart.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/geo2cart.m rename to utils/matlab/libs/geoFunctions/geo2cart.m diff --git a/src/utils/matlab/libs/geoFunctions/leastSquarePos.m b/utils/matlab/libs/geoFunctions/leastSquarePos.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/leastSquarePos.m rename to utils/matlab/libs/geoFunctions/leastSquarePos.m diff --git a/src/utils/matlab/libs/geoFunctions/mat2dms.m b/utils/matlab/libs/geoFunctions/mat2dms.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/mat2dms.m rename to utils/matlab/libs/geoFunctions/mat2dms.m diff --git a/src/utils/matlab/libs/geoFunctions/roundn.m b/utils/matlab/libs/geoFunctions/roundn.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/roundn.m rename to utils/matlab/libs/geoFunctions/roundn.m diff --git a/src/utils/matlab/libs/geoFunctions/satpos.m b/utils/matlab/libs/geoFunctions/satpos.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/satpos.m rename to utils/matlab/libs/geoFunctions/satpos.m diff --git a/src/utils/matlab/libs/geoFunctions/togeod.m b/utils/matlab/libs/geoFunctions/togeod.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/togeod.m rename to utils/matlab/libs/geoFunctions/togeod.m diff --git a/src/utils/matlab/libs/geoFunctions/topocent.m b/utils/matlab/libs/geoFunctions/topocent.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/topocent.m rename to utils/matlab/libs/geoFunctions/topocent.m diff --git a/src/utils/matlab/libs/geoFunctions/tropo.m b/utils/matlab/libs/geoFunctions/tropo.m similarity index 100% rename from src/utils/matlab/libs/geoFunctions/tropo.m rename to utils/matlab/libs/geoFunctions/tropo.m diff --git a/src/utils/matlab/libs/gps_l1_ca_dll_pll_read_tracking_dump.m b/utils/matlab/libs/gps_l1_ca_dll_pll_read_tracking_dump.m similarity index 100% rename from src/utils/matlab/libs/gps_l1_ca_dll_pll_read_tracking_dump.m rename to utils/matlab/libs/gps_l1_ca_dll_pll_read_tracking_dump.m diff --git a/src/utils/matlab/libs/gps_l1_ca_kf_read_tracking_dump.m b/utils/matlab/libs/gps_l1_ca_kf_read_tracking_dump.m similarity index 100% rename from src/utils/matlab/libs/gps_l1_ca_kf_read_tracking_dump.m rename to utils/matlab/libs/gps_l1_ca_kf_read_tracking_dump.m diff --git a/src/utils/matlab/libs/gps_l1_ca_pvt_read_pvt_dump.m b/utils/matlab/libs/gps_l1_ca_pvt_read_pvt_dump.m similarity index 100% rename from src/utils/matlab/libs/gps_l1_ca_pvt_read_pvt_dump.m rename to utils/matlab/libs/gps_l1_ca_pvt_read_pvt_dump.m diff --git a/src/utils/matlab/libs/gps_l1_ca_read_pvt_raw_dump.m b/utils/matlab/libs/gps_l1_ca_read_pvt_raw_dump.m similarity index 100% rename from src/utils/matlab/libs/gps_l1_ca_read_pvt_raw_dump.m rename to utils/matlab/libs/gps_l1_ca_read_pvt_raw_dump.m diff --git a/src/utils/matlab/libs/gps_l1_ca_read_telemetry_dump.m b/utils/matlab/libs/gps_l1_ca_read_telemetry_dump.m similarity index 100% rename from src/utils/matlab/libs/gps_l1_ca_read_telemetry_dump.m rename to utils/matlab/libs/gps_l1_ca_read_telemetry_dump.m diff --git a/src/utils/matlab/libs/plotKalman.m b/utils/matlab/libs/plotKalman.m similarity index 100% rename from src/utils/matlab/libs/plotKalman.m rename to utils/matlab/libs/plotKalman.m diff --git a/src/utils/matlab/libs/plotNavigation.m b/utils/matlab/libs/plotNavigation.m similarity index 100% rename from src/utils/matlab/libs/plotNavigation.m rename to utils/matlab/libs/plotNavigation.m diff --git a/src/utils/matlab/libs/plotTracking.m b/utils/matlab/libs/plotTracking.m similarity index 100% rename from src/utils/matlab/libs/plotTracking.m rename to utils/matlab/libs/plotTracking.m diff --git a/src/utils/matlab/libs/plotVEMLTracking.m b/utils/matlab/libs/plotVEMLTracking.m similarity index 100% rename from src/utils/matlab/libs/plotVEMLTracking.m rename to utils/matlab/libs/plotVEMLTracking.m diff --git a/src/utils/matlab/libs/quantize_signal.m b/utils/matlab/libs/quantize_signal.m similarity index 100% rename from src/utils/matlab/libs/quantize_signal.m rename to utils/matlab/libs/quantize_signal.m diff --git a/src/utils/matlab/libs/read_complex_binary.m b/utils/matlab/libs/read_complex_binary.m similarity index 100% rename from src/utils/matlab/libs/read_complex_binary.m rename to utils/matlab/libs/read_complex_binary.m diff --git a/src/utils/matlab/libs/read_complex_char_binary.m b/utils/matlab/libs/read_complex_char_binary.m similarity index 100% rename from src/utils/matlab/libs/read_complex_char_binary.m rename to utils/matlab/libs/read_complex_char_binary.m diff --git a/src/utils/matlab/libs/read_complex_short_binary.m b/utils/matlab/libs/read_complex_short_binary.m similarity index 100% rename from src/utils/matlab/libs/read_complex_short_binary.m rename to utils/matlab/libs/read_complex_short_binary.m diff --git a/src/utils/matlab/libs/read_hybrid_observables_dump.m b/utils/matlab/libs/read_hybrid_observables_dump.m similarity index 100% rename from src/utils/matlab/libs/read_hybrid_observables_dump.m rename to utils/matlab/libs/read_hybrid_observables_dump.m diff --git a/src/utils/matlab/libs/read_true_sim_observables_dump.m b/utils/matlab/libs/read_true_sim_observables_dump.m similarity index 100% rename from src/utils/matlab/libs/read_true_sim_observables_dump.m rename to utils/matlab/libs/read_true_sim_observables_dump.m diff --git a/src/utils/matlab/plotTrackingE5a.m b/utils/matlab/plotTrackingE5a.m similarity index 100% rename from src/utils/matlab/plotTrackingE5a.m rename to utils/matlab/plotTrackingE5a.m diff --git a/src/utils/matlab/plot_acq_grid.m b/utils/matlab/plot_acq_grid.m similarity index 100% rename from src/utils/matlab/plot_acq_grid.m rename to utils/matlab/plot_acq_grid.m diff --git a/src/utils/matlab/plot_acq_grid_gsoc.m b/utils/matlab/plot_acq_grid_gsoc.m similarity index 100% rename from src/utils/matlab/plot_acq_grid_gsoc.m rename to utils/matlab/plot_acq_grid_gsoc.m diff --git a/src/utils/matlab/plot_acq_grid_gsoc_e5.m b/utils/matlab/plot_acq_grid_gsoc_e5.m similarity index 100% rename from src/utils/matlab/plot_acq_grid_gsoc_e5.m rename to utils/matlab/plot_acq_grid_gsoc_e5.m diff --git a/src/utils/matlab/plot_acq_grid_gsoc_glonass.m b/utils/matlab/plot_acq_grid_gsoc_glonass.m similarity index 100% rename from src/utils/matlab/plot_acq_grid_gsoc_glonass.m rename to utils/matlab/plot_acq_grid_gsoc_glonass.m diff --git a/src/utils/matlab/plot_tracking_quality_indicators.m b/utils/matlab/plot_tracking_quality_indicators.m similarity index 100% rename from src/utils/matlab/plot_tracking_quality_indicators.m rename to utils/matlab/plot_tracking_quality_indicators.m diff --git a/src/utils/nav-listener/CMakeLists.txt b/utils/nav-listener/CMakeLists.txt similarity index 100% rename from src/utils/nav-listener/CMakeLists.txt rename to utils/nav-listener/CMakeLists.txt diff --git a/src/utils/nav-listener/README.md b/utils/nav-listener/README.md similarity index 100% rename from src/utils/nav-listener/README.md rename to utils/nav-listener/README.md diff --git a/src/utils/nav-listener/cmake/cmake_uninstall.cmake.in b/utils/nav-listener/cmake/cmake_uninstall.cmake.in similarity index 100% rename from src/utils/nav-listener/cmake/cmake_uninstall.cmake.in rename to utils/nav-listener/cmake/cmake_uninstall.cmake.in diff --git a/src/utils/nav-listener/main.cc b/utils/nav-listener/main.cc similarity index 100% rename from src/utils/nav-listener/main.cc rename to utils/nav-listener/main.cc diff --git a/src/utils/nav-listener/nav_message.proto b/utils/nav-listener/nav_message.proto similarity index 100% rename from src/utils/nav-listener/nav_message.proto rename to utils/nav-listener/nav_message.proto diff --git a/src/utils/nav-listener/nav_msg_udp_listener.cc b/utils/nav-listener/nav_msg_udp_listener.cc similarity index 100% rename from src/utils/nav-listener/nav_msg_udp_listener.cc rename to utils/nav-listener/nav_msg_udp_listener.cc diff --git a/src/utils/nav-listener/nav_msg_udp_listener.h b/utils/nav-listener/nav_msg_udp_listener.h similarity index 100% rename from src/utils/nav-listener/nav_msg_udp_listener.h rename to utils/nav-listener/nav_msg_udp_listener.h diff --git a/src/utils/python/dll_pll_veml_plot_sample.py b/utils/python/dll_pll_veml_plot_sample.py similarity index 100% rename from src/utils/python/dll_pll_veml_plot_sample.py rename to utils/python/dll_pll_veml_plot_sample.py diff --git a/src/utils/python/gps_l1_ca_kf_plot_sample.py b/utils/python/gps_l1_ca_kf_plot_sample.py similarity index 100% rename from src/utils/python/gps_l1_ca_kf_plot_sample.py rename to utils/python/gps_l1_ca_kf_plot_sample.py diff --git a/src/utils/python/gps_l1_ca_pvt_raw_plot_sample.py b/utils/python/gps_l1_ca_pvt_raw_plot_sample.py similarity index 100% rename from src/utils/python/gps_l1_ca_pvt_raw_plot_sample.py rename to utils/python/gps_l1_ca_pvt_raw_plot_sample.py diff --git a/src/utils/python/gps_l1_ca_telemetry_plot_sample.py b/utils/python/gps_l1_ca_telemetry_plot_sample.py similarity index 100% rename from src/utils/python/gps_l1_ca_telemetry_plot_sample.py rename to utils/python/gps_l1_ca_telemetry_plot_sample.py diff --git a/src/utils/python/hybrid_observables_plot_sample.py b/utils/python/hybrid_observables_plot_sample.py similarity index 100% rename from src/utils/python/hybrid_observables_plot_sample.py rename to utils/python/hybrid_observables_plot_sample.py diff --git a/src/utils/python/lib/dll_pll_veml_read_tracking_dump.py b/utils/python/lib/dll_pll_veml_read_tracking_dump.py similarity index 100% rename from src/utils/python/lib/dll_pll_veml_read_tracking_dump.py rename to utils/python/lib/dll_pll_veml_read_tracking_dump.py diff --git a/src/utils/python/lib/gps_l1_ca_kf_read_tracking_dump.py b/utils/python/lib/gps_l1_ca_kf_read_tracking_dump.py similarity index 100% rename from src/utils/python/lib/gps_l1_ca_kf_read_tracking_dump.py rename to utils/python/lib/gps_l1_ca_kf_read_tracking_dump.py diff --git a/src/utils/python/lib/gps_l1_ca_read_pvt_dump.py b/utils/python/lib/gps_l1_ca_read_pvt_dump.py similarity index 100% rename from src/utils/python/lib/gps_l1_ca_read_pvt_dump.py rename to utils/python/lib/gps_l1_ca_read_pvt_dump.py diff --git a/src/utils/python/lib/gps_l1_ca_read_telemetry_dump.py b/utils/python/lib/gps_l1_ca_read_telemetry_dump.py similarity index 100% rename from src/utils/python/lib/gps_l1_ca_read_telemetry_dump.py rename to utils/python/lib/gps_l1_ca_read_telemetry_dump.py diff --git a/src/utils/python/lib/plotKalman.py b/utils/python/lib/plotKalman.py similarity index 100% rename from src/utils/python/lib/plotKalman.py rename to utils/python/lib/plotKalman.py diff --git a/src/utils/python/lib/plotNavigation.py b/utils/python/lib/plotNavigation.py similarity index 100% rename from src/utils/python/lib/plotNavigation.py rename to utils/python/lib/plotNavigation.py diff --git a/src/utils/python/lib/plotPosition.py b/utils/python/lib/plotPosition.py similarity index 100% rename from src/utils/python/lib/plotPosition.py rename to utils/python/lib/plotPosition.py diff --git a/src/utils/python/lib/plotTracking.py b/utils/python/lib/plotTracking.py similarity index 100% rename from src/utils/python/lib/plotTracking.py rename to utils/python/lib/plotTracking.py diff --git a/src/utils/python/lib/plotVEMLTracking.py b/utils/python/lib/plotVEMLTracking.py similarity index 100% rename from src/utils/python/lib/plotVEMLTracking.py rename to utils/python/lib/plotVEMLTracking.py diff --git a/src/utils/python/lib/read_hybrid_observables_dump.py b/utils/python/lib/read_hybrid_observables_dump.py similarity index 100% rename from src/utils/python/lib/read_hybrid_observables_dump.py rename to utils/python/lib/read_hybrid_observables_dump.py diff --git a/src/utils/python/plot_acq_grid.py b/utils/python/plot_acq_grid.py similarity index 100% rename from src/utils/python/plot_acq_grid.py rename to utils/python/plot_acq_grid.py diff --git a/src/utils/python/plot_tracking_quality_indicators.py b/utils/python/plot_tracking_quality_indicators.py similarity index 100% rename from src/utils/python/plot_tracking_quality_indicators.py rename to utils/python/plot_tracking_quality_indicators.py diff --git a/src/utils/reproducibility/ieee-access18/L2-access18.conf b/utils/reproducibility/ieee-access18/L2-access18.conf similarity index 100% rename from src/utils/reproducibility/ieee-access18/L2-access18.conf rename to utils/reproducibility/ieee-access18/L2-access18.conf diff --git a/src/utils/reproducibility/ieee-access18/README.md b/utils/reproducibility/ieee-access18/README.md similarity index 93% rename from src/utils/reproducibility/ieee-access18/README.md rename to utils/reproducibility/ieee-access18/README.md index 67f59ad6d..82fa59103 100644 --- a/src/utils/reproducibility/ieee-access18/README.md +++ b/utils/reproducibility/ieee-access18/README.md @@ -58,9 +58,9 @@ $ tar xvfJ L2_signal_samples.tar.xz $ echo "3a04c1eeb970776bb77f5e3b7eaff2df L2_signal_samples.tar.xz" > data.md5 $ md5sum -c data.md5 $ cd .. -$ cp ../src/utils/reproducibility/ieee-access18/L2-access18.conf . -$ cp ../src/utils/reproducibility/ieee-access18/plot_dump.m . -$ cp -r ../src/utils/matlab/libs/geoFunctions . +$ cp ../utils/reproducibility/ieee-access18/L2-access18.conf . +$ cp ../utils/reproducibility/ieee-access18/plot_dump.m . +$ cp -r ../utils/matlab/libs/geoFunctions . $ gnss-sdr --c=L2-access18.conf $ octave --no-gui plot_dump.m $ epspdf Figure2.eps Figure2.pdf diff --git a/src/utils/reproducibility/ieee-access18/plot_dump.m b/utils/reproducibility/ieee-access18/plot_dump.m similarity index 100% rename from src/utils/reproducibility/ieee-access18/plot_dump.m rename to utils/reproducibility/ieee-access18/plot_dump.m diff --git a/src/utils/rinex-tools/CMakeLists.txt b/utils/rinex-tools/CMakeLists.txt similarity index 99% rename from src/utils/rinex-tools/CMakeLists.txt rename to utils/rinex-tools/CMakeLists.txt index 695c369ee..84d361d40 100644 --- a/src/utils/rinex-tools/CMakeLists.txt +++ b/utils/rinex-tools/CMakeLists.txt @@ -33,7 +33,7 @@ if("${ARMADILLO_VERSION_STRING}" VERSION_GREATER "9.800" OR (NOT ARMADILLO_FOUND add_executable(obsdiff ${CMAKE_CURRENT_SOURCE_DIR}/obsdiff.cc obsdiff_flags.h) endif() - target_include_directories(obsdiff PUBLIC ${GNSSSDR_SOURCE_DIR}/src/tests/common-files) + target_include_directories(obsdiff PUBLIC ${GNSSSDR_SOURCE_DIR}/tests/common-files) if(GNSSTK_VERSION AND "${GNSSTK_VERSION}" VERSION_LESS 3.0.1) set_property(TARGET obsdiff PROPERTY CXX_STANDARD 14) # Required by GPSTk v3.0.0 endif() diff --git a/src/utils/rinex-tools/README.md b/utils/rinex-tools/README.md similarity index 100% rename from src/utils/rinex-tools/README.md rename to utils/rinex-tools/README.md diff --git a/src/utils/rinex-tools/obsdiff.cc b/utils/rinex-tools/obsdiff.cc similarity index 100% rename from src/utils/rinex-tools/obsdiff.cc rename to utils/rinex-tools/obsdiff.cc diff --git a/src/utils/rinex-tools/obsdiff_flags.h b/utils/rinex-tools/obsdiff_flags.h similarity index 100% rename from src/utils/rinex-tools/obsdiff_flags.h rename to utils/rinex-tools/obsdiff_flags.h diff --git a/src/utils/rinex2assist/CMakeLists.txt b/utils/rinex2assist/CMakeLists.txt similarity index 100% rename from src/utils/rinex2assist/CMakeLists.txt rename to utils/rinex2assist/CMakeLists.txt diff --git a/src/utils/rinex2assist/README.md b/utils/rinex2assist/README.md similarity index 100% rename from src/utils/rinex2assist/README.md rename to utils/rinex2assist/README.md diff --git a/src/utils/rinex2assist/main.cc b/utils/rinex2assist/main.cc similarity index 100% rename from src/utils/rinex2assist/main.cc rename to utils/rinex2assist/main.cc diff --git a/src/utils/scripts/download-galileo-almanac.sh b/utils/scripts/download-galileo-almanac.sh similarity index 100% rename from src/utils/scripts/download-galileo-almanac.sh rename to utils/scripts/download-galileo-almanac.sh diff --git a/src/utils/scripts/gnss-sdr-harness.sh b/utils/scripts/gnss-sdr-harness.sh similarity index 100% rename from src/utils/scripts/gnss-sdr-harness.sh rename to utils/scripts/gnss-sdr-harness.sh diff --git a/src/utils/simulink/MultiThread/README_gnss_sdr_tcp_connector_parallel_tracking.txt b/utils/simulink/MultiThread/README_gnss_sdr_tcp_connector_parallel_tracking.txt similarity index 100% rename from src/utils/simulink/MultiThread/README_gnss_sdr_tcp_connector_parallel_tracking.txt rename to utils/simulink/MultiThread/README_gnss_sdr_tcp_connector_parallel_tracking.txt diff --git a/src/utils/simulink/MultiThread/gnss_sdr_tcp_connector_parallel_tracking_start.m b/utils/simulink/MultiThread/gnss_sdr_tcp_connector_parallel_tracking_start.m similarity index 100% rename from src/utils/simulink/MultiThread/gnss_sdr_tcp_connector_parallel_tracking_start.m rename to utils/simulink/MultiThread/gnss_sdr_tcp_connector_parallel_tracking_start.m diff --git a/src/utils/simulink/MultiThread/gnss_sdr_tcp_connector_tracking_lib.mdl b/utils/simulink/MultiThread/gnss_sdr_tcp_connector_tracking_lib.mdl similarity index 100% rename from src/utils/simulink/MultiThread/gnss_sdr_tcp_connector_tracking_lib.mdl rename to utils/simulink/MultiThread/gnss_sdr_tcp_connector_tracking_lib.mdl diff --git a/src/utils/simulink/MultiThread/gnss_sdr_tcp_connector_tracking_lib.mdl.license b/utils/simulink/MultiThread/gnss_sdr_tcp_connector_tracking_lib.mdl.license similarity index 100% rename from src/utils/simulink/MultiThread/gnss_sdr_tcp_connector_tracking_lib.mdl.license rename to utils/simulink/MultiThread/gnss_sdr_tcp_connector_tracking_lib.mdl.license diff --git a/src/utils/simulink/SingleThread/README_gnss_sdr_galileo_e1_tcp_connector_tracking.txt b/utils/simulink/SingleThread/README_gnss_sdr_galileo_e1_tcp_connector_tracking.txt similarity index 100% rename from src/utils/simulink/SingleThread/README_gnss_sdr_galileo_e1_tcp_connector_tracking.txt rename to utils/simulink/SingleThread/README_gnss_sdr_galileo_e1_tcp_connector_tracking.txt diff --git a/src/utils/simulink/SingleThread/README_gnss_sdr_tcp_connector_tracking.txt b/utils/simulink/SingleThread/README_gnss_sdr_tcp_connector_tracking.txt similarity index 100% rename from src/utils/simulink/SingleThread/README_gnss_sdr_tcp_connector_tracking.txt rename to utils/simulink/SingleThread/README_gnss_sdr_tcp_connector_tracking.txt diff --git a/src/utils/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_lib.mdl b/utils/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_lib.mdl similarity index 100% rename from src/utils/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_lib.mdl rename to utils/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_lib.mdl diff --git a/src/utils/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_lib.mdl.license b/utils/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_lib.mdl.license similarity index 100% rename from src/utils/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_lib.mdl.license rename to utils/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_lib.mdl.license diff --git a/src/utils/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_start.m b/utils/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_start.m similarity index 100% rename from src/utils/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_start.m rename to utils/simulink/SingleThread/gnss_sdr_galileo_e1_tcp_connector_tracking_start.m diff --git a/src/utils/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_lib.mdl b/utils/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_lib.mdl similarity index 100% rename from src/utils/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_lib.mdl rename to utils/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_lib.mdl diff --git a/src/utils/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_lib.mdl.license b/utils/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_lib.mdl.license similarity index 100% rename from src/utils/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_lib.mdl.license rename to utils/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_lib.mdl.license diff --git a/src/utils/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_start.m b/utils/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_start.m similarity index 100% rename from src/utils/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_start.m rename to utils/simulink/SingleThread/gnss_sdr_tcp_connector_tracking_start.m