Commit 49700841 authored by machenbach's avatar machenbach Committed by Commit bot

[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}
parent 4fe08abd
...@@ -423,8 +423,8 @@ def ProcessOptions(options): ...@@ -423,8 +423,8 @@ def ProcessOptions(options):
VARIANTS = ["stress"] VARIANTS = ["stress"]
if options.variants: if options.variants:
VARIANTS = options.variants.split(",") VARIANTS = options.variants.split(",")
if not set(VARIANTS).issubset(ALL_VARIANTS.keys()): if not set(VARIANTS).issubset(ALL_VARIANTS):
print "All variants must be in %s" % str(ALL_VARIANTS.keys()) print "All variants must be in %s" % str(ALL_VARIANTS)
return False return False
if options.predictable: if options.predictable:
VARIANTS = ["default"] VARIANTS = ["default"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment