Fix TSAN artifact gathering in CI

Fixup for 2c3b2dabe9.

We forgot to update TSAN paths when moving all the unit tests to
/tests/.  Let's remove paths from find to make it less dependent on
exact location, and store all untracked files as we do in the normal
unit test template.

Related: !6243
This commit is contained in:
Petr Špaček 2022-10-04 16:14:00 +02:00
parent faba965871
commit 9559eb3b21
No known key found for this signature in database
GPG key ID: ABD587CDF06581AE

View file

@ -333,12 +333,12 @@ stages:
after_script:
- cat bin/tests/system/test-suite.log
- *find_python
- find bin -name 'tsan.*' -exec "$PYTHON" util/parse_tsan.py {} \;
- find -name 'tsan.*' -exec "$PYTHON" util/parse_tsan.py {} \;
- >
"$PYTHON" bin/tests/convert-trs-to-junit.py . > "$CI_PROJECT_DIR"/junit.xml
artifacts:
expire_in: "1 day"
untracked: true
expire_in: "1 day"
when: always
reports:
junit: junit.xml
@ -378,15 +378,12 @@ stages:
<<: *unit_test_common
after_script:
- *find_python
- find lib -name 'tsan.*' -exec "$PYTHON" util/parse_tsan.py {} \;
- find -name 'tsan.*' -exec "$PYTHON" util/parse_tsan.py {} \;
- >
"$PYTHON" bin/tests/convert-trs-to-junit.py . > "$CI_PROJECT_DIR"/junit.xml
artifacts:
untracked: true
expire_in: "1 day"
paths:
- tests/*/tsan.*
- tsan/
- junit.xml
when: always
reports:
junit: junit.xml