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:
Ben Hearsum 2022-12-30 21:08:25 +00:00
parent ac7a56423c
commit cc7d14f5a0

View File

@ -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