]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Print test-suite.log correctly in tarball system test job
authorMichal Nowak <mnowak@isc.org>
Wed, 19 Aug 2020 09:16:11 +0000 (11:16 +0200)
committerMichal Nowak <mnowak@isc.org>
Fri, 28 Aug 2020 12:00:10 +0000 (14:00 +0200)
Printing test-suite.log on system test failure does not work for system
test run from tarball because the "after_script" step does not honour
directory change from the "before_script" step and fails with:

    Running after script...
    $ cat bin/tests/system/test-suite.log
    cat: bin/tests/system/test-suite.log: No such file or directory

.gitlab-ci.yml

index 6108ea7d0bf43225e0a50e750c14a8317435ad22..bd5496badeb333d5bec1de027f556e983a804767 100644 (file)
@@ -272,6 +272,7 @@ stages:
     - cd bin/tests/system
     - make -j${TEST_PARALLEL_JOBS:-1} -k check V=1
   after_script:
+    - test -d bind-* && cd bind-*
     - cat bin/tests/system/test-suite.log
 
 .system_test: &system_test_job