summaryrefslogtreecommitdiff
path: root/test/HeaderGen.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-07-15 12:39:34 +0000
committerSteven Knight <knight@baldmt.com>2004-07-15 12:39:34 +0000
commitaf9e270bf0dc34fecff450199f90dc14bb0334de (patch)
treec2864cbd6341ba776c90abb8c2cbb1456906a0a5 /test/HeaderGen.py
parentd4da437a7df193b540560e8bb06aa1573b615cc8 (diff)
downloadscons-af9e270bf0dc34fecff450199f90dc14bb0334de.tar.gz
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/HeaderGen.py')
-rw-r--r--test/HeaderGen.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/HeaderGen.py b/test/HeaderGen.py
index 44dd3ced..3cdd207f 100644
--- a/test/HeaderGen.py
+++ b/test/HeaderGen.py
@@ -31,7 +31,7 @@ and that generated header files don't cause circular dependencies.
import TestSCons
-test = TestSCons.TestSCons(match=TestSCons.match_re_dotall)
+test = TestSCons.TestSCons()
test.write('SConstruct', """\
def writeFile(target, contents):
@@ -51,7 +51,8 @@ env.Command('gen.cpp', [],
lambda env,target,source: writeFile(target, '#include "gen.h"\\n'))
""")
-test.run(stderr=TestSCons.noisy_ar)
+test.run(stderr=TestSCons.noisy_ar,
+ match=TestSCons.match_re_dotall)
test.up_to_date(arguments = '.')