From: Ondřej Surý Date: Wed, 22 Apr 2020 12:58:55 +0000 (+0200) Subject: Properly fail the GitLab CI system test job when any system test fails X-Git-Tag: v9.17.2~121^2~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=626409aac9cafb7ecaf1f5dbd3783f717ad4c280;p=thirdparty%2Fbind9.git Properly fail the GitLab CI system test job when any system test fails --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0245affc043..6c741360895 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -255,8 +255,9 @@ stages: - *setup_interfaces - *setup_softhsm script: - - ( cd bin/tests/system && make -j${TEST_PARALLEL_JOBS:-1} -k check V=1 ) || cat bin/tests/system/test-suite.log - - test -s bin/tests/system/test-suite.log + - cd bin/tests/system && make -j${TEST_PARALLEL_JOBS:-1} -k check V=1 + after_script: + - cat bin/tests/system/test-suite.log .system_test: &system_test_job <<: *system_test_common @@ -269,6 +270,7 @@ stages: <<: *system_test_common allow_failure: true after_script: + - cat bin/tests/system/test-suite.log - find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \; artifacts: expire_in: "1 day"