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 | 9378d5faa513dad65da961b279c92722d593be28 (patch) | |
tree | 00389ded72bf2cd3148311e7fddf8466bc535bcd /test/SharedLibrary.py | |
parent | 23e59d43cd1884674d80e33df75812aa5133f4e3 (diff) | |
download | SCons-9378d5faa513dad65da961b279c92722d593be28.zip SCons-9378d5faa513dad65da961b279c92722d593be28.tar.gz SCons-9378d5faa513dad65da961b279c92722d593be28.tar.bz2 |
Fix tests on systems where 'ar' prints warnings about creating archives. (Kevin Quick)
Diffstat (limited to 'test/SharedLibrary.py')
-rw-r--r-- | test/SharedLibrary.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/SharedLibrary.py b/test/SharedLibrary.py index 6ad278d..d4eb730 100644 --- a/test/SharedLibrary.py +++ b/test/SharedLibrary.py @@ -31,7 +31,7 @@ import sys import TestCmd import TestSCons -test = TestSCons.TestSCons(match=TestCmd.match_re) +test = TestSCons.TestSCons(match=TestCmd.match_re_dotall) test.write('SConstruct', """ import sys @@ -191,7 +191,7 @@ main(int argc, char *argv[]) } """) -test.run(arguments = '.') +test.run(arguments = '.', stderr=TestSCons.noisy_ar) if os.name == 'posix': os.environ['LD_LIBRARY_PATH'] = '.' @@ -213,7 +213,7 @@ scons: \*\*\* Source file: foo\..* is static and is not compatible with shared t scons: \*\*\* Source file: foo\..* is static and is not compatible with shared target: .* ''') -test.run(arguments = '-f SConstructFoo2') +test.run(arguments = '-f SConstructFoo2', stderr=TestSCons.noisy_ar) if sys.platform == 'win32': # Make sure we don't insert a .def source file (when |