Commit 24cfa03d authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[test] Make variants flag of numfuzz compatible with test runner

Prepares for: https://crrev.com/c/1015000

NOTRY=true

Bug: chromium:830557
Change-Id: I51c12867d95de19350e0e55aaf097bbb479348dc
Reviewed-on: https://chromium-review.googlesource.com/1015004
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: 's avatarSergiy Byelozyorov <sergiyb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52657}
parent 69002f71
......@@ -81,6 +81,10 @@ class NumFuzzer(base_runner.BaseTestRunner):
parser.add_option("--combine-min", default=2, type="int",
help="Minimum number of tests to combine")
# Miscellaneous
parser.add_option("--variants", default='default',
help="Comma-separated list of testing variants")
return parser
......@@ -97,6 +101,10 @@ class NumFuzzer(base_runner.BaseTestRunner):
options.min_group_size, options.max_group_size)
raise base_runner.TestRunnerError()
if options.variants != 'default':
print ('Only default testing variant is supported with numfuzz')
raise base_runner.TestRunnerError()
return True
def _get_default_suite_names(self):
......
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