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/LIBPATH.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/LIBPATH.py')
-rw-r--r-- | test/LIBPATH.py | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/test/LIBPATH.py b/test/LIBPATH.py index 9f5bbfd..b9318a0 100644 --- a/test/LIBPATH.py +++ b/test/LIBPATH.py @@ -33,7 +33,7 @@ _exe = TestSCons._exe _dll = TestSCons._dll dll_ = TestSCons.dll_ -test = TestSCons.TestSCons(match=TestSCons.match_re_dotall) +test = TestSCons.TestSCons() test.subdir('lib1', 'lib2') @@ -86,7 +86,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.run(program = prog1, stdout = "f1.c\nprog.c\n") @@ -107,7 +109,9 @@ f1(void) } """) -test.run(arguments = '.', stderr=TestSCons.noisy_ar) +test.run(arguments = '.', + stderr=TestSCons.noisy_ar, + match=TestSCons.match_re_dotall) test.run(program = prog1, stdout = "f1.c 1\nprog.c\n") test.fail_test(oldtime2 == os.path.getmtime(prog2)) @@ -138,7 +142,9 @@ f1(void) } """) -test.run(arguments = '.', stderr=TestSCons.noisy_ar) +test.run(arguments = '.', + stderr=TestSCons.noisy_ar, + match=TestSCons.match_re_dotall) test.run(program = prog1, stdout = "f1.c 2\nprog.c\n") @@ -154,6 +160,8 @@ env = Environment(LIBPATH = '') env.Library('foo', source = 'empty.c') """) -test.run(arguments = '.', stderr=TestSCons.noisy_ar) +test.run(arguments = '.', + stderr=TestSCons.noisy_ar, + match=TestSCons.match_re_dotall) test.pass_test() |