]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Unify Python interpreter used by TSAN and JUnit helpers
authorPetr Špaček <pspacek@isc.org>
Wed, 1 Jun 2022 11:46:02 +0000 (13:46 +0200)
committerPetr Špaček <pspacek@isc.org>
Thu, 22 Sep 2022 14:17:28 +0000 (16:17 +0200)
Reportedly we don't have python2-enabled TSAN builds, so we can remove
one more hardcoded python3 call from .gitlab-ci.yaml.

(cherry picked from commit 8d095550a8ebf70cc33953a2dd2f7bf150c900dc)

.gitlab-ci.yml

index 072a51ff1056c1b83684fa2607a15dbe817e5996..c6fa24ce16ab66c436dca93a25ade1acc8c64f07 100644 (file)
@@ -338,8 +338,8 @@ stages:
   <<: *system_test_common
   after_script:
     - cat bin/tests/system/test-suite.log
-    - find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
     - *find_python
+    - find bin -name 'tsan.*' -exec "$PYTHON" util/parse_tsan.py {} \;
     - >
       "$PYTHON" bin/tests/convert-trs-to-junit.py . > "$CI_PROJECT_DIR"/junit.xml
   artifacts:
@@ -383,8 +383,8 @@ stages:
 .unit_test_tsan: &unit_test_tsan_job
   <<: *unit_test_common
   after_script:
-    - find lib -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
     - *find_python
+    - find lib -name 'tsan.*' -exec "$PYTHON" util/parse_tsan.py {} \;
     - >
       "$PYTHON" bin/tests/convert-trs-to-junit.py . > "$CI_PROJECT_DIR"/junit.xml
   artifacts: