diff options
author | Matt Clay <matt@mystile.com> | 2020-03-04 11:14:39 -0800 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2020-03-04 12:08:05 -0800 |
commit | a51266ba8589a4a43fee13f26beafdf436dab0de (patch) | |
tree | f06c5e5479d66fa0c77d4e44ff3902aa2de72e35 /test/utils | |
parent | 833970483100bfe89123a5718606234115921aec (diff) | |
download | ansible-a51266ba8589a4a43fee13f26beafdf436dab0de.tar.gz |
Skip removed windows CI groups after migration.
Diffstat (limited to 'test/utils')
-rwxr-xr-x | test/utils/shippable/windows.sh | 6 |
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 |