]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Drop removed system tests from $BIND_BASELINE_VERSION
authorMichal Nowak <mnowak@isc.org>
Mon, 26 Aug 2024 11:41:47 +0000 (13:41 +0200)
committerMichal Nowak <mnowak@isc.org>
Mon, 26 Aug 2024 11:41:47 +0000 (13:41 +0200)
The cross-version-config-tests job fails when a system test is removed
from the upcoming release. To avoid this, remove the system test also
from the $BIND_BASELINE_VERSION.

.gitlab-ci.yml

index f63965f81c2670a0c24a5468239832f4c9bbdc8f..bdd69f411fa09c8843ab6dcf49384235b4f42d89 100644 (file)
@@ -711,6 +711,10 @@ cross-version-config-tests:
     - *configure
     - make -j${BUILD_PARALLEL_JOBS:-1}
     - *find_pytest
+    # The cross-version-config-tests job would fail when a system test is
+    # removed from the upcoming release. To avoid this, remove the system test
+    # also from the $BIND_BASELINE_VERSION.
+    - find bin/tests/system/ -mindepth 1 -maxdepth 1 -type d -exec sh -c 'test -e ../"$0" || rm -rfv -- "$0"' {} \;
     - 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