mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +00:00
Bug 1808044: dump mozinfo at the start of xpcshell runs. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D165750
This commit is contained in:
parent
ac7a56423c
commit
cc7d14f5a0
@ -1760,6 +1760,13 @@ class XPCShellTests(object):
|
||||
if not self.updateMozinfo(prefs, options):
|
||||
return False
|
||||
|
||||
self.log.info(
|
||||
"These variables are available in the mozinfo environment and "
|
||||
"can be used to skip tests conditionally:"
|
||||
)
|
||||
for info in sorted(self.mozInfo.items(), key=lambda item: item[0]):
|
||||
self.log.info(" {key}: {value}".format(key=info[0], value=info[1]))
|
||||
|
||||
if options.get("self_test"):
|
||||
if not self.runSelfTest():
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user