[test] Fix for keying variants.
BUG=chromium:511215 NOTREECHECKS=true NOTRY=true LOG=n TBR=jkummerow@chromium.org Review URL: https://codereview.chromium.org/1262113002 Cr-Commit-Position: refs/heads/master@{#29900}
This commit is contained in:
parent
4fe08abde6
commit
4970084133
@ -423,8 +423,8 @@ def ProcessOptions(options):
|
||||
VARIANTS = ["stress"]
|
||||
if options.variants:
|
||||
VARIANTS = options.variants.split(",")
|
||||
if not set(VARIANTS).issubset(ALL_VARIANTS.keys()):
|
||||
print "All variants must be in %s" % str(ALL_VARIANTS.keys())
|
||||
if not set(VARIANTS).issubset(ALL_VARIANTS):
|
||||
print "All variants must be in %s" % str(ALL_VARIANTS)
|
||||
return False
|
||||
if options.predictable:
|
||||
VARIANTS = ["default"]
|
||||
|
Loading…
Reference in New Issue
Block a user