Unify Python interpreter used by TSAN and JUnit helpers

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 8d095550a8)
This commit is contained in:
Petr Špaček 2022-06-01 13:46:02 +02:00
parent 1067f114f9
commit bbe089615f
No known key found for this signature in database
GPG key ID: ABD587CDF06581AE

View 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: