diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-07-20 15:11:33 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:16:42 +0100 |
commit | 81527bff7d6fc337fb9edec23c0b63a96b500bd4 (patch) | |
tree | 98e5f21555c188e30c1266fa845c84d256cd499c /tests/benchmark_new | |
parent | d929b9c49a13eb9c05bb4fab608459669eeeeb9e (diff) | |
download | ComputeLibrary-81527bff7d6fc337fb9edec23c0b63a96b500bd4.tar.gz |
COMPMID-415: Don't use regex for filter by test id
Change-Id: I9c20e0656f5262d22efeace155c49765627df2b4
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/81191
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/benchmark_new')
-rw-r--r-- | tests/benchmark_new/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmark_new/main.cpp b/tests/benchmark_new/main.cpp index 29f5a6e419..95c2d949cf 100644 --- a/tests/benchmark_new/main.cpp +++ b/tests/benchmark_new/main.cpp @@ -102,8 +102,8 @@ int main(int argc, char **argv) log_format->set_help("Output format for measurements and failures"); auto filter = parser.add_option<framework::SimpleOption<std::string>>("filter", ".*"); filter->set_help("Regular expression to select test cases"); - auto filter_id = parser.add_option<framework::SimpleOption<std::string>>("filter-id", ".*"); - filter_id->set_help("Regular expression to select test cases by id"); + auto filter_id = parser.add_option<framework::SimpleOption<int64_t>>("filter-id", -1); + filter_id->set_help("Test id. Only this test will be executed."); auto log_file = parser.add_option<framework::SimpleOption<std::string>>("log-file"); log_file->set_help("Write output to file instead of to the console"); auto throw_errors = parser.add_option<framework::ToggleOption>("throw-errors"); |