mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00:00
Bug 1478801 - Enable structured output parser for most Windows tests; r=ahal
Uses the same mozharness structured output parser configuration on Windows as on Linux and osx, for consistency. Removes the ineffective "structured_suites" configuration for Windows unit tests, since that key is ignored in desktop_unittest.py. Also changes desktop_unittest.py to use structured output by default in the absence of the expected unstructured_flavors configuration.
This commit is contained in:
parent
774474fe26
commit
0ff2524d56
@ -285,7 +285,12 @@ config = {
|
||||
],
|
||||
"vcs_output_timeout": 1000,
|
||||
"minidump_save_path": "%(abs_work_dir)s/../minidumps",
|
||||
"structured_suites": ["reftest"],
|
||||
"unstructured_flavors": {"xpcshell": [],
|
||||
"gtest": [],
|
||||
"mozmill": [],
|
||||
"cppunittest": [],
|
||||
"jittest": [],
|
||||
},
|
||||
"download_minidump_stackwalk": True,
|
||||
"minidump_stackwalk_path": "win32-minidump_stackwalk.exe",
|
||||
"minidump_tooltool_manifest_path": "config/tooltool-manifests/win32/releng.manifest",
|
||||
|
@ -493,7 +493,7 @@ class DesktopUnittest(TestingMixin, MercurialScript, MozbaseMixin,
|
||||
def structured_output(self, suite_category, flavor=None):
|
||||
unstructured_flavors = self.config.get('unstructured_flavors')
|
||||
if not unstructured_flavors:
|
||||
return False
|
||||
return True
|
||||
if suite_category not in unstructured_flavors:
|
||||
return True
|
||||
if not unstructured_flavors.get(suite_category) or \
|
||||
|
Loading…
x
Reference in New Issue
Block a user