mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 20:50:33 +00:00
Add system tests to the test stage
This commit is contained in:
parent
6ef4895a9b
commit
d44fc6f935
@ -255,21 +255,25 @@ run-tests:
|
|||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y --no-install-recommends build-essential cmake 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
|
- 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
|
||||||
- mkdir build-test
|
- mkdir build-test
|
||||||
- mkdir build64
|
- mkdir build64
|
||||||
- cd build-test
|
- cd build-test
|
||||||
- cmake ..
|
- cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON ..
|
||||||
- make -j2
|
- make -j2
|
||||||
- make check
|
# Execute Unit Tests
|
||||||
- ../install/run_tests --gtest_output=xml
|
- ../install/run_tests --gtest_output=xml
|
||||||
- mv *.xml ../build64/
|
- mv *.xml ../build64/
|
||||||
|
# Execute System Tests
|
||||||
|
- ../install/position_test
|
||||||
|
- mv position_test*.txt ../build64/
|
||||||
- cd ..
|
- cd ..
|
||||||
- rm -rf build-test
|
- rm -rf build-test
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build64/*.xml
|
- build64/*.xml
|
||||||
|
- build64/*.txt
|
||||||
|
|
||||||
|
|
||||||
run-tests-i386:
|
run-tests-i386:
|
||||||
@ -277,21 +281,25 @@ run-tests-i386:
|
|||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y --no-install-recommends build-essential cmake 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
|
- 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
|
||||||
- mkdir build-test
|
- mkdir build-test
|
||||||
- mkdir build32
|
- mkdir build32
|
||||||
- cd build-test
|
- cd build-test
|
||||||
- cmake -DENABLE_PACKAGING=ON ..
|
- cmake -DENABLE_PACKAGING=ON -DENABLE_SYSTEM_TESTING_EXTRA=ON ..
|
||||||
- make -j2
|
- make -j2
|
||||||
- make check
|
# Execute Unit Tests
|
||||||
- ../install/run_tests --gtest_output=xml
|
- ../install/run_tests --gtest_output=xml
|
||||||
- mv *.xml ../build32/
|
- mv *.xml ../build32/
|
||||||
|
# Execute System Tests
|
||||||
|
- ../install/position_test
|
||||||
|
- mv position_test*.txt ../build32/
|
||||||
- cd ..
|
- cd ..
|
||||||
- rm -rf build-test
|
- rm -rf build-test
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build32/*.xml
|
- build32/*.xml
|
||||||
|
- build32/*.txt
|
||||||
|
|
||||||
|
|
||||||
# Stage "deploy"
|
# Stage "deploy"
|
||||||
|
Loading…
Reference in New Issue
Block a user