From: stevenknight Date: Sat, 28 Nov 2009 00:41:26 +0000 (+0000) Subject: Fix test infrastructure querying for installed Visual Studio versions. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0fff2157bf924bd3ce81ae1548f32812ed12c621;p=scons.git Fix test infrastructure querying for installed Visual Studio versions. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4490 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/QMTest/TestSConsMSVS.py b/QMTest/TestSConsMSVS.py index 15012d6f..5fea14ae 100644 --- a/QMTest/TestSConsMSVS.py +++ b/QMTest/TestSConsMSVS.py @@ -577,9 +577,9 @@ class TestSConsMSVS(TestSCons): # doesn't fill it in when packaging SCons. input = """\ import SCons +import SCons.Tool.MSCommon print "self.scons_version =", repr(SCons.__%s__) -env = Environment(); -print "self._msvs_versions =", str(env['MSVS']['VERSIONS']) +print "self._msvs_versions =", str(SCons.Tool.MSCommon.query_versions()) """ % 'version' self.run(arguments = '-n -q -Q -f -', stdin = input)