summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorDaniel <dmoody256@gmail.com>2019-01-09 02:32:07 (GMT)
committerDaniel <dmoody256@gmail.com>2019-01-09 02:32:07 (GMT)
commita714a848fd6935c305c553347355887c71c0ffdf (patch)
tree1562511114f0616add4669838cd068250d10c0e0 /testing
parentd26c59a65ca7efb98a2a6e1ebf75fb8a36c1c8ed (diff)
downloadSCons-a714a848fd6935c305c553347355887c71c0ffdf.zip
SCons-a714a848fd6935c305c553347355887c71c0ffdf.tar.gz
SCons-a714a848fd6935c305c553347355887c71c0ffdf.tar.bz2
use the vcvars batch script to find installed vc's
Diffstat (limited to 'testing')
-rw-r--r--testing/framework/TestSCons.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/framework/TestSCons.py b/testing/framework/TestSCons.py
index b543c07..01002c5 100644
--- a/testing/framework/TestSCons.py
+++ b/testing/framework/TestSCons.py
@@ -1072,7 +1072,7 @@ SConscript( sconscript )
try:
import SCons.Tool.MSCommon as msc
- if not msc.msvc_exists():
+ if not msc.msvc_exists(self.Environment()):
msg = "No MSVC toolchain found...skipping test\n"
self.skip_test(msg)
except: