summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2012-12-16 20:30:08 +0000
committerGary Oberbrunner <garyo@oberbrunner.com>2012-12-16 20:30:08 +0000
commit01bc93af6597b256ba2545e248289b82a18e9d5e (patch)
tree882f4a562f65f3a059a60ed5baf86699f2cabf28
parent78785a796c5cb080dc6a0e7bc99c720a349b3859 (diff)
downloadscons-git-01bc93af6597b256ba2545e248289b82a18e9d5e.tar.gz
Fixed tests/scons-time/file.py.
-rw-r--r--QMTest/TestSCons_time.py2
-rw-r--r--test/scons-time/func/file.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/QMTest/TestSCons_time.py b/QMTest/TestSCons_time.py
index 4a759c0f6..abe8ccf11 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 1fe3513a3..8e1212361 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()