зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1507635 - When running specific tests on try, don't use the 'tests' attribute from the suite. r=ahal
--HG-- extra : rebase_source : b16fb8b5c158a9dd3fd03e3b5cfd278a52efc418
This commit is contained in:
Родитель
04b5e02692
Коммит
cefdd7f8d4
|
@ -795,7 +795,9 @@ class DesktopUnittest(TestingMixin, MercurialScript, MozbaseMixin,
|
|||
}
|
||||
if isinstance(suites[suite], dict):
|
||||
options_list = suites[suite].get('options', [])
|
||||
if self.verify_enabled or self.per_test_coverage:
|
||||
if (self.verify_enabled or self.per_test_coverage or
|
||||
os.environ.get('MOZHARNESS_TEST_PATHS')):
|
||||
# Ignore tests list in modes where we are running specific tests.
|
||||
tests_list = []
|
||||
else:
|
||||
tests_list = suites[suite].get('tests', [])
|
||||
|
|
Загрузка…
Ссылка в новой задаче