mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1050511 - Log skipped tests in a marionette run only after logging suite_start.;r=jgraham
This commit is contained in:
parent
63a86a5836
commit
cfb4cb5bd8
@ -656,6 +656,14 @@ class BaseMarionetteTestRunner(object):
|
||||
|
||||
self.logger.suite_start(self.tests)
|
||||
|
||||
for test in self.manifest_skipped_tests:
|
||||
name = os.path.basename(test['path'])
|
||||
self.logger.test_start(name)
|
||||
self.logger.test_end(name,
|
||||
'SKIP',
|
||||
message=test['disabled'])
|
||||
self.todo += 1
|
||||
|
||||
counter = self.repeat
|
||||
while counter >=0:
|
||||
round = self.repeat - counter
|
||||
@ -762,13 +770,6 @@ class BaseMarionetteTestRunner(object):
|
||||
test.setdefault('disabled', 'filtered by type (%s)' % self.type)
|
||||
self.manifest_skipped_tests.append(test)
|
||||
|
||||
for test in self.manifest_skipped_tests:
|
||||
self.logger.test_start(os.path.basename(test['path']))
|
||||
self.logger.test_end(os.path.basename(test['path']),
|
||||
'SKIP',
|
||||
message=test['disabled'])
|
||||
self.todo += 1
|
||||
|
||||
for i in target_tests:
|
||||
if not os.path.exists(i["path"]):
|
||||
raise IOError("test file: %s does not exist" % i["path"])
|
||||
|
Loading…
Reference in New Issue
Block a user