Commits

Gary Oberbrunner committed cad0cde

Fixed tests/scons-time/file.py.

  • Participants
  • Parent commits 6987c40

Comments (0)

Files changed (2)

File QMTest/TestSCons_time.py

 
 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',
                ])

File test/scons-time/func/file.py

 
 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()