diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 14ad716446..8a2f5e3674 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -246,6 +246,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; @@ -343,7 +346,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: @@ -388,7 +391,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: