Extract TSAN parsing code

(cherry picked from commit 9856296666)
This commit is contained in:
Michal Nowak
2022-11-22 11:51:23 +01:00
parent 9dd77f770c
commit 865bc5c250

View File

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