mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1230596 - Allow running talos on specific platforms through mach try. r=jgraham
--HG-- extra : commitid : AeckQOMrkDy
This commit is contained in:
parent
16cd9db041
commit
3d18fb1c81
@ -524,7 +524,8 @@ class PushToTry(MachCommandBase):
|
||||
sys.exit(1)
|
||||
|
||||
try:
|
||||
talos = self.normalise_list(kwargs["talos"]) if kwargs["talos"] else []
|
||||
talos = (self.normalise_list(kwargs["talos"], allow_subitems=True)
|
||||
if kwargs["talos"] else [])
|
||||
except ValueError as e:
|
||||
print("Error parsing -t argument:\n%s" % e.message)
|
||||
sys.exit(1)
|
||||
|
@ -320,7 +320,8 @@ class AutoTry(object):
|
||||
for k,v in sorted(suites.items())) if suites else "none")
|
||||
|
||||
parts.append("-t")
|
||||
parts.append(",".join(talos) if talos else "none")
|
||||
parts.append(",".join("%s%s" % (k, "[%s]" % ",".join(v) if v else "")
|
||||
for k,v in sorted(talos.items())) if talos else "none")
|
||||
|
||||
if tags:
|
||||
parts.append(' '.join('--tag %s' % t for t in tags))
|
||||
|
Loading…
Reference in New Issue
Block a user