summaryrefslogtreecommitdiffstats
path: root/test/utils
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2020-03-04 20:14:39 +0100
committerMatt Clay <matt@mystile.com>2020-03-04 21:08:05 +0100
commita51266ba8589a4a43fee13f26beafdf436dab0de (patch)
treef06c5e5479d66fa0c77d4e44ff3902aa2de72e35 /test/utils
parentCreate a dedicated windows-minimal test target. (#67987) (diff)
downloadansible-a51266ba8589a4a43fee13f26beafdf436dab0de.tar.xz
ansible-a51266ba8589a4a43fee13f26beafdf436dab0de.zip
Skip removed windows CI groups after migration.
Diffstat (limited to 'test/utils')
-rwxr-xr-xtest/utils/shippable/windows.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/utils/shippable/windows.sh b/test/utils/shippable/windows.sh
index b4459a1381..f349057f75 100755
--- a/test/utils/shippable/windows.sh
+++ b/test/utils/shippable/windows.sh
@@ -17,6 +17,12 @@ provider="${P:-default}"
if [ -f lib/ansible/config/routing.yml ]; then
# this option is only useful for ansible/ansible (not collections) and should not be used prior to migration (except for incidental tests)
enable_test_support=--enable-test-support
+
+ if ! ansible-test windows-integration "${target}" --list-targets > /dev/null 2>&1; then
+ # allow tests to pass when windows groups do not exist after migration, making preparation for migration easier
+ echo "Nothing to do since there are no tests after migration for: ${target}"
+ exit
+ fi
fi
# python versions to test in order