]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Revert "Workaround temporary cross-version-config-tests limitation"
authorMichal Nowak <mnowak@isc.org>
Fri, 24 May 2024 11:39:44 +0000 (13:39 +0200)
committerMichal Nowak <mnowak@isc.org>
Thu, 22 Aug 2024 10:19:52 +0000 (10:19 +0000)
With the release of BIND 9.19.25 this workaround is not needed anymore.

This reverts commit c58dd6e78f9c69667f0abb71d4c162a479a87029.

.gitlab-ci.yml

index 60c0657d7be7a3ae829a2d90f03015d3a5586af1..42849553c3329ece30e2e3020dc0f8fa6b7388b5 100644 (file)
@@ -701,7 +701,6 @@ cross-version-config-tests:
     # Disable option checking to prevent problems with new default options in
     # the &configure anchor.
     EXTRA_CONFIGURE: "--disable-option-checking"
-    PYTEST: "/usr/bin/pytest-3"
   script:
     - *configure
     - *setup_interfaces
@@ -711,16 +710,13 @@ cross-version-config-tests:
     - autoreconf -fi
     - *configure
     - make -j${BUILD_PARALLEL_JOBS:-1}
+    - *find_pytest
     - cd bin/tests/system
     # 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
     # intends to detect obvious backward compatibility issues with the latter.
     - >
-      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
+      echo "${CI_PROJECT_DIR}" > isctest/vars/.ac_vars/TOP_BUILDDIR
     - >
       "$PYTEST" --setup-only --junit-xml="$CI_PROJECT_DIR"/junit.xml -n "${TEST_PARALLEL_JOBS:-1}"
   needs: