зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1382827 - |mach try --artifact| should remove |--artifact| if "-nightly" platforms are requested. r=chmanchester
MozReview-Commit-ID: Dqle5sBlZNr --HG-- extra : rebase_source : d165af63dc433188fc00e778082572d5f1d35858
This commit is contained in:
Родитель
1a00a870d7
Коммит
37b62d73cb
|
@ -411,6 +411,11 @@ class AutoTry(object):
|
|||
if intersection and not suites:
|
||||
raise ValueError("No tests found matching filters")
|
||||
|
||||
if extras.get('artifact') and any([p.endswith("-nightly") for p in platforms]):
|
||||
print('You asked for |--artifact| but "-nightly" platforms don\'t have artifacts. '
|
||||
'Running without |--artifact| instead.')
|
||||
del extras['artifact'];
|
||||
|
||||
if extras.get('artifact'):
|
||||
rejected = []
|
||||
for suite in suites.keys():
|
||||
|
|
Загрузка…
Ссылка в новой задаче