mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1230596 - Allow running talos on specific platforms through mach try. r=jgraham
This commit is contained in:
parent
ccc3105501
commit
d56efbbdb6
@ -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