summaryrefslogtreecommitdiffstats
path: root/test/RANLIB.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/RANLIB.py')
-rw-r--r--test/RANLIB.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/RANLIB.py b/test/RANLIB.py
index 5de4a09..cf4ae78 100644
--- a/test/RANLIB.py
+++ b/test/RANLIB.py
@@ -34,7 +34,7 @@ python = TestSCons.python
_exe = TestSCons._exe
-test = TestSCons.TestSCons(match=TestSCons.match_re_dotall)
+test = TestSCons.TestSCons()
ranlib = test.detect('RANLIB', 'ranlib')
@@ -89,11 +89,15 @@ main(int argc, char *argv[])
""")
-test.run(arguments = 'f' + _exe, stderr=TestSCons.noisy_ar)
+test.run(arguments = 'f' + _exe,
+ stderr=TestSCons.noisy_ar,
+ match=TestSCons.match_re_dotall)
test.fail_test(os.path.exists(test.workpath('wrapper.out')))
-test.run(arguments = 'b' + _exe, stderr=TestSCons.noisy_ar)
+test.run(arguments = 'b' + _exe,
+ stderr=TestSCons.noisy_ar,
+ match=TestSCons.match_re_dotall)
test.fail_test(test.read('wrapper.out') != "wrapper.py\n")