summaryrefslogtreecommitdiffstats
path: root/test/SConstruct.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/SConstruct.py')
-rw-r--r--test/SConstruct.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/SConstruct.py b/test/SConstruct.py
index f061728..15e1c1b 100644
--- a/test/SConstruct.py
+++ b/test/SConstruct.py
@@ -27,16 +27,15 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestCmd
import TestSCons
-test = TestSCons.TestSCons(match = TestCmd.match_re)
+test = TestSCons.TestSCons()
test.run(arguments = ".",
status = 2,
stdout = "",
stderr = r"""
scons: \*\*\* No SConstruct file found.
-""" + TestSCons.file_expr)
-
-test.match_function = TestCmd.match_exact
+""" + TestSCons.file_expr,
+ match = TestCmd.match_re)
wpath = test.workpath()