summaryrefslogtreecommitdiffstats
path: root/test/Repository
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2012-12-16 17:56:16 (GMT)
committerDirk Baechle <dl9obn@darc.de>2012-12-16 17:56:16 (GMT)
commit78785a796c5cb080dc6a0e7bc99c720a349b3859 (patch)
tree53e4be521ebf4c4f65c14c9e68b64b5327bf61c4 /test/Repository
parent1bf9aa83fc024950012dd76d110443fc2d30c92a (diff)
downloadSCons-78785a796c5cb080dc6a0e7bc99c720a349b3859.zip
SCons-78785a796c5cb080dc6a0e7bc99c720a349b3859.tar.gz
SCons-78785a796c5cb080dc6a0e7bc99c720a349b3859.tar.bz2
- 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 e5c76f9..4f8160c 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()