diff options
author | Steven Knight <knight@baldmt.com> | 2004-07-15 12:39:34 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-07-15 12:39:34 (GMT) |
commit | 502bdb0f465217b1b34bfd53cbf32385e40bdce5 (patch) | |
tree | c2864cbd6341ba776c90abb8c2cbb1456906a0a5 /test/LIBSUFFIXES.py | |
parent | 9378d5faa513dad65da961b279c92722d593be28 (diff) | |
download | SCons-502bdb0f465217b1b34bfd53cbf32385e40bdce5.zip SCons-502bdb0f465217b1b34bfd53cbf32385e40bdce5.tar.gz SCons-502bdb0f465217b1b34bfd53cbf32385e40bdce5.tar.bz2 |
Win32 portability: add an explicit match argument to TestCommon.py, use it to only use match_re_dotall when we're using TestSCons.noisy_ar.
Diffstat (limited to 'test/LIBSUFFIXES.py')
-rw-r--r-- | test/LIBSUFFIXES.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/LIBSUFFIXES.py b/test/LIBSUFFIXES.py index 4e0073e..e61096a 100644 --- a/test/LIBSUFFIXES.py +++ b/test/LIBSUFFIXES.py @@ -33,7 +33,7 @@ if sys.platform == 'win32': else: lib_ = 'lib' -test = TestSCons.TestSCons(match=TestSCons.match_re_dotall) +test = TestSCons.TestSCons() test.write('SConstruct', """ env = Environment(LIBSUFFIX = '.xxx', @@ -62,7 +62,9 @@ main(int argc, char *argv[]) } """) -test.run(arguments = '.', stderr=TestSCons.noisy_ar) +test.run(arguments = '.', + stderr=TestSCons.noisy_ar, + match=TestSCons.match_re_dotall) test.fail_test(not os.path.exists(test.workpath(lib_ + 'foo.xxx'))) |