mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 04:30:33 +00:00
Adding obs and pvt test for external scenarios in kepler runner
This commit is contained in:
parent
d235e0836a
commit
0649531e26
@ -375,6 +375,70 @@ run-tests-i386:
|
|||||||
- build32/*.txt
|
- build32/*.txt
|
||||||
|
|
||||||
|
|
||||||
|
observables-test-180417100529:
|
||||||
|
image: ubuntu:bionic
|
||||||
|
stage: test
|
||||||
|
tags:
|
||||||
|
- kepler
|
||||||
|
when: manual
|
||||||
|
script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y --no-install-recommends build-essential cmake ca-certificates git libboost-dev libboost-date-time-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev libboost-chrono-dev libboost-serialization-dev liblog4cpp5-dev gnuradio-dev libblas-dev liblapack-dev libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev python-mako python-six libmatio-dev googletest gnuplot
|
||||||
|
- mkdir build-test
|
||||||
|
- mkdir build64
|
||||||
|
- cd build-test
|
||||||
|
- cmake -DENABLE_UNIT_TESTING_EXTRA=ON -DENABLE_SYSTEM_TESTING_EXTRA=ON ..
|
||||||
|
- NPROC=$(grep -c ^processor /proc/cpuinfo)
|
||||||
|
- make -j$(($NPROC+1))
|
||||||
|
|
||||||
|
# Execute Unit Tests
|
||||||
|
- export DISPLAY=unknown
|
||||||
|
- echo "Running HybridObservablesTest for GPS L1 CA..."
|
||||||
|
- ../install/run_tests --gtest_filter=HybridObservablesTest* -PLL_bw_hz_start=25.0 -DLL_bw_hz_start=1.5 -PLL_narrow_bw_hz=10.0 -DLL_narrow_bw_hz=0.75 -disable_generator=1 -enable_external_signal_file=1 -signal_file=/captures/gitlab_test_signals/static/180417100529.A_L1E1_12500000Hz_ichar.dat -fs_gen_sps=12500000 -skip_samples=125000000 -external_signal_acquisition_threshold=4.0 -extend_correlation_symbols=5 -external_signal_acquisition_doppler_step_hz=10 -trk_test_implementation=GPS_L1_CA_DLL_PLL_Tracking --show_plots=0 -filename_rinex_obs=/captures/gitlab_test_signals/static/true_data_180417100529/rinex_obs/rinex-obs_V1_A1-static_vehicle.txt -skip_trk_transitory_s=30 --gtest_output=xml:test_results.xml
|
||||||
|
|
||||||
|
- echo "Running HybridObservablesTest for Galileo E1..."
|
||||||
|
- ../install/run_tests --gtest_filter=HybridObservablesTest* --PLL_bw_hz_start=5.0 --DLL_bw_hz_start=0.75 --disable_generator=1 --enable_external_signal_file=1 --show_plots=true --fs_gen_sps=12500000 --skip_samples=50000000 --external_signal_acquisition_threshold=2.5 --trk_test_implementation=Galileo_E1_DLL_PLL_VEML_Tracking --external_signal_acquisition_doppler_step_hz=25 --show_plots=0 --signal_file=/captures/gitlab_test_signals/static/180417100529.A_L1E1_12500000Hz_ichar.dat --filename_rinex_obs=/captures/gitlab_test_signals/static/true_data_180417100529/rinex_obs/rinex-obs_V1_A1-static_vehicle.txt --skip_trk_transitory_s=15 --gtest_output=xml:test_results.xml
|
||||||
|
|
||||||
|
- echo "Running HybridObservablesTest for GPS L5..."
|
||||||
|
- ../install/run_tests --gtest_filter=HybridObservablesTest* --PLL_bw_hz_start=25.0 --DLL_bw_hz_start=2.5 --disable_generator=1 --enable_external_signal_file=1 --show_plots=true --fs_gen_sps=12500000 --skip_samples=250000000 --external_signal_acquisition_threshold=2.4 --trk_test_implementation=GPS_L5_DLL_PLL_Tracking --external_signal_acquisition_dwells=10 --external_signal_acquisition_doppler_step_hz=10 --show_plots=0 --signal_file=/captures/gitlab_test_signals/static/180417100529.A_L5E5_12500000Hz_ichar.dat --filename_rinex_obs=/captures/gitlab_test_signals/static/true_data_180417100529/rinex_obs/rinex-obs_V1_A1-static_vehicle.txt --skip_trk_transitory_s=5 --gtest_output=xml:test_results.xml
|
||||||
|
|
||||||
|
- echo "Running HybridObservablesTest for Galileo E5a..."
|
||||||
|
- ../install/run_tests --gtest_filter=HybridObservablesTest* --PLL_bw_hz_start=30.0 --DLL_bw_hz_start=1.0 --disable_generator=1 --enable_external_signal_file=1 --show_plots=true --fs_gen_sps=12500000 --skip_samples=125000000 --external_signal_acquisition_threshold=2.2 --trk_test_implementation=Galileo_E5a_DLL_PLL_Tracking --external_signal_acquisition_doppler_step_hz=10 --show_plots=0 --signal_file=/captures/gitlab_test_signals/static/180417100529.A_L5E5_12500000Hz_ichar.dat --filename_rinex_obs=/captures/gitlab_test_signals/static/true_data_180417100529/rinex_obs/rinex-obs_V1_A1-static_vehicle.txt --skip_trk_transitory_s=5 --gtest_output=xml:test_results.xml
|
||||||
|
|
||||||
|
- mv *.xml ../build64/
|
||||||
|
- cd ..
|
||||||
|
- rm -rf build-test
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- build64/*.xml
|
||||||
|
|
||||||
|
position-test-180417100529:
|
||||||
|
image: ubuntu:bionic
|
||||||
|
stage: test
|
||||||
|
tags:
|
||||||
|
- kepler
|
||||||
|
when: manual
|
||||||
|
script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y --no-install-recommends build-essential cmake ca-certificates git libboost-dev libboost-date-time-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev libboost-chrono-dev libboost-serialization-dev liblog4cpp5-dev gnuradio-dev libblas-dev liblapack-dev libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev python-mako python-six libmatio-dev googletest gnuplot
|
||||||
|
- mkdir build-test
|
||||||
|
- mkdir build64
|
||||||
|
- cd build-test
|
||||||
|
- cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON ..
|
||||||
|
- NPROC=$(grep -c ^processor /proc/cpuinfo)
|
||||||
|
- make -j$(($NPROC+1))
|
||||||
|
# Execute System Tests
|
||||||
|
- export DISPLAY=unknown
|
||||||
|
- ../install/position_test -config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L1E1.conf -static_scenario=0 -use_pvt_solver_dump=1 -use_ref_motion_file=1 -ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv -pvt_solver_dump_filename=./PVT_pvt.dat -show_plots=0
|
||||||
|
- mv *.xml ../build64/
|
||||||
|
- mv *.ps ../build64/
|
||||||
|
- cd ..
|
||||||
|
- rm -rf build-test
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- build64/*.xml
|
||||||
|
- build64/*.ps
|
||||||
|
|
||||||
# Stage "deploy"
|
# Stage "deploy"
|
||||||
docker-gnsssdr:
|
docker-gnsssdr:
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user