зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1483421 - Enable more test suites for Android test-verify; r=jmaher
This commit is contained in:
Родитель
4b6d32ec6c
Коммит
bec136999a
|
@ -122,6 +122,10 @@ class SingleTestMixin(object):
|
|||
|
||||
self.info("Per-test run found test %s (%s)" % (file, entry[0]))
|
||||
subsuite_mapping = {
|
||||
# Map (<suite>, <subsuite>): <full-suite>
|
||||
# <suite> is associated with a manifest, explicitly in code above
|
||||
# <subsuite> comes from "subsuite" tags in some manifest entries
|
||||
# <full-suite> is a unique id for the suite, matching desktop mozharness configs
|
||||
('browser-chrome', 'clipboard'): 'browser-chrome-clipboard',
|
||||
('chrome', 'clipboard'): 'chrome-clipboard',
|
||||
('plain', 'clipboard'): 'plain-clipboard',
|
||||
|
|
|
@ -612,12 +612,17 @@ class AndroidEmulatorTest(TestingMixin, BaseScript, MozbaseMixin, CodeCoverageMi
|
|||
if self.test_suite:
|
||||
return [(self.test_suite, self.test_suite)]
|
||||
# per-test mode: determine test suites to run
|
||||
|
||||
# For each test category, provide a list of supported sub-suites and a mapping
|
||||
# between the per_test_base suite name and the android suite name.
|
||||
all = [('mochitest', {'plain': 'mochitest',
|
||||
'chrome': 'mochitest-chrome',
|
||||
'mochitest-media': 'mochitest-media',
|
||||
'plain-clipboard': 'mochitest-plain-clipboard',
|
||||
'plain-gpu': 'mochitest-plain-gpu'}),
|
||||
('reftest', {'reftest': 'reftest',
|
||||
'crashtest': 'crashtest'}),
|
||||
'crashtest': 'crashtest',
|
||||
'jsreftest': 'jsreftest'}),
|
||||
('xpcshell', {'xpcshell': 'xpcshell'})]
|
||||
suites = []
|
||||
for (category, all_suites) in all:
|
||||
|
|
Загрузка…
Ссылка в новой задаче