summaryrefslogtreecommitdiff
path: root/test/Libs/LIBS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Libs/LIBS.py')
-rw-r--r--test/Libs/LIBS.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/Libs/LIBS.py b/test/Libs/LIBS.py
index 079847542..563922869 100644
--- a/test/Libs/LIBS.py
+++ b/test/Libs/LIBS.py
@@ -27,19 +27,17 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
import sys
-test = TestSCons.TestSCons()
-
if sys.platform == 'win32':
_exe = '.exe'
bar_lib = 'bar.lib'
import SCons.Tool.MSCommon as msc
- if not msc.msvc_exists(test.Environment()):
+ if not msc.msvc_exists():
bar_lib = 'libbar.a'
else:
_exe = ''
bar_lib = 'libbar.a'
-
+test = TestSCons.TestSCons()
test.subdir('sub1', 'sub2')