summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2018-11-28 18:51:53 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2018-11-28 18:51:53 (GMT)
commitb4d710b768da3f17d57ad2aade009ac8affee9e2 (patch)
tree8ce789b152d0b7c93aec800172d5f26547ab2112
parent43ed17dac8134b2d6813b977cf370976d94472c9 (diff)
downloadSCons-b4d710b768da3f17d57ad2aade009ac8affee9e2.zip
SCons-b4d710b768da3f17d57ad2aade009ac8affee9e2.tar.gz
SCons-b4d710b768da3f17d57ad2aade009ac8affee9e2.tar.bz2
Fix reference to TestCmd's IS_WINDOWS in clang tests
-rw-r--r--test/Clang/clang_static_library.py3
-rw-r--r--test/Clang/clangxx_static_library.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/Clang/clang_static_library.py b/test/Clang/clang_static_library.py
index 1198638..7b3f5df 100644
--- a/test/Clang/clang_static_library.py
+++ b/test/Clang/clang_static_library.py
@@ -25,6 +25,7 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
+from TestCmd import IS_WINDOWS
_exe = TestSCons._exe
test = TestSCons.TestSCons()
@@ -32,7 +33,7 @@ test = TestSCons.TestSCons()
if not test.where_is('clang'):
test.skip_test("Could not find 'clang', skipping test.\n")
-if test.IS_WINDOWS:
+if IS_WINDOWS:
foo_lib = 'foo.lib'
archiver = 'mslib'
# TODO: other Windows combinations exist (not depending on
diff --git a/test/Clang/clangxx_static_library.py b/test/Clang/clangxx_static_library.py
index f4902e2..3ced7fc 100644
--- a/test/Clang/clangxx_static_library.py
+++ b/test/Clang/clangxx_static_library.py
@@ -25,6 +25,7 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
+from TestCmd import IS_WINDOWS
_exe = TestSCons._exe
test = TestSCons.TestSCons()
@@ -32,7 +33,7 @@ test = TestSCons.TestSCons()
if not test.where_is('clang'):
test.skip_test("Could not find 'clang++', skipping test.\n")
-if test.IS_WINDOWS:
+if IS_WINDOWS:
foo_lib = 'foo.lib'
archiver = 'mslib'
# TODO: other Windows combinations exist (not depending on