diff options
author | Joseph Brill <48932340+jcbrill@users.noreply.github.com> | 2021-10-05 17:06:10 (GMT) |
---|---|---|
committer | Joseph Brill <48932340+jcbrill@users.noreply.github.com> | 2021-10-05 17:06:10 (GMT) |
commit | bbe2f48d6621ca55288a9e15a8bd9115a58214a8 (patch) | |
tree | 1b57fc3c6888dff593b8dabc15669ecc178a9671 | |
parent | e8ac6cc06c5d2341053e8c9ffed5160d0d2e563f (diff) | |
download | SCons-bbe2f48d6621ca55288a9e15a8bd9115a58214a8.zip SCons-bbe2f48d6621ca55288a9e15a8bd9115a58214a8.tar.gz SCons-bbe2f48d6621ca55288a9e15a8bd9115a58214a8.tar.bz2 |
Fix variable name (msvs_143 to msvc_143) and minor updates based on slider output.
-rw-r--r-- | test/MSVC/MSVC_UWP_APP.py | 2 | ||||
-rw-r--r-- | test/MSVS/vs-14.3-exec.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/MSVC/MSVC_UWP_APP.py b/test/MSVC/MSVC_UWP_APP.py index ca0bdd7..6ccd117 100644 --- a/test/MSVC/MSVC_UWP_APP.py +++ b/test/MSVC/MSVC_UWP_APP.py @@ -129,7 +129,7 @@ print('env[MSVC_VERSION]=%s' % env.get('MSVC_VERSION')) test.fail_test((vclibstore_path_present is True) or (vclibstorerefs_path_present is True), message='VC Store LIBPATHs present when MSVC_UWP_APP not set (msvc_version=%s)' % msvc_version) -if msvc_141 or msvc_142 or msvs_143: +if msvc_141 or msvc_142 or msvc_143: if msvc_143: test.write('SConstruct', """\ if ARGUMENTS.get('MSVC_UWP_APP'): diff --git a/test/MSVS/vs-14.3-exec.py b/test/MSVS/vs-14.3-exec.py index 0f038f0..840b432 100644 --- a/test/MSVS/vs-14.3-exec.py +++ b/test/MSVS/vs-14.3-exec.py @@ -43,7 +43,7 @@ if sys.platform != 'win32': msvs_version = '14.3' -if not msvs_version in test.msvs_versions(): +if msvs_version not in test.msvs_versions(): msg = "Visual Studio %s not installed; skipping test.\n" % msvs_version test.skip_test(msg) @@ -95,7 +95,7 @@ test.run(chdir='sub dir', arguments='.') test.vcproj_sys_path(test.workpath('sub dir', 'foo.vcxproj')) import SCons.Platform.win32 -system_dll_path = os.path.join( SCons.Platform.win32.get_system_root(), 'System32' ) +system_dll_path = os.path.join(SCons.Platform.win32.get_system_root(), 'System32') os.environ['PATH'] = os.environ['PATH'] + os.pathsep + system_dll_path test.run(chdir='sub dir', |