summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()