Lines Matching refs:tests
116 def ReportIfDifferFromExpected(tests, name, file1, file2): argument
128 tests.fail(err_message)
208 def CheckTestResult(dir_name, subprocess_ret, tests, args): argument
231 tests.fail(err_message)
242 tests.fail(err_message)
244 tests.fail('Invalid test name: ' + dir_name +
248 def CheckJavaOutput(tests): argument
264 tests.fail('%s not found' % find)
266 tests.fail('multiple %s found' % find)
268 tests.fail('%s and %s are different' % (found[0], expect))
271 def ExecTest(dir_name, tests): argument
291 tests.fail('subprocess.call failed: ' + ' '.join(args))
296 CheckTestResult(dir_name, ret, tests, args)
298 ReportIfDifferFromExpected(tests, 'stdout', 'stdout.txt.expect', 'stdout.txt')
299 ReportIfDifferFromExpected(tests, 'stderr', 'stderr.txt.expect', 'stderr.txt')
301 CheckJavaOutput(tests)