Bug 1083237 - Wrong test suite duration when using mozlog as test reporter. r=mdas

This commit is contained in:
Julien Pagès 2014-10-19 11:20:00 +02:00
Родитель 38bf8b96e5
Коммит 0eb110bb1f
1 изменённых файлов: 5 добавлений и 5 удалений

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

@ -612,7 +612,12 @@ class BaseMarionetteTestRunner(object):
def run_tests(self, tests):
self.reset_test_stats()
for test in tests:
self.add_test(test)
self.start_time = time.time()
self.logger.suite_start(self.tests)
need_external_ip = True
if not self.marionette:
@ -631,11 +636,6 @@ class BaseMarionetteTestRunner(object):
self.logger.info("starting httpd")
self.start_httpd(need_external_ip)
for test in tests:
self.add_test(test)
self.logger.suite_start(self.tests)
for test in self.manifest_skipped_tests:
name = os.path.basename(test['path'])
self.logger.test_start(name)