]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Extract TSAN parsing code
authorMichal Nowak <mnowak@isc.org>
Tue, 22 Nov 2022 10:51:23 +0000 (11:51 +0100)
committerMichal Nowak <mnowak@isc.org>
Wed, 7 Dec 2022 06:28:03 +0000 (07:28 +0100)
.gitlab-ci.yml

index b9fdc1ac9a359e59ca65cc2f352ab383e8af0e64..496b2e04de919b0ccd62681583c2027555a1267c 100644 (file)
@@ -239,6 +239,9 @@ stages:
   - PYTHON="$(source bin/tests/system/conf.sh; echo $PYTHON)"
   - test -x "$PYTHON"
 
+.parse_tsan: &parse_tsan
+    - find -name 'tsan.*' -exec "$PYTHON" util/parse_tsan.py {} \;
+
 .check_readline_setup: &check_readline_setup
     - if [[ -n "${WITHOUT_READLINE}" ]]; then
         ! grep "^#define HAVE_READLINE" config.h;
@@ -336,7 +339,7 @@ stages:
   after_script:
     - cat bin/tests/system/test-suite.log
     - *find_python
-    - find -name 'tsan.*' -exec "$PYTHON" util/parse_tsan.py {} \;
+    - *parse_tsan
     - >
       "$PYTHON" bin/tests/convert-trs-to-junit.py . > "$CI_PROJECT_DIR"/junit.xml
   artifacts:
@@ -381,7 +384,7 @@ stages:
   <<: *unit_test_common
   after_script:
     - *find_python
-    - find -name 'tsan.*' -exec "$PYTHON" util/parse_tsan.py {} \;
+    - *parse_tsan
     - >
       "$PYTHON" bin/tests/convert-trs-to-junit.py . > "$CI_PROJECT_DIR"/junit.xml
   artifacts: