зеркало из https://github.com/mozilla/gecko-dev.git
Bug 995972 - Make mochitest-devtools mach command work with single folders or files. r=jmaher
This commit is contained in:
Родитель
9433b45e46
Коммит
c7ef84b96d
|
@ -90,7 +90,9 @@ class TestMetadata(object):
|
|||
"""
|
||||
def fltr(tests):
|
||||
for test in tests:
|
||||
if flavor and test.get('flavor') != flavor:
|
||||
if flavor:
|
||||
if (flavor == 'devtools' and test.get('flavor') != 'browser-chrome') or \
|
||||
(flavor != 'devtools' and test.get('flavor') != flavor):
|
||||
continue
|
||||
|
||||
if under_path \
|
||||
|
|
Загрузка…
Ссылка в новой задаче