summaryrefslogtreecommitdiffstats
path: root/test/LIBPATH.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-07-13 08:06:06 (GMT)
committerSteven Knight <knight@baldmt.com>2004-07-13 08:06:06 (GMT)
commit9378d5faa513dad65da961b279c92722d593be28 (patch)
tree00389ded72bf2cd3148311e7fddf8466bc535bcd /test/LIBPATH.py
parent23e59d43cd1884674d80e33df75812aa5133f4e3 (diff)
downloadSCons-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/LIBPATH.py')
-rw-r--r--test/LIBPATH.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/LIBPATH.py b/test/LIBPATH.py
index d691af2..9f5bbfd 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()
+test = TestSCons.TestSCons(match=TestSCons.match_re_dotall)
test.subdir('lib1', 'lib2')
@@ -86,7 +86,7 @@ main(int argc, char *argv[])
}
""")
-test.run(arguments = '.')
+test.run(arguments = '.', stderr=TestSCons.noisy_ar)
test.run(program = prog1,
stdout = "f1.c\nprog.c\n")
@@ -107,7 +107,7 @@ f1(void)
}
""")
-test.run(arguments = '.')
+test.run(arguments = '.', stderr=TestSCons.noisy_ar)
test.run(program = prog1,
stdout = "f1.c 1\nprog.c\n")
test.fail_test(oldtime2 == os.path.getmtime(prog2))
@@ -138,7 +138,7 @@ f1(void)
}
""")
-test.run(arguments = '.')
+test.run(arguments = '.', stderr=TestSCons.noisy_ar)
test.run(program = prog1,
stdout = "f1.c 2\nprog.c\n")
@@ -154,6 +154,6 @@ env = Environment(LIBPATH = '')
env.Library('foo', source = 'empty.c')
""")
-test.run(arguments = '.')
+test.run(arguments = '.', stderr=TestSCons.noisy_ar)
test.pass_test()