diff options
author | Steven Knight <knight@baldmt.com> | 2004-07-13 08:06:06 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-07-13 08:06:06 (GMT) |
commit | d4da437a7df193b540560e8bb06aa1573b615cc8 (patch) | |
tree | 00389ded72bf2cd3148311e7fddf8466bc535bcd /test/AR.py | |
parent | 6dfe1bb16b84e5ce1f845bf3d1c83c2b34f65129 (diff) | |
download | SCons-d4da437a7df193b540560e8bb06aa1573b615cc8.zip SCons-d4da437a7df193b540560e8bb06aa1573b615cc8.tar.gz SCons-d4da437a7df193b540560e8bb06aa1573b615cc8.tar.bz2 |
Fix tests on systems where 'ar' prints warnings about creating archives. (Kevin Quick)
Diffstat (limited to 'test/AR.py')
-rw-r--r-- | test/AR.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -32,7 +32,7 @@ import TestSCons python = TestSCons.python _exe = TestSCons._exe -test = TestSCons.TestSCons() +test = TestSCons.TestSCons(match=TestSCons.match_re_dotall) test.write("wrapper.py", """import os @@ -82,11 +82,11 @@ main(int argc, char *argv[]) """) -test.run(arguments = 'f' + _exe) +test.run(arguments = 'f' + _exe, stderr=TestSCons.noisy_ar) test.fail_test(os.path.exists(test.workpath('wrapper.out'))) -test.run(arguments = 'b' + _exe) +test.run(arguments = 'b' + _exe, stderr=TestSCons.noisy_ar) test.fail_test(test.read('wrapper.out') != "wrapper.py\n") |