summaryrefslogtreecommitdiffstats
path: root/test/HeaderInstall.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-07-15 12:39:34 (GMT)
committerSteven Knight <knight@baldmt.com>2004-07-15 12:39:34 (GMT)
commitaf9e270bf0dc34fecff450199f90dc14bb0334de (patch)
treec2864cbd6341ba776c90abb8c2cbb1456906a0a5 /test/HeaderInstall.py
parentd4da437a7df193b540560e8bb06aa1573b615cc8 (diff)
downloadSCons-af9e270bf0dc34fecff450199f90dc14bb0334de.zip
SCons-af9e270bf0dc34fecff450199f90dc14bb0334de.tar.gz
SCons-af9e270bf0dc34fecff450199f90dc14bb0334de.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/HeaderInstall.py')
-rw-r--r--test/HeaderInstall.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/HeaderInstall.py b/test/HeaderInstall.py
index ae4213f..84a6a4a 100644
--- a/test/HeaderInstall.py
+++ b/test/HeaderInstall.py
@@ -31,7 +31,7 @@ import os.path
import TestSCons
-test = TestSCons.TestSCons(match=TestSCons.match_re_dotall)
+test = TestSCons.TestSCons()
test.subdir('work1', ['work1', 'dist'])
@@ -64,7 +64,9 @@ test.write(['work1', 'dist', 'h3.h'], """\
int foo = 3;
""")
-test.run(chdir = 'work1', arguments = ".", stderr=TestSCons.noisy_ar)
+test.run(chdir='work1', arguments=".",
+ stderr=TestSCons.noisy_ar,
+ match=TestSCons.match_re_dotall)
test.up_to_date(chdir = 'work1', arguments = ".")