mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1108781 - Log relative paths as test identifiers in xpcshell. r=ahal
This commit is contained in:
parent
380ec97ec6
commit
8e1f7f43e2
@ -997,7 +997,9 @@ class XPCShellTests(object):
|
||||
def makeTestId(self, test_object):
|
||||
"""Calculate an identifier for a test based on its path or a combination of
|
||||
its path and the source manifest."""
|
||||
path = test_object['path'].replace('\\', '/');
|
||||
|
||||
relpath_key = 'file_relpath' if 'file_relpath' in test_object else 'relpath'
|
||||
path = test_object[relpath_key].replace('\\', '/');
|
||||
if 'dupe-manifest' in test_object and 'ancestor-manifest' in test_object:
|
||||
return '%s:%s' % (os.path.basename(test_object['ancestor-manifest']), path)
|
||||
return path
|
||||
|
Loading…
Reference in New Issue
Block a user