From: garyo Date: Wed, 25 Nov 2009 03:51:06 +0000 (+0000) Subject: Another test fix for the MSVS tests. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=73789afde2fe097ea24cef09812d9b8610301ccb;p=scons.git Another test fix for the MSVS tests. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4482 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py index bfb54f6c..4673d0fe 100644 --- a/src/engine/SCons/Tool/MSCommon/vc.py +++ b/src/engine/SCons/Tool/MSCommon/vc.py @@ -237,6 +237,10 @@ def get_installed_vcs(): debug('did not find VC %s: caught exception %s' % (ver, str(e))) return installed_versions +def reset_installed_vcs(): + """Make it try again to find VC. This is just for the tests.""" + __INSTALLED_VCS_RUN = None + def script_env(script, args=None): stdout = common.get_output(script, args) # Stupid batch files do not set return code: we take a look at the