summaryrefslogtreecommitdiffstats
path: root/test/MSVC
diff options
context:
space:
mode:
authorDaniel <dmoody256@gmail.com>2019-01-10 09:05:24 (GMT)
committerDaniel <dmoody256@gmail.com>2019-01-10 09:15:14 (GMT)
commit3e68e53b03e531f453edba8bc0443b5c19dde211 (patch)
treed857b675f6903e5df90ee6e053ba33a0c4dba393 /test/MSVC
parenta362956e9af4095ff946bffd32ae275030806ac5 (diff)
downloadSCons-3e68e53b03e531f453edba8bc0443b5c19dde211.zip
SCons-3e68e53b03e531f453edba8bc0443b5c19dde211.tar.gz
SCons-3e68e53b03e531f453edba8bc0443b5c19dde211.tar.bz2
added name for cl.exe and have older versions walk for cl.exe
fixed syntax error removed debug print
Diffstat (limited to 'test/MSVC')
-rw-r--r--test/MSVC/MSVC_UWP_APP.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/MSVC/MSVC_UWP_APP.py b/test/MSVC/MSVC_UWP_APP.py
index cdd260c..861edcd 100644
--- a/test/MSVC/MSVC_UWP_APP.py
+++ b/test/MSVC/MSVC_UWP_APP.py
@@ -108,7 +108,7 @@ env = Environment(tools=['default', 'msvc'], variables=help_vars, MSVC_VERSION='
# Print the ENV LIBPATH to stdout
print('env[ENV][LIBPATH]=%s' % env.get('ENV').get('LIBPATH'))
print('env[MSVC_VERSION]=%s' % env.get('MSVC_VERSION'))
- """)
+""")
# Test setting MSVC_UWP_APP is '1' (True)
test.run(arguments = "MSVC_UWP_APP=1")
@@ -142,13 +142,12 @@ else:
help_vars = None
env = Environment(tools=['default', 'msvc'], variables=help_vars, MSVC_VERSION='14.1')
# Print the ENV LIBPATH to stdout
-print(str(env.get('ENV')))
print('env[ENV][LIBPATH]=%s' % env.get('ENV').get('LIBPATH'))
print('env[MSVC_VERSION]=%s' % env.get('MSVC_VERSION'))
print('env[ENV][VSCMD_ARG_app_plat]=%s' % env.get('ENV').get('VSCMD_ARG_app_plat'))
- """)
+""")
- # 2017 adds
+ # Test setting MSVC_UWP_APP is '1' (True)
test.run(arguments = "MSVC_UWP_APP=1")
(vclibstore_path_present, vclibstorerefs_path_present, msvc_version) = AreVCStoreLibPathsInLIBPATH(test.stdout())
test.fail_test((vclibstore_path_present is False) or (vclibstorerefs_path_present is False),