]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Looking for errors in dig output files must not fail
authorMichal Nowak <mnowak@isc.org>
Thu, 6 Apr 2023 07:36:21 +0000 (09:36 +0200)
committerMichal Nowak <mnowak@isc.org>
Thu, 6 Apr 2023 07:44:49 +0000 (09:44 +0200)
If no errors in dig output files of failed tests are found, TSAN file
parsing won't occur.

.gitlab-ci.yml

index 687054ed5b0d76b488840214ba18460998c34967..fa165f0876c5f6c12346ae61fd7e5dbdd1f7e8d4 100644 (file)
@@ -321,7 +321,7 @@ stages:
     - REALSOURCEDIR="$PWD"
     - test -n "${OUT_OF_TREE_WORKSPACE}" && cd "${OUT_OF_TREE_WORKSPACE}"
     - cat bin/tests/system/test-suite.log
-    - find bin/tests/system -name "*dig.*" | xargs grep "error"
+    - find bin/tests/system -name "*dig.*" | xargs grep "error" || true
     - *find_python
     - >
       "$PYTHON" "$REALSOURCEDIR"/bin/tests/convert-trs-to-junit.py . > "$CI_PROJECT_DIR"/junit.xml
@@ -344,7 +344,7 @@ stages:
   <<: *system_test_common
   after_script:
     - cat bin/tests/system/test-suite.log
-    - find bin/tests/system -name "*dig.*" | xargs grep "error"
+    - find bin/tests/system -name "*dig.*" | xargs grep "error" || true
     - *find_python
     - *parse_tsan
     - >