From 01bc93af6597b256ba2545e248289b82a18e9d5e Mon Sep 17 00:00:00 2001 From: Gary Oberbrunner Date: Sun, 16 Dec 2012 20:30:08 +0000 Subject: Fixed tests/scons-time/file.py. --- QMTest/TestSCons_time.py | 2 ++ test/scons-time/func/file.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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() -- cgit v0.12