summaryrefslogtreecommitdiff
path: root/test/option-unknown.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-09-29 03:22:21 +0000
committerSteven Knight <knight@baldmt.com>2001-09-29 03:22:21 +0000
commit39bc5ccf18d346c14ade0cce6e6f46e53b88fd97 (patch)
treeecaa1c4b2a002298458f72d48e131d5534079c30 /test/option-unknown.py
parent8a28cfb1801cbada701e471b7ca9ea78db137221 (diff)
downloadscons-39bc5ccf18d346c14ade0cce6e6f46e53b88fd97.tar.gz
Make match_exact the default match function for TestSCons.
Diffstat (limited to 'test/option-unknown.py')
-rw-r--r--test/option-unknown.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option-unknown.py b/test/option-unknown.py
index 28d3ceb8..7240b965 100644
--- a/test/option-unknown.py
+++ b/test/option-unknown.py
@@ -2,11 +2,12 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
+import TestCmd
import TestSCons
import string
import sys
-test = TestSCons.TestSCons()
+test = TestSCons.TestSCons(match = TestCmd.match_re)
test.write('SConstruct', "")
@@ -17,4 +18,3 @@ test.run(arguments = '--ZizzerZazzerZuzz',
stderr = '\nSCons error: option --ZizzerZazzerZuzz not recognized\nFile "\S+", line \d+, in long_has_args\n')
test.pass_test()
-