2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

Fail CI pipeline when "make test" does not run any system tests

Apart from ensuring "make test" returns 0, also check whether any system
test output was generated as a result of running it.  This prevents the
CI job running system tests from succeeding unless it actually tests
something.
This commit is contained in:
Michał Kępień
2018-04-06 12:09:48 +02:00
committed by Evan Hunt
parent 06d164306b
commit 80ab2c0f22

View File

@@ -100,7 +100,8 @@ stages:
- rm -rf .ccache - rm -rf .ccache
- bash -x bin/tests/system/ifconfig.sh up - bash -x bin/tests/system/ifconfig.sh up
script: script:
- cd bin/tests && make -j${TEST_PARALLEL_JOBS:-1} -k test V=1 - ( cd bin/tests && make -j${TEST_PARALLEL_JOBS:-1} -k test V=1 )
- test -s bin/tests/system/systests.output
artifacts: artifacts:
untracked: true untracked: true
expire_in: '1 week' expire_in: '1 week'