summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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