зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1437912 - [moztest] Add some missing subsuite definitions, r=gbrown
Since we're adding specific 'task_regexes' for each new suite definition, this will allow us to schedule tests of these subsuites with |mach try fuzzy <path>|. MozReview-Commit-ID: 2mDSneV95lG --HG-- extra : rebase_source : 467b9d885e92c1c855ed547f2a7496b1062f2dc2
This commit is contained in:
Родитель
f249b70e43
Коммит
794955920a
|
@ -77,18 +77,48 @@ TEST_SUITES = {
|
||||||
'kwargs': {'flavor': 'chrome', 'test_paths': None},
|
'kwargs': {'flavor': 'chrome', 'test_paths': None},
|
||||||
'task_regex': 'mochitest-chrome(?:-e10s)?(?:-1)?$',
|
'task_regex': 'mochitest-chrome(?:-e10s)?(?:-1)?$',
|
||||||
},
|
},
|
||||||
|
'mochitest-clipboard': {
|
||||||
|
'aliases': ('cl', 'clipboard',),
|
||||||
|
'mach_command': 'mochitest',
|
||||||
|
'kwargs': {'subsuite': 'clipboard', 'test_paths': None},
|
||||||
|
'task_regex': 'mochitest-clipboard(?:-e10s)?(?:-1)?$',
|
||||||
|
},
|
||||||
'mochitest-devtools': {
|
'mochitest-devtools': {
|
||||||
'aliases': ('dt', 'devtools-chrome'),
|
'aliases': ('dt', 'devtools-chrome'),
|
||||||
'mach_command': 'mochitest',
|
'mach_command': 'mochitest',
|
||||||
'kwargs': {'subsuite': 'devtools', 'test_paths': None},
|
'kwargs': {'flavor': 'browser-chrome', 'subsuite': 'devtools', 'test_paths': None},
|
||||||
'task_regex': 'mochitest-devtools-chrome(?:-e10s)?(?:-1)?$',
|
'task_regex': 'mochitest-devtools-chrome(?:-e10s)?(?:-1)?$',
|
||||||
},
|
},
|
||||||
|
'mochitest-gpu': {
|
||||||
|
'aliases': ('gpu',),
|
||||||
|
'mach_command': 'mochitest',
|
||||||
|
'kwargs': {'subsuite': 'gpu', 'test_paths': None},
|
||||||
|
'task_regex': 'mochitest-gpu(?:-e10s)?(?:-1)?$',
|
||||||
|
},
|
||||||
|
'mochitest-media': {
|
||||||
|
'aliases': ('mpm', 'plain-media'),
|
||||||
|
'mach_command': 'mochitest',
|
||||||
|
'kwargs': {'flavor': 'plain', 'subsuite': 'media', 'test_paths': None},
|
||||||
|
'task_regex': 'mochitest-media(?:-e10s)?(?:-1)?$',
|
||||||
|
},
|
||||||
'mochitest-plain': {
|
'mochitest-plain': {
|
||||||
'aliases': ('mp', 'plain',),
|
'aliases': ('mp', 'plain',),
|
||||||
'mach_command': 'mochitest',
|
'mach_command': 'mochitest',
|
||||||
'kwargs': {'flavor': 'plain', 'test_paths': None},
|
'kwargs': {'flavor': 'plain', 'test_paths': None},
|
||||||
'task_regex': 'mochitest(?:-e10s)?(?:-1)?$',
|
'task_regex': 'mochitest(?:-e10s)?(?:-1)?$',
|
||||||
},
|
},
|
||||||
|
'mochitest-screenshots': {
|
||||||
|
'aliases': ('ss', 'screenshots-chrome'),
|
||||||
|
'mach_command': 'mochitest',
|
||||||
|
'kwargs': {'flavor': 'browser-chrome', 'subsuite': 'screenshots', 'test_paths': None},
|
||||||
|
'task_regex': 'browser-screenshots(?:-e10s)?(?:-1)?$',
|
||||||
|
},
|
||||||
|
'mochitest-webgl': {
|
||||||
|
'aliases': ('webgl',),
|
||||||
|
'mach_command': 'mochitest',
|
||||||
|
'kwargs': {'flavor': 'plain', 'subsuite': 'webgl', 'test_paths': None},
|
||||||
|
'task_regex': 'mochitest-webgl(?:-e10s)?(?:-1)?$',
|
||||||
|
},
|
||||||
'python': {
|
'python': {
|
||||||
'mach_command': 'python-test',
|
'mach_command': 'python-test',
|
||||||
'kwargs': {'tests': None},
|
'kwargs': {'tests': None},
|
||||||
|
@ -99,6 +129,11 @@ TEST_SUITES = {
|
||||||
'kwargs': {'tests': None},
|
'kwargs': {'tests': None},
|
||||||
'task_regex': '(opt|debug)-reftest(?:-no-accel|-gpu|-stylo)?(?:-e10s)?(?:-1)?$',
|
'task_regex': '(opt|debug)-reftest(?:-no-accel|-gpu|-stylo)?(?:-e10s)?(?:-1)?$',
|
||||||
},
|
},
|
||||||
|
'robocop': {
|
||||||
|
'mach_command': 'robocop',
|
||||||
|
'kwargs': {'test_paths': None},
|
||||||
|
'task_regex': 'robocop(?:-e10s)?(?:-1)?$',
|
||||||
|
},
|
||||||
'web-platform-tests': {
|
'web-platform-tests': {
|
||||||
'aliases': ('wpt',),
|
'aliases': ('wpt',),
|
||||||
'mach_command': 'web-platform-tests',
|
'mach_command': 'web-platform-tests',
|
||||||
|
@ -149,7 +184,17 @@ _test_flavors = {
|
||||||
}
|
}
|
||||||
|
|
||||||
_test_subsuites = {
|
_test_subsuites = {
|
||||||
|
('browser-chrome', 'clipboard'): 'mochitest-clipboard',
|
||||||
('browser-chrome', 'devtools'): 'mochitest-devtools',
|
('browser-chrome', 'devtools'): 'mochitest-devtools',
|
||||||
|
('browser-chrome', 'gpu'): 'mochitest-gpu',
|
||||||
|
('browser-chrome', 'screenshots'): 'mochitest-screenshots',
|
||||||
|
('chrome', 'clipboard'): 'mochitest-clipboard',
|
||||||
|
('chrome', 'gpu'): 'mochitest-gpu',
|
||||||
|
('mochitest', 'clipboard'): 'mochitest-clipboard',
|
||||||
|
('mochitest', 'gpu'): 'mochitest-gpu',
|
||||||
|
('mochitest', 'media'): 'mochitest-media',
|
||||||
|
('mochitest', 'robocop'): 'robocop',
|
||||||
|
('mochitest', 'webgl'): 'mochitest-webgl',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче