Bug 891121 - When a test times out, print TIMEOUT instead of FAIL. r=terrence

This commit is contained in:
Dan Gohman 2013-07-08 19:36:07 -07:00
Родитель b0e6ece906
Коммит f57fe4feb3
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -500,9 +500,11 @@ def process_test_results(results, num_tests, options):
doing = 'after %s' % res.test.path
if not ok:
failures.append(res)
pb.message("FAIL - %s" % res.test.path)
if res.timed_out:
timeouts += 1
if res.timed_out:
pb.message("TIMEOUT - %s" % res.test.path)
timeouts += 1
else:
pb.message("FAIL - %s" % res.test.path)
if options.tinderbox:
if ok: