Bug 1507767 - Add task_regex for crashtest. r=ahal
authorMarco Castelluccio <mcastelluccio@mozilla.com>
Fri, 16 Nov 2018 14:26:27 +0100
changeset 447104 a03fb83d108c3495b61865943caafd259ab00dec
parent 447103 51be7136648f4439059d44c7f4f1fcb988c26e51
child 447105 29ff944efa40e929995f6b2660383041738266f0
push id35067
push userrmaries@mozilla.com
push dateTue, 20 Nov 2018 05:04:04 +0000
treeherdermozilla-central@74c27e915067 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1507767
milestone65.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 1507767 - Add task_regex for crashtest. r=ahal
testing/mozbase/moztest/moztest/resolve.py
--- a/testing/mozbase/moztest/moztest/resolve.py
+++ b/testing/mozbase/moztest/moztest/resolve.py
@@ -38,16 +38,18 @@ TEST_SUITES = {
         'aliases': ('cpp',),
         'mach_command': 'cppunittest',
         'kwargs': {'test_file': None},
     },
     'crashtest': {
         'aliases': ('c', 'rc'),
         'mach_command': 'crashtest',
         'kwargs': {'test_file': None},
+        'task_regex': ['crashtest($|.*(-1|[^0-9])$)',
+                       'test-verify($|.*(-1|[^0-9])$)'],
     },
     'firefox-ui-functional': {
         'aliases': ('fxfn',),
         'mach_command': 'firefox-ui-functional',
         'kwargs': {},
     },
     'firefox-ui-update': {
         'aliases': ('fxup',),
@@ -209,17 +211,17 @@ for i in range(1, MOCHITEST_TOTAL_CHUNKS
             'test_paths': None,
         },
     }
 
 _test_flavors = {
     'a11y': 'mochitest-a11y',
     'browser-chrome': 'mochitest-browser',
     'chrome': 'mochitest-chrome',
-    'crashtest': '',
+    'crashtest': 'crashtest',
     'firefox-ui-functional': 'firefox-ui-functional',
     'firefox-ui-update': 'firefox-ui-update',
     'marionette': 'marionette',
     'mochitest': 'mochitest-plain',
     'python': 'python',
     'reftest': 'reftest',
     'steeplechase': '',
     'web-platform-tests': 'web-platform-tests',