diff options
Diffstat (limited to 'test/AR.py')
-rw-r--r-- | test/AR.py | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -32,7 +32,7 @@ import TestSCons python = TestSCons.python _exe = TestSCons._exe -test = TestSCons.TestSCons(match=TestSCons.match_re_dotall) +test = TestSCons.TestSCons() test.write("wrapper.py", """import os @@ -82,11 +82,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") |