mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 04:40:00 -04: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:
parent
06d164306b
commit
80ab2c0f22
1 changed files with 2 additions and 1 deletions
|
|
@ -100,7 +100,8 @@ stages:
|
|||
- rm -rf .ccache
|
||||
- bash -x bin/tests/system/ifconfig.sh up
|
||||
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:
|
||||
untracked: true
|
||||
expire_in: '1 week'
|
||||
|
|
|
|||
Loading…
Reference in a new issue