summaryrefslogtreecommitdiffstats
path: root/test/scons-time/run/config/subdir.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/scons-time/run/config/subdir.py')
-rw-r--r--test/scons-time/run/config/subdir.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/scons-time/run/config/subdir.py b/test/scons-time/run/config/subdir.py
index 4d21318..b463868 100644
--- a/test/scons-time/run/config/subdir.py
+++ b/test/scons-time/run/config/subdir.py
@@ -58,6 +58,8 @@ expect = [
'SConstruct file directory: .*%ssubdir$' % re.escape(os.sep),
]
-test.must_contain_all_lines('foo-000-0.log', content, expect, re.search)
+def re_find(content, line):
+ return re.search(line, content)
+test.must_contain_all_lines(content, expect, 'foo-000-0.log', re_find)
test.pass_test()