From 27ce6dbc1f4b9675fa220d795b3dc7e7e2937a03 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 10 Mar 2020 09:58:58 -0700 Subject: Remove test support option from ansible-test. This option was added to facilitate migration and is no longer needed. --- test/utils/shippable/incidental/cloud.sh | 1 - test/utils/shippable/incidental/linux.sh | 1 - test/utils/shippable/incidental/network.sh | 1 - test/utils/shippable/incidental/remote.sh | 1 - test/utils/shippable/incidental/windows.sh | 1 - test/utils/shippable/linux.sh | 7 ------- test/utils/shippable/remote.sh | 7 ------- test/utils/shippable/windows.sh | 7 ------- 8 files changed, 26 deletions(-) (limited to 'test/utils') diff --git a/test/utils/shippable/incidental/cloud.sh b/test/utils/shippable/incidental/cloud.sh index fdf8668acf..ad20edd361 100755 --- a/test/utils/shippable/incidental/cloud.sh +++ b/test/utils/shippable/incidental/cloud.sh @@ -36,6 +36,5 @@ for python_version in "${python_versions[@]}"; do ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \ --remote-terminate "${terminate}" \ --remote-stage "${stage}" \ - --enable-test-support \ --docker --python "${python_version}" done diff --git a/test/utils/shippable/incidental/linux.sh b/test/utils/shippable/incidental/linux.sh index 201d23bc48..2f513dd252 100755 --- a/test/utils/shippable/incidental/linux.sh +++ b/test/utils/shippable/incidental/linux.sh @@ -12,4 +12,3 @@ target="shippable/posix/incidental/" # shellcheck disable=SC2086 ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \ --docker "${image}" \ - --enable-test-support \ diff --git a/test/utils/shippable/incidental/network.sh b/test/utils/shippable/incidental/network.sh index f46c5013f6..0ef1f6733b 100755 --- a/test/utils/shippable/incidental/network.sh +++ b/test/utils/shippable/incidental/network.sh @@ -40,7 +40,6 @@ for python_version in "${python_versions[@]}"; do --platform-connection "${platform}=ansible.netcommon.network_cli" \ --platform-collection "vyos=vyos.vyos" \ --platform-collection "ios=cisco.ios" \ - --enable-test-support \ --docker default --python "${python_version}" \ --remote-terminate "${terminate}" --remote-stage "${stage}" --remote-provider "${provider}" done diff --git a/test/utils/shippable/incidental/remote.sh b/test/utils/shippable/incidental/remote.sh index c3f1331582..0d4e0312ab 100755 --- a/test/utils/shippable/incidental/remote.sh +++ b/test/utils/shippable/incidental/remote.sh @@ -16,4 +16,3 @@ provider="${P:-default}" # shellcheck disable=SC2086 ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \ --remote "${platform}/${version}" --remote-terminate always --remote-stage "${stage}" --remote-provider "${provider}" \ - --enable-test-support \ diff --git a/test/utils/shippable/incidental/windows.sh b/test/utils/shippable/incidental/windows.sh index f84d7c3ba3..c168f92538 100755 --- a/test/utils/shippable/incidental/windows.sh +++ b/test/utils/shippable/incidental/windows.sh @@ -72,6 +72,5 @@ for version in "${python_versions[@]}"; do ansible-test windows-integration --color -v --retry-on-error "${ci}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \ "${platforms[@]}" \ --docker default --python "${version}" \ - --enable-test-support \ --remote-terminate "${terminate}" --remote-stage "${stage}" --remote-provider "${provider}" done diff --git a/test/utils/shippable/linux.sh b/test/utils/shippable/linux.sh index 579ae667d3..9cc2f966cb 100755 --- a/test/utils/shippable/linux.sh +++ b/test/utils/shippable/linux.sh @@ -13,13 +13,6 @@ else target="shippable/posix/" fi -# detect the post migration ansible/ansible repo and enable test support plugins -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 -fi - # shellcheck disable=SC2086 ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \ - ${enable_test_support:+"$enable_test_support"} \ --docker "${image}" diff --git a/test/utils/shippable/remote.sh b/test/utils/shippable/remote.sh index f1d575474a..cd3014ccac 100755 --- a/test/utils/shippable/remote.sh +++ b/test/utils/shippable/remote.sh @@ -17,13 +17,6 @@ fi stage="${S:-prod}" provider="${P:-default}" -# detect the post migration ansible/ansible repo and enable test support plugins -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 -fi - # shellcheck disable=SC2086 ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \ - ${enable_test_support:+"$enable_test_support"} \ --remote "${platform}/${version}" --remote-terminate always --remote-stage "${stage}" --remote-provider "${provider}" diff --git a/test/utils/shippable/windows.sh b/test/utils/shippable/windows.sh index b4459a1381..549d6a80b5 100755 --- a/test/utils/shippable/windows.sh +++ b/test/utils/shippable/windows.sh @@ -13,12 +13,6 @@ target="shippable/windows/group${group}/" stage="${S:-prod}" provider="${P:-default}" -# detect the post migration ansible/ansible repo and enable test support plugins -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 -fi - # python versions to test in order # python 2.7 runs full tests while other versions run minimal tests python_versions=( @@ -99,6 +93,5 @@ for version in "${python_versions[@]}"; do ansible-test windows-integration --color -v --retry-on-error "${ci}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \ "${platforms[@]}" --changed-all-target "${changed_all_target}" --changed-all-mode "${changed_all_mode}" \ --docker default --python "${version}" \ - ${enable_test_support:+"$enable_test_support"} \ --remote-terminate "${terminate}" --remote-stage "${stage}" --remote-provider "${provider}" done -- cgit v1.2.3