From 73789afde2fe097ea24cef09812d9b8610301ccb Mon Sep 17 00:00:00 2001 From: garyo Date: Wed, 25 Nov 2009 03:51:06 +0000 Subject: [PATCH] Another test fix for the MSVS tests. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4482 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Tool/MSCommon/vc.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.26.2