mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 07:35:26 +00:00
Merge branch 'mnowak/cross-version-config-tests-drop-allow_failure-true' into 'main'
Drop "allow_failure: true" in cross-version-config-tests job See merge request isc-projects/bind9!9044
This commit is contained in:
@@ -688,6 +688,7 @@ cross-version-config-tests:
|
|||||||
# Disable option checking to prevent problems with new default options in
|
# Disable option checking to prevent problems with new default options in
|
||||||
# the &configure anchor.
|
# the &configure anchor.
|
||||||
EXTRA_CONFIGURE: "--disable-option-checking"
|
EXTRA_CONFIGURE: "--disable-option-checking"
|
||||||
|
PYTEST: "/usr/bin/pytest-3"
|
||||||
script:
|
script:
|
||||||
- *configure
|
- *configure
|
||||||
- *setup_interfaces
|
- *setup_interfaces
|
||||||
@@ -697,13 +698,16 @@ cross-version-config-tests:
|
|||||||
- autoreconf -fi
|
- autoreconf -fi
|
||||||
- *configure
|
- *configure
|
||||||
- make -j${BUILD_PARALLEL_JOBS:-1}
|
- make -j${BUILD_PARALLEL_JOBS:-1}
|
||||||
- *find_pytest
|
|
||||||
- cd bin/tests/system
|
- cd bin/tests/system
|
||||||
# Run the setup phase of all system tests in the most recently tagged BIND 9
|
# Run the setup phase of all system tests in the most recently tagged BIND 9
|
||||||
# release using the binaries built for the current BIND 9 version. This
|
# release using the binaries built for the current BIND 9 version. This
|
||||||
# intends to detect obvious backward compatibility issues with the latter.
|
# intends to detect obvious backward compatibility issues with the latter.
|
||||||
- >
|
- >
|
||||||
sed -i -E "s|(\s* \"TOP_BUILDDIR\"):.*|\1: \"${CI_PROJECT_DIR}\",|" isctest/vars/autoconf.py
|
if [ -f isctest/vars/autoconf.py ]; then
|
||||||
|
echo "${CI_PROJECT_DIR}" > isctest/vars/.ac_vars/TOP_BUILDDIR
|
||||||
|
else
|
||||||
|
sed -i -E "s|(export TOP_BUILDDIR)=.*|\1=${CI_PROJECT_DIR}|" conf.sh;
|
||||||
|
fi
|
||||||
- >
|
- >
|
||||||
"$PYTEST" --setup-only --junit-xml="$CI_PROJECT_DIR"/junit.xml -n "${TEST_PARALLEL_JOBS:-1}"
|
"$PYTEST" --setup-only --junit-xml="$CI_PROJECT_DIR"/junit.xml -n "${TEST_PARALLEL_JOBS:-1}"
|
||||||
needs:
|
needs:
|
||||||
@@ -720,7 +724,6 @@ cross-version-config-tests:
|
|||||||
untracked: true
|
untracked: true
|
||||||
expire_in: "1 day"
|
expire_in: "1 day"
|
||||||
when: always
|
when: always
|
||||||
allow_failure: true # pytest env variable refactoring
|
|
||||||
|
|
||||||
# Jobs for regular GCC builds on Alpine Linux 3.20 (amd64)
|
# Jobs for regular GCC builds on Alpine Linux 3.20 (amd64)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user