]> 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 14:35:33 +0000 (16:35 +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.

(cherry picked from commit 60f5f2a9d9d8853f1de25ed29e285a33d6093b73)

.gitlab-ci.yml

index babd61f43192cd26001d47d6979c043364f46d79..022440b881a7bcc4592b87e1fb86564b4df6ef5d 100644 (file)
@@ -538,6 +538,10 @@ cross-version-config-tests:
     - cd "bind-${BASELINE}"
     - *configure
     - make -j${BUILD_PARALLEL_JOBS:-1}
+    # 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
     # Neutralize shell and pytests; in effect, "nsX" servers are just started
     # and stopped, thus configuration checked.