Don't run WinRM tests when run_windows_tests variable is false (default).
@@ -125,12 +125,21 @@ TEST_ACTION_LIST=`st2 action list --pack=tests -w 90 | awk '{ print $2 }' | grep
for TEST in $TEST_ACTION_LIST
do
# If -w option is not set, skip Windows related tests
- # because smbclient is not installed by default.
if [ ${RUN_WINDOWS_TESTS} = "false" ] && [ ${TEST} = "tests.test_windows_runners" ]; then
echo "Skipping ${TEST}..."
continue
fi
+ if [ ${RUN_WINDOWS_TESTS} = "false" ] && [ ${TEST} = "tests.test_winrm_runners" ]; then
+ echo "Skipping ${TEST}..."
+ continue
+ fi
+
+ if [ ${RUN_WINDOWS_TESTS} = "false" ] && [ ${TEST} = "test_winrm_large_script" ]; then
+ echo "Skipping ${TEST}..."
+ continue
+ fi
+
# Skip Mistral Inquiry test if we're not running Mistral tests
if [ ${RUN_MISTRAL_TESTS} = "false" ] && [ ${TEST} = "tests.test_inquiry_mistral" ]; then
echo "Skipping ${TEST}..."
