mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 08:35:31 +00:00
Generate and capture JUnit XML output from cross-version-config-tests
This commit is contained in:
@@ -376,16 +376,19 @@ cross-version-config-tests:
|
|||||||
# intends to detect obvious backward compatibility issues with the latter.
|
# intends to detect obvious backward compatibility issues with the latter.
|
||||||
- sed -i -E "s|(export TOP_BUILDDIR)=.*|\1=${CI_PROJECT_DIR}|" conf.sh
|
- sed -i -E "s|(export TOP_BUILDDIR)=.*|\1=${CI_PROJECT_DIR}|" conf.sh
|
||||||
- >
|
- >
|
||||||
"$PYTEST" --setup-only -n "${TEST_PARALLEL_JOBS:-1}"
|
"$PYTEST" --setup-only --junit-xml="$CI_PROJECT_DIR"/junit.xml -n "${TEST_PARALLEL_JOBS:-1}"
|
||||||
needs:
|
needs:
|
||||||
- job: autoreconf
|
- job: autoreconf
|
||||||
artifacts: true
|
artifacts: true
|
||||||
artifacts:
|
artifacts:
|
||||||
|
reports:
|
||||||
|
junit: junit.xml
|
||||||
paths:
|
paths:
|
||||||
- bind-*
|
- bind-*
|
||||||
|
- junit.xml
|
||||||
untracked: true
|
untracked: true
|
||||||
expire_in: "1 day"
|
expire_in: "1 day"
|
||||||
when: on_failure
|
when: always
|
||||||
|
|
||||||
.display_pytest_failures: &display_pytest_failures
|
.display_pytest_failures: &display_pytest_failures
|
||||||
- awk '/^=+ FAILURES =+/{flag=1;next}/^=+.*=+$/{flag=0}flag' bin/tests/system/pytest.out.txt || true
|
- awk '/^=+ FAILURES =+/{flag=1;next}/^=+.*=+$/{flag=0}flag' bin/tests/system/pytest.out.txt || true
|
||||||
|
Reference in New Issue
Block a user