mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-06 10:06:24 +00:00
Use docker image for tests
This commit is contained in:
parent
402a9c442d
commit
ea36525782
234
.gitlab-ci.yml
234
.gitlab-ci.yml
@ -583,205 +583,155 @@ leo-observables-test-180417120737:
|
|||||||
- build64/*.xml
|
- build64/*.xml
|
||||||
|
|
||||||
|
|
||||||
position-test-180417100529:
|
position-L1-static:
|
||||||
image: ubuntu:bionic
|
image: $DOCKER_HUB_USER/$DOCKER_HUB_REPO:testing
|
||||||
stage: test
|
stage: test
|
||||||
when: manual
|
when: manual
|
||||||
tags:
|
tags:
|
||||||
- kepler
|
- kepler
|
||||||
script:
|
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 libpugixml-dev libblas-dev liblapack-dev libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev python-mako python-six libmatio-dev googletest gnuplot libprotobuf-dev protobuf-compiler
|
|
||||||
- mkdir build-test
|
|
||||||
- mkdir position-test
|
|
||||||
- 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
|
- export DISPLAY=unknown
|
||||||
- ../install/position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
- volk_profile -v 8111
|
||||||
- mkdir ../position-test/L1 && rm PVT_*.* && mv *.ps ../position-test/L1/ && [ -f GSDR* ] && mv GSDR* ../position-test/L1/
|
- volk_gnsssdr_profile -v 2053
|
||||||
- ../install/position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_E1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
- mkdir test && mkdir position-test && cd test
|
||||||
- mkdir ../position-test/E1 && rm PVT_*.* && mv *.ps ../position-test/E1 && [ -f GSDR* ] && mv GSDR* ../position-test/E1
|
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
||||||
- ../install/position_test -config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L1E1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
- mkdir ../position-test/L1 && rm PVT_*.* && mv *.* ../position-test/L1/
|
||||||
- mkdir ../position-test/L1E1 && rm PVT_*.* && mv *.ps ../position-test/L1E1/ && [ -f GSDR* ] && mv GSDR* ../position-test/L1E1/
|
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_E1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
||||||
- ../install/position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
- mkdir ../position-test/E1 && rm PVT_*.* && mv *.* ../position-test/E1
|
||||||
- mkdir ../position-test/L5 && rm PVT_*.* && mv *.ps ../position-test/L5/ && [ -f GSDR* ] && mv GSDR* ../position-test/L5/
|
- position_test -config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L1E1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
||||||
- ../install/position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_E5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
- mkdir ../position-test/L1E1 && rm PVT_*.* && mv *.* ../position-test/L1E1/
|
||||||
- mkdir ../position-test/E5 && rm PVT_*.* && mv *.ps ../position-test/E5 && [ -f GSDR* ] && mv GSDR* ../position-test/E5
|
- ls -la ../position-test/L1
|
||||||
- ../install/position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L5E5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
- ls -la ../position-test/E1
|
||||||
- mkdir ../position-test/L5E5 && rm PVT_*.* && mv *.ps ../position-test/L5E5 && [ -f GSDR* ] && mv GSDR* ../position-test/L5E5
|
- ls -la ../position-test/L1E1
|
||||||
- ../install/position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L1L5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
|
||||||
- mkdir ../position-test/L1L5 && rm PVT_*.* && mv *.ps ../position-test/L1L5 && [ -f GSDR* ] && mv GSDR* ../position-test/L1L5
|
|
||||||
- ../install/position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_E1E5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
|
||||||
- mkdir ../position-test/E1E5 && rm PVT_*.* && mv *.ps ../position-test/E1E5 && [ -f GSDR* ] && mv GSDR* ../position-test/E1E5
|
|
||||||
- mv *.xml ../position-test/
|
|
||||||
- cd ..
|
|
||||||
- rm -rf build-test
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- position-test/*
|
- position-test/*
|
||||||
- position-test/L1/*
|
- position-test/L1/*
|
||||||
- position-test/E1/*
|
- position-test/E1/*
|
||||||
- position-test/L1E1/*
|
- position-test/L1E1/*
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
|
|
||||||
|
position-L5-static:
|
||||||
|
image: $DOCKER_HUB_USER/$DOCKER_HUB_REPO:testing
|
||||||
|
stage: test
|
||||||
|
when: manual
|
||||||
|
tags:
|
||||||
|
- kepler
|
||||||
|
script:
|
||||||
|
- export DISPLAY=unknown
|
||||||
|
- volk_profile -v 8111
|
||||||
|
- volk_gnsssdr_profile -v 2053
|
||||||
|
- mkdir test && mkdir position-test && cd test
|
||||||
|
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
||||||
|
- mkdir ../position-test/L5 && rm PVT_*.* && mv *.* ../position-test/L5/
|
||||||
|
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_E5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
||||||
|
- mkdir ../position-test/E5 && rm PVT_*.* && mv *.* ../position-test/E5
|
||||||
|
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L5E5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
||||||
|
- mkdir ../position-test/L5E5 && rm PVT_*.* && mv *.* ../position-test/L5E5
|
||||||
|
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L1L5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
||||||
|
- ls -la ../position-test/L5
|
||||||
|
- ls -la ../position-test/E5
|
||||||
|
- ls -la ../position-test/L5E5
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- position-test/*
|
||||||
- position-test/L5/*
|
- position-test/L5/*
|
||||||
|
- position-test/E5/*
|
||||||
- position-test/L5E5/*
|
- position-test/L5E5/*
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
|
|
||||||
|
position-dual-static:
|
||||||
|
image: $DOCKER_HUB_USER/$DOCKER_HUB_REPO:testing
|
||||||
|
stage: test
|
||||||
|
when: manual
|
||||||
|
tags:
|
||||||
|
- kepler
|
||||||
|
script:
|
||||||
|
- export DISPLAY=unknown
|
||||||
|
- volk_profile -v 8111
|
||||||
|
- volk_gnsssdr_profile -v 2053
|
||||||
|
- mkdir test && mkdir position-test && cd test
|
||||||
|
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/nss-sdr_180417100529.A_L1L5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
||||||
|
- mkdir ../position-test/L1L5 && rm PVT_*.* && mv *.* ../position-test/L1L5
|
||||||
|
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_E1E5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
||||||
|
- mkdir ../position-test/E1E5 && rm PVT_*.* && mv *.* ../position-test/E1E5
|
||||||
|
- ls -la ../position-test/L1L5
|
||||||
|
- ls -la ../position-test/E1E5
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- position-test/*
|
||||||
- position-test/L1L5/*
|
- position-test/L1L5/*
|
||||||
- position-test/E1E5/*
|
- position-test/E1E5/*
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
|
|
||||||
position-test-L1-180417100529:
|
position-static-allinone:
|
||||||
image: $DOCKER_HUB_USER/$DOCKER_HUB_REPO:testing
|
image: $DOCKER_HUB_USER/$DOCKER_HUB_REPO:testing
|
||||||
stage: test
|
stage: test
|
||||||
when: manual
|
|
||||||
tags:
|
tags:
|
||||||
- kepler
|
- kepler
|
||||||
script:
|
script:
|
||||||
|
- mkdir position-test && cd position-test
|
||||||
- export DISPLAY=unknown
|
- export DISPLAY=unknown
|
||||||
- volk_profile -v 8111
|
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L1E1L5E5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
||||||
- volk_gnsssdr_profile -v 2053
|
- mkdir L1E1L5E5 && rm PVT_*.* && cp *.* ./L1E1L5E5
|
||||||
- mkdir /test && mkdir /position-test && cd /test
|
|
||||||
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
|
||||||
- mkdir /position-test/L1 && rm PVT_*.* && mv *.* /position-test/L1/
|
|
||||||
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_E1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
|
||||||
- mkdir /position-test/E1 && rm PVT_*.* && mv *.* /position-test/E1
|
|
||||||
- position_test -config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L1E1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
|
||||||
- mkdir /position-test/L1E1 && rm PVT_*.* && mv *.* /position-test/L1E1/
|
|
||||||
- ls -la /position-test/L1
|
|
||||||
- ls -la /position-test/E1
|
|
||||||
- ls -la /position-test/L1E1
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- /position-test/*
|
|
||||||
- /position-test/L1/*
|
|
||||||
- /position-test/E1/*
|
|
||||||
- /position-test/L1E1/*
|
|
||||||
allow_failure: true
|
|
||||||
|
|
||||||
|
|
||||||
position-test-L5-180417100529:
|
|
||||||
image: $DOCKER_HUB_USER/$DOCKER_HUB_REPO:testing
|
|
||||||
stage: test
|
|
||||||
when: manual
|
|
||||||
tags:
|
|
||||||
- kepler
|
|
||||||
script:
|
|
||||||
- export DISPLAY=unknown
|
|
||||||
- volk_profile -v 8111
|
|
||||||
- volk_gnsssdr_profile -v 2053
|
|
||||||
- mkdir /test && mkdir /position-test && cd /test
|
|
||||||
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
|
||||||
- mkdir /position-test/L5 && rm PVT_*.* && mv *.* /position-test/L5/
|
|
||||||
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_E5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
|
||||||
- mkdir /position-test/E5 && rm PVT_*.* && mv *.* /position-test/E5
|
|
||||||
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L5E5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
|
||||||
- mkdir /position-test/L5E5 && rm PVT_*.* && mv *.* /position-test/L5E5
|
|
||||||
- position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L1L5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
|
||||||
- ls -la /position-test/L5
|
|
||||||
- ls -la /position-test/E5
|
|
||||||
- ls -la /position-test/L5E5
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- /position-test/*
|
|
||||||
- /position-test/L5/*
|
|
||||||
- /position-test/E5/*
|
|
||||||
- /position-test/L5E5/*
|
|
||||||
allow_failure: true
|
|
||||||
|
|
||||||
|
|
||||||
position-test-all:
|
|
||||||
image: ubuntu:bionic
|
|
||||||
stage: test
|
|
||||||
tags:
|
|
||||||
- kepler
|
|
||||||
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 libpugixml-dev libblas-dev liblapack-dev libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev python-mako python-six libmatio-dev googletest gnuplot libprotobuf-dev protobuf-compiler
|
|
||||||
- mkdir build-test
|
|
||||||
- mkdir position-test
|
|
||||||
- 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
|
|
||||||
- cd ../position-test
|
|
||||||
- ../install/position_test --config_file_ptest=/captures/gitlab_test_signals/static/gnss-sdr_180417100529.A_L1E1L5E5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/static/true_data_180417100529/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --dynamic_3D_velocity_RMSE=6 --plot_position_test --show_plots=0
|
|
||||||
- mkdir ../position-test/L1E1L5E5 && rm PVT_*.* && cp *.* ../position-test/L1E1L5E5
|
|
||||||
- cd ..
|
|
||||||
- rm -rf build-test
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- position-test/L1E1L5E5/*
|
- position-test/L1E1L5E5/*
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
|
|
||||||
leo-position-test-180417120737:
|
position-leo:
|
||||||
image: ubuntu:bionic
|
image: $DOCKER_HUB_USER/$DOCKER_HUB_REPO:testing
|
||||||
stage: test
|
stage: test
|
||||||
when: manual
|
when: manual
|
||||||
tags:
|
tags:
|
||||||
- kepler
|
- kepler
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- mkdir leo_position && cd leo_position
|
||||||
- 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 libpugixml-dev libblas-dev liblapack-dev libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev python-mako python-six libmatio-dev googletest gnuplot libprotobuf-dev protobuf-compiler
|
|
||||||
- mkdir build-test
|
|
||||||
- mkdir leo_position
|
|
||||||
- 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
|
|
||||||
- mkdir gpsL1 && cd gpsL1
|
- mkdir gpsL1 && cd gpsL1
|
||||||
- ../../install/position_test --config_file_ptest=/captures/gitlab_test_signals/dynamic/gnss-sdr_180417120737.A_L1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/dynamic/leo_pvt_test/2018_04_17_12_44_39/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test=1 --show_plots=0
|
- cp /captures/gitlab_test_signals/dynamic/gnss-sdr_180417120737.A_L1.conf ./gnss-sdr_180417120737.A_L1.conf
|
||||||
- cd .. && cp -r gpsL1 /../leo_position
|
- position_test --config_file_ptest=gnss-sdr_180417120737.A_L1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/dynamic/leo_pvt_test/2018_04_17_12_44_39/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test=1 --show_plots=0
|
||||||
- mkdir galE1 && cd galE1
|
- cd .. && mkdir galE1 && cd galE1
|
||||||
- ../../install/position_test --config_file_ptest=/captures/gitlab_test_signals/dynamic/gnss-sdr_180417120737.A_E1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/dynamic/leo_pvt_test/2018_04_17_12_44_39/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test=1 --show_plots=0
|
- cp /captures/gitlab_test_signals/dynamic/gnss-sdr_180417120737.A_E1.conf ./gnss-sdr_180417120737.A_E1.conf
|
||||||
- cd .. && cp -r galE1 /../leo_position
|
- position_test --config_file_ptest=gnss-sdr_180417120737.A_E1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/dynamic/leo_pvt_test/2018_04_17_12_44_39/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test=1 --show_plots=0
|
||||||
- mkdir gpsL1galE1 && cd gpsL1galE1
|
- cd .. && mkdir gpsL1galE1 && cd gpsL1galE1
|
||||||
- ../../install/position_test --config_file_ptest=/captures/gitlab_test_signals/dynamic/gnss-sdr_180417120737.A_L1E1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/dynamic/leo_pvt_test/2018_04_17_12_44_39/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test=1 --show_plots=0
|
- cp /captures/gitlab_test_signals/dynamic/gnss-sdr_180417120737.A_L1E1.conf ./gnss-sdr_180417120737.A_L1E1.conf
|
||||||
- cd .. && cp -r gpsL1galE1 /../leo_position
|
- position_test --config_file_ptest=gnss-sdr_180417120737.A_L1E1.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/dynamic/leo_pvt_test/2018_04_17_12_44_39/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test=1 --show_plots=0
|
||||||
- mkdir gpsL5 && cd gpsL5
|
- cd .. && mkdir gpsL5 && cd gpsL5
|
||||||
- ../../install/position_test --config_file_ptest=/captures/gitlab_test_signals/dynamic/gnss-sdr_180417120737.A_L5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/dynamic/leo_pvt_test/2018_04_17_12_44_39/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test=1 --show_plots=0
|
- position_test --config_file_ptest=/captures/gitlab_test_signals/dynamic/gnss-sdr_180417120737.A_L5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/dynamic/leo_pvt_test/2018_04_17_12_44_39/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test=1 --show_plots=0
|
||||||
- cd .. && cp -r gpsL5 /../leo_position
|
- cd .. && mkdir galE5a && cd galE5a
|
||||||
- mkdir galE5a && cd galE5a
|
- position_test --config_file_ptest=/captures/gitlab_test_signals/dynamic/gnss-sdr_180417120737.A_E5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/dynamic/leo_pvt_test/2018_04_17_12_44_39/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
||||||
- ../../install/position_test --config_file_ptest=/captures/gitlab_test_signals/dynamic/gnss-sdr_180417120737.A_E5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/dynamic/leo_pvt_test/2018_04_17_12_44_39/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
- cd .. && mkdir gpsL5galE5a && cd gpsL5galE5a
|
||||||
- cd .. && cp -r galE5a /../leo_position
|
- position_test --config_file_ptest=/captures/gitlab_test_signals/dynamic/gnss-sdr_180417120737.A_L5E5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/dynamic/leo_pvt_test/2018_04_17_12_44_39/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
||||||
- mkdir gpsL5galE5a && cd gpsL5galE5a
|
|
||||||
- ../../install/position_test --config_file_ptest=/captures/gitlab_test_signals/dynamic/gnss-sdr_180417120737.A_L5E5.conf --static_scenario=0 --use_ref_motion_file=1 --ref_motion_filename=/captures/gitlab_test_signals/dynamic/leo_pvt_test/2018_04_17_12_44_39/motion_V1.csv --pvt_solver_dump_filename=./PVT.dat --plot_position_test --show_plots=0
|
|
||||||
- cd .. && cp -r gpsL5galE5a /../leo_position
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- leo_position/*
|
- leo_position/*
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
|
|
||||||
leo-position-all:
|
position-leo-allinone:
|
||||||
image: ubuntu:bionic
|
image: $DOCKER_HUB_USER/$DOCKER_HUB_REPO:testing
|
||||||
stage: test
|
stage: test
|
||||||
when: manual
|
when: manual
|
||||||
tags:
|
tags:
|
||||||
- kepler
|
- kepler
|
||||||
script:
|
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 libpugixml-dev libblas-dev liblapack-dev libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev python-mako python-six libmatio-dev googletest gnuplot libprotobuf-dev protobuf-compiler
|
|
||||||
- mkdir build-test
|
|
||||||
- mkdir leo_position
|
|
||||||
- cd build-test
|
- cd build-test
|
||||||
- cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON ..
|
- cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON ..
|
||||||
- NPROC=$(grep -c ^processor /proc/cpuinfo)
|
- NPROC=$(grep -c ^processor /proc/cpuinfo)
|
||||||
- make -j$(($NPROC+1))
|
- make -j$(($NPROC+1))
|
||||||
# Execute System Tests
|
# Execute System Tests
|
||||||
- export DISPLAY=unknown
|
- export DISPLAY=unknown
|
||||||
- cd ../leo_position
|
- mkdir leo_position && cd leo_position
|
||||||
- mkdir gpsL1galE1gpsL5GalE5 && cd gpsL1galE1gpsL5GalE5
|
- mkdir gpsL1galE1gpsL5GalE5 && cd gpsL1galE1gpsL5GalE5
|
||||||
- ../../install/position_test --config_file_ptest=/captures/gitlab_test_signals/dynamic/gnss-sdr_180417120737.A_L1E1L5E5.conf
|
- cp /captures/gitlab_test_signals/dynamic/gnss-sdr_180417120737.A_L1E1L5E5.conf ./gnss-sdr_180417120737.A_L1E1L5E5.conf
|
||||||
|
- position_test --config_file_ptest=gnss-sdr_180417120737.A_L1E1L5E5.conf
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- leo_position/*
|
- leo_position/gpsL1galE1gpsL5GalE5/*
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user