summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2012-12-16 20:30:08 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2012-12-16 20:30:08 (GMT)
commit01bc93af6597b256ba2545e248289b82a18e9d5e (patch)
tree882f4a562f65f3a059a60ed5baf86699f2cabf28
parent78785a796c5cb080dc6a0e7bc99c720a349b3859 (diff)
downloadSCons-01bc93af6597b256ba2545e248289b82a18e9d5e.zip
SCons-01bc93af6597b256ba2545e248289b82a18e9d5e.tar.gz
SCons-01bc93af6597b256ba2545e248289b82a18e9d5e.tar.bz2
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 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()