diff --git a/testing/mozharness/scripts/desktop_unittest.py b/testing/mozharness/scripts/desktop_unittest.py index c87484901951..798a61e4e4d4 100755 --- a/testing/mozharness/scripts/desktop_unittest.py +++ b/testing/mozharness/scripts/desktop_unittest.py @@ -364,6 +364,12 @@ class DesktopUnittest(TestingMixin, MercurialScript, MozbaseMixin, def _get_mozharness_test_paths(self, suite_category, suite): test_paths = json.loads(os.environ.get('MOZHARNESS_TEST_PATHS', '""')) + if '-chunked' in suite: + suite = suite[:suite.index('-chunked')] + + if '-coverage' in suite: + suite = suite[:suite.index('-coverage')] + if not test_paths or suite not in test_paths: return None diff --git a/tools/tryselect/test/test_mozharness_integration.py b/tools/tryselect/test/test_mozharness_integration.py index 45424c57d317..e67b6e2aa4d4 100644 --- a/tools/tryselect/test/test_mozharness_integration.py +++ b/tools/tryselect/test/test_mozharness_integration.py @@ -39,10 +39,7 @@ def all_suites(patch_resolver): KNOWN_FAILURES = ( 'browser-chrome-addons', - 'browser-chrome-chunked', - 'browser-chrome-coverage', 'browser-chrome-instrumentation', - 'chrome-chunked', 'cppunittest', 'gtest', 'jittest', @@ -61,7 +58,6 @@ KNOWN_FAILURES = ( 'plain-gpu', 'valgrind-plain', 'xpcshell-addons', - 'xpcshell-coverage', ) """A suite being listed here means it won't work properly with MOZHARNESS_TEST_PATHS (the mechanism |mach try fuzzy | uses.