]> 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 13:20:26 +0000 (15:20 +0200)
Reportedly we don't have python2-enabled TSAN builds, so we can remove
one more hardcoded python3 call from .gitlab-ci.yaml.

.gitlab-ci.yml

index a7953620925ae8b248dae59ac3de2d7532ff2cd8..6c14c941b16383b0705d99ddcdfa1952aa5ea440 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: