summaryrefslogtreecommitdiffstats
path: root/test/MSVC/no_msvc.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/MSVC/no_msvc.py')
-rw-r--r--test/MSVC/no_msvc.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MSVC/no_msvc.py b/test/MSVC/no_msvc.py
index 4ab7dd8..1a522c6 100644
--- a/test/MSVC/no_msvc.py
+++ b/test/MSVC/no_msvc.py
@@ -67,5 +67,15 @@ def exists(env):
test.file_fixture('no_msvc/no_msvcs_sconstruct_tools.py', 'SConstruct')
test.run(arguments='-Q -s')
+# test no msvc's and msvc_sdk_version() call
+test.file_fixture('no_msvc/no_msvcs_sconstruct_msvc_sdk_versions.py', 'SConstruct')
+test.run(arguments='-Q -s')
+test.must_contain_all(test.stdout(), 'sdk_version_list=[]')
+
+# test no msvc's and msvc_sdk_version() call
+test.file_fixture('no_msvc/no_msvcs_sconstruct_msvc_toolset_versions.py', 'SConstruct')
+test.run(arguments='-Q -s')
+test.must_contain_all(test.stdout(), 'toolset_version_list=[]')
+
test.pass_test()