summaryrefslogtreecommitdiffstats
path: root/test/MSVC/msvc.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-13 01:51:38 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-13 01:51:38 (GMT)
commitb895d0ec04017a7e276d0643465d1866a72e4605 (patch)
tree937afc72e09ac5c12a86c80ff5841fd4b8ad0284 /test/MSVC/msvc.py
parent4d20bdbb93fbb9053eee9430a2ab759d8e502a2f (diff)
downloadSCons-b895d0ec04017a7e276d0643465d1866a72e4605.zip
SCons-b895d0ec04017a7e276d0643465d1866a72e4605.tar.gz
SCons-b895d0ec04017a7e276d0643465d1866a72e4605.tar.bz2
fix py2/3 issues mostly rb/wb mode='r' fixes
Diffstat (limited to 'test/MSVC/msvc.py')
-rw-r--r--test/MSVC/msvc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MSVC/msvc.py b/test/MSVC/msvc.py
index a70ed67..838922c 100644
--- a/test/MSVC/msvc.py
+++ b/test/MSVC/msvc.py
@@ -43,6 +43,7 @@ test.skip_if_not_msvc()
test.write('SConstruct',"""
import os
+DefaultEnvironment(tools=[])
# TODO: this is order-dependent (putting 'mssdk' second or third breaks),
# and ideally we shouldn't need to specify the tools= list anyway.
env = Environment(tools=['mssdk', 'msvc', 'mslink'])
@@ -179,6 +180,8 @@ start = time.time()
test.run(arguments='slow.obj', stderr=None)
slow = time.time() - start
+
+# TODO: Reevaluate if having this part of the test makes sense any longer
# using precompiled headers should be faster
limit = slow*0.90
if fast >= limit: