summaryrefslogtreecommitdiffstats
path: root/test/fixture/no_msvc/no_msvcs_sconstruct.py
diff options
context:
space:
mode:
authorJoseph Brill <48932340+jcbrill@users.noreply.github.com>2022-04-12 14:20:49 (GMT)
committerJoseph Brill <48932340+jcbrill@users.noreply.github.com>2022-04-12 14:20:49 (GMT)
commitf338fee76045f94e78f25f15fea1d4bf33786d6e (patch)
tree82fcbc25fcc5546db4ac2e540a07fc20117dc97c /test/fixture/no_msvc/no_msvcs_sconstruct.py
parent8fca5898da15fe1b3f4f87fc35bed34c236e74cb (diff)
downloadSCons-f338fee76045f94e78f25f15fea1d4bf33786d6e.zip
SCons-f338fee76045f94e78f25f15fea1d4bf33786d6e.tar.gz
SCons-f338fee76045f94e78f25f15fea1d4bf33786d6e.tar.bz2
Raise MSVCVersionNotFound exception instead of returning an empty/undefined dictionary when attempting to find a valid msvc batch script. Raise an MSVCVersionNotFound exception when the default msvc version is requested and there are no msvc versions installed. Suppress raising an MSVCVersionNotFound exception during default msvc tool initialization. Add additional tests.
Diffstat (limited to 'test/fixture/no_msvc/no_msvcs_sconstruct.py')
-rw-r--r--test/fixture/no_msvc/no_msvcs_sconstruct.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/fixture/no_msvc/no_msvcs_sconstruct.py b/test/fixture/no_msvc/no_msvcs_sconstruct.py
index 18366d8..590142b 100644
--- a/test/fixture/no_msvc/no_msvcs_sconstruct.py
+++ b/test/fixture/no_msvc/no_msvcs_sconstruct.py
@@ -12,4 +12,3 @@ SCons.Tool.MSCommon.vc.find_vc_pdir_vswhere = DummyVsWhere
env = SCons.Environment.Environment()
-print('MSVC_VERSION='+str(env.get('MSVC_VERSION'))) \ No newline at end of file