summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIbrahim Esmat <iesmat@microsoft.com>2017-07-26 18:39:13 (GMT)
committerIbrahim Esmat <iesmat@microsoft.com>2017-07-26 18:39:13 (GMT)
commit120b1633f2bc371df744fce06f5c5024fe59a174 (patch)
tree98525ba8e2b3bc88170ace45fae59fc7ad01382a
parent6537bede8fd7a346865cebfde59d3d4fe8f9cf1f (diff)
downloadSCons-120b1633f2bc371df744fce06f5c5024fe59a174.zip
SCons-120b1633f2bc371df744fce06f5c5024fe59a174.tar.gz
SCons-120b1633f2bc371df744fce06f5c5024fe59a174.tar.bz2
Minor changes for Code Review
-rw-r--r--test/MSVC/MSVC_UWP_APP.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/MSVC/MSVC_UWP_APP.py b/test/MSVC/MSVC_UWP_APP.py
index b6012cc..2521ad6 100644
--- a/test/MSVC/MSVC_UWP_APP.py
+++ b/test/MSVC/MSVC_UWP_APP.py
@@ -46,14 +46,14 @@ def AreVCStoreLibPathsInLIBPATH(output):
(vclibstore_path_present, vclibstorerefs_path_present) = (False, False)
for path in libpaths:
# Look for the Store VC Lib paths in the LIBPATH:
- # [VS install path]\VC\LIB\store\ and
+ # [VS install path]\VC\LIB\store[\arch] and
# [VS install path]\VC\LIB\store\references
# For example,
# C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\store\amd64
# C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\store\references
- if 'vc\\lib\\store\\references' in path:
+ if r'vc\lib\store\references' in path:
vclibstorerefs_path_present = True
- elif 'vc\\lib\\store' in path:
+ elif r'vc\lib\store' in path:
vclibstore_path_present = True
return (vclibstore_path_present, vclibstorerefs_path_present)
@@ -76,7 +76,7 @@ else:
help_vars = None
env = Environment(tools=['default', 'msvc'], variables=help_vars)
# Print the ENV LIBPATH to stdout
-print ('env[ENV][LIBPATH]=%s' % env.get('ENV').get('LIBPATH'))
+print('env[ENV][LIBPATH]=%s' % env.get('ENV').get('LIBPATH'))
""")
# Test setting MSVC_UWP_APP is '1' (True)