summaryrefslogtreecommitdiffstats
path: root/test/Libs/LIBS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Libs/LIBS.py')
-rw-r--r--test/Libs/LIBS.py18
1 files changed, 8 insertions, 10 deletions
diff --git a/test/Libs/LIBS.py b/test/Libs/LIBS.py
index 04206ac..33978da 100644
--- a/test/Libs/LIBS.py
+++ b/test/Libs/LIBS.py
@@ -1,6 +1,8 @@
#!/usr/bin/env python
#
-# __COPYRIGHT__
+# MIT License
+#
+# Copyright The SCons Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
@@ -20,22 +22,18 @@
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-#
-__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
+import sys
import TestSCons
-import sys
+from TestSCons import _exe, lib_, _lib
if sys.platform == 'win32':
- _exe = '.exe'
- bar_lib = 'bar.lib'
import SCons.Tool.MSCommon as msc
if not msc.msvc_exists():
- bar_lib = 'libbar.a'
-else:
- _exe = ''
- bar_lib = 'libbar.a'
+ _lib = '.a'
+ lib_ = 'lib'
+bar_lib = lib_ + 'bar' + _lib
test = TestSCons.TestSCons()