summaryrefslogtreecommitdiffstats
path: root/test/scan-once.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/scan-once.py')
-rw-r--r--test/scan-once.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/scan-once.py b/test/scan-once.py
index 57a8d36..0d1dd2a 100644
--- a/test/scan-once.py
+++ b/test/scan-once.py
@@ -43,7 +43,7 @@ import sys
import TestCmd
import TestSCons
-test = TestSCons.TestSCons(match=TestSCons.match_re_dotall)
+test = TestSCons.TestSCons()
test.subdir('simple',
'SLF',
@@ -474,7 +474,9 @@ XScanner: node = file3.x
create file4.x from file3.x
"""))
-test.run(arguments = 'SLF', stderr=TestSCons.noisy_ar)
+test.run(arguments = 'SLF',
+ stderr=TestSCons.noisy_ar,
+ match=TestSCons.match_re_dotall)
# XXX Note that the generated .h files still get scanned twice,
# once before they're generated and once after. That's the