diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-12-16 20:30:08 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-12-16 20:30:08 (GMT) |
commit | 01bc93af6597b256ba2545e248289b82a18e9d5e (patch) | |
tree | 882f4a562f65f3a059a60ed5baf86699f2cabf28 | |
parent | 78785a796c5cb080dc6a0e7bc99c720a349b3859 (diff) | |
download | SCons-01bc93af6597b256ba2545e248289b82a18e9d5e.zip SCons-01bc93af6597b256ba2545e248289b82a18e9d5e.tar.gz SCons-01bc93af6597b256ba2545e248289b82a18e9d5e.tar.bz2 |
Fixed tests/scons-time/file.py.
-rw-r--r-- | QMTest/TestSCons_time.py | 2 | ||||
-rw-r--r-- | test/scons-time/func/file.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/QMTest/TestSCons_time.py b/QMTest/TestSCons_time.py index 4a759c0..abe8ccf 100644 --- a/QMTest/TestSCons_time.py +++ b/QMTest/TestSCons_time.py @@ -21,6 +21,8 @@ import sys from TestCommon import * from TestCommon import __all__ +# some of the scons_time tests may need regex-based matching: +from TestSCons import search_re, search_re_in_list __all__.extend([ 'TestSCons_time', ]) diff --git a/test/scons-time/func/file.py b/test/scons-time/func/file.py index 1fe3513..8e12123 100644 --- a/test/scons-time/func/file.py +++ b/test/scons-time/func/file.py @@ -97,7 +97,7 @@ e test.run(arguments = 'func --file st2.conf --fmt gnuplot') -test.must_contain_exactly_lines(test.stdout(), expect2, find=TestSCons.search_re_in_list) +test.must_contain_exactly_lines(test.stdout(), expect2, find=TestSCons_time.search_re_in_list) test.pass_test() |