diff options
author | Steven Knight <knight@baldmt.com> | 2001-09-29 03:22:21 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-09-29 03:22:21 (GMT) |
commit | 39bc5ccf18d346c14ade0cce6e6f46e53b88fd97 (patch) | |
tree | ecaa1c4b2a002298458f72d48e131d5534079c30 /test/SConstruct.py | |
parent | 8a28cfb1801cbada701e471b7ca9ea78db137221 (diff) | |
download | SCons-39bc5ccf18d346c14ade0cce6e6f46e53b88fd97.zip SCons-39bc5ccf18d346c14ade0cce6e6f46e53b88fd97.tar.gz SCons-39bc5ccf18d346c14ade0cce6e6f46e53b88fd97.tar.bz2 |
Make match_exact the default match function for TestSCons.
Diffstat (limited to 'test/SConstruct.py')
-rw-r--r-- | test/SConstruct.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/SConstruct.py b/test/SConstruct.py index 8837b62..6f1ce25 100644 --- a/test/SConstruct.py +++ b/test/SConstruct.py @@ -2,9 +2,10 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" +import TestCmd import TestSCons -test = TestSCons.TestSCons() +test = TestSCons.TestSCons(match = TestCmd.match_re) test.run(stdout = "", stderr = """ @@ -12,6 +13,8 @@ SCons error: No SConstruct file found. File "\S+scons(\.py)?", line \d+, in main """) +test.match_func = TestCmd.match_exact + wpath = test.workpath() test.write('sconstruct', """ |