Merge "Match new google benchmark help output." into main

This commit is contained in:
Christopher Ferris 2023-09-29 01:08:43 +00:00 committed by Gerrit Code Review
commit 61cd1428b4

View file

@ -160,8 +160,10 @@ TEST_F(SystemTests, help) {
"Google benchmark flags:\n"
"benchmark [--benchmark_list_tests={true|false}]\n"
" [--benchmark_filter=<regex>]\n"
" [--benchmark_min_time=<min_time>]\n"
" [--benchmark_min_time=`<integer>x` OR `<float>s` ]\n"
" [--benchmark_min_warmup_time=<min_warmup_time>]\n"
" [--benchmark_repetitions=<num_repetitions>]\n"
" [--benchmark_enable_random_interleaving={true|false}]\n"
" [--benchmark_report_aggregates_only={true|false}]\n"
" [--benchmark_display_aggregates_only={true|false}]\n"
" [--benchmark_format=<console|json|csv>]\n"
@ -169,6 +171,8 @@ TEST_F(SystemTests, help) {
" [--benchmark_out_format=<json|console|csv>]\n"
" [--benchmark_color={auto|true|false}]\n"
" [--benchmark_counters_tabular={true|false}]\n"
" [--benchmark_context=<key>=<value>,...]\n"
" [--benchmark_time_unit={ns|us|ms|s}]\n"
" [--v=<verbosity>]\n";
Verify(expected, 0, std::vector<const char*>{"--help"}, false);
}