Bug 1521709 - Change suite names for baseline coverage tests. r=jmaher
authorGregory Mierzwinski <gmierz2@outlook.com>
Tue, 14 May 2019 09:44:09 +0000
changeset 535661 06c7b6262c1cdddc3a24968c9258193b9f128a8b
parent 535660 10403a18457999c30bd17f2726805ef5b2df6d95
child 535662 9afa1dcd247b1d206f66e31290cec79f11dbf6c9
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1521709
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1521709 - Change suite names for baseline coverage tests. r=jmaher This patch fixes the suite names used for the baseline coverage tests. Differential Revision: https://phabricator.services.mozilla.com/D31011
testing/mozharness/mozharness/mozilla/testing/codecoverage.py
--- a/testing/mozharness/mozharness/mozilla/testing/codecoverage.py
+++ b/testing/mozharness/mozharness/mozilla/testing/codecoverage.py
@@ -177,31 +177,31 @@ class CodeCoverageMixin(SingleTestMixin)
         self.find_modified_tests()
 
         # TODO: Add tests that haven't been run for a while (a week? N pushes?)
 
         # Add baseline code coverage collection tests
         baseline_tests_by_ext = {
             '.html': {
                 'test': 'testing/mochitest/baselinecoverage/plain/test_baselinecoverage.html',
-                'suite': 'plain'
+                'suite': 'mochitest-plain'
             },
             '.js': {
                 'test': 'testing/mochitest/baselinecoverage/browser_chrome/browser_baselinecoverage.js',  # NOQA: E501
-                'suite': 'browser-chrome'
+                'suite': 'mochitest-browser-chrome'
             },
             '.xul': {
                 'test': 'testing/mochitest/baselinecoverage/chrome/test_baselinecoverage.xul',
-                'suite': 'chrome'
+                'suite': 'mochitest-chrome'
             }
         }
 
         baseline_tests_by_suite = {
-            'browser-chrome': 'testing/mochitest/baselinecoverage/browser_chrome/'
-                              'browser_baselinecoverage_browser-chrome.js'
+            'mochitest-browser-chrome': 'testing/mochitest/baselinecoverage/browser_chrome/'
+                                        'browser_baselinecoverage_browser-chrome.js'
         }
 
         wpt_baseline_test = 'tests/web-platform/mozilla/tests/baselinecoverage/wpt_baselinecoverage.html'  # NOQA: E501
         if self.config.get('per_test_category') == "web-platform":
             if 'testharness' not in self.suites:
                 self.suites['testharness'] = []
             if wpt_baseline_test not in self.suites['testharness']:
                 self.suites["testharness"].append(wpt_baseline_test)