]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Check for "file not removed" in system test output
authorMichal Nowak <mnowak@isc.org>
Mon, 15 Feb 2021 10:59:33 +0000 (11:59 +0100)
committerMichal Nowak <mnowak@isc.org>
Wed, 17 Feb 2021 15:35:21 +0000 (16:35 +0100)
Run this check only when in Git repository, because the run.sh function
which produces the "file not removed" warning is run only when build
directory is the same as the source directory, that is only for in-tree
builds.

.gitlab-ci.yml

index 6b469844ccc66473de78a2350baaa316f005213a..4bcdae3baa253bbcbbac50930c60f1c425b002e8 100644 (file)
@@ -311,6 +311,7 @@ stages:
   script:
     - cd bin/tests/system
     - make -j${TEST_PARALLEL_JOBS:-1} -k check V=1
+    - if git rev-parse > /dev/null 2>&1; then ( ! grep "^I:.*:file.*not removed$" *.log ); fi
   after_script:
     - test -n "${OUT_OF_TREE_WORKSPACE}" && cd "${OUT_OF_TREE_WORKSPACE}"
     - test -d bind-* && cd bind-*