From 0fff2157bf924bd3ce81ae1548f32812ed12c621 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Sat, 28 Nov 2009 00:41:26 +0000 Subject: [PATCH] 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 --- QMTest/TestSConsMSVS.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.26.2