summaryrefslogtreecommitdiff
path: root/test/Repository
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2012-12-16 18:56:16 +0100
committerDirk Baechle <dl9obn@darc.de>2012-12-16 18:56:16 +0100
commitbcfc775b40eaa51af854862d1902267e8152128c (patch)
tree53e4be521ebf4c4f65c14c9e68b64b5327bf61c4 /test/Repository
parent8a4d58873138ff82370e4055c55f4c6d770ab373 (diff)
downloadscons-bcfc775b40eaa51af854862d1902267e8152128c.tar.gz
- extended the must_contain* methods of the test framework, such that they all support user-defined find/search functions
- relaxed several of the regex comparisons for better cross-platform compatibility
Diffstat (limited to 'test/Repository')
-rw-r--r--test/Repository/StaticLibrary.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/test/Repository/StaticLibrary.py b/test/Repository/StaticLibrary.py
index e5c76f97..4f8160c5 100644
--- a/test/Repository/StaticLibrary.py
+++ b/test/Repository/StaticLibrary.py
@@ -25,17 +25,10 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
import TestSCons
-if sys.platform == 'win32':
- _obj = '.obj'
- _exe = '.exe'
-else:
- _obj = '.o'
- _exe = ''
-
-
+_obj = TestSCons._obj
+_exe = TestSCons._exe
test = TestSCons.TestSCons()