mirror of
https://github.com/google/benchmark.git
synced 2025-03-28 21:10:58 +08:00
fix: added benchmark_counters_tabular for file (#1645)
* fix: added benchmark_counters_tabular for file * fix: only checking the counters_tabular flag
This commit is contained in:
parent
14961f1cb6
commit
cbecc8ffc7
@ -575,7 +575,9 @@ size_t RunSpecifiedBenchmarks(BenchmarkReporter* display_reporter,
|
||||
}
|
||||
if (!file_reporter) {
|
||||
default_file_reporter = internal::CreateReporter(
|
||||
FLAGS_benchmark_out_format, ConsoleReporter::OO_None);
|
||||
FLAGS_benchmark_out_format, FLAGS_benchmark_counters_tabular
|
||||
? ConsoleReporter::OO_Tabular
|
||||
: ConsoleReporter::OO_None);
|
||||
file_reporter = default_file_reporter.get();
|
||||
}
|
||||
file_reporter->SetOutputStream(&output_file);
|
||||
|
Loading…
Reference in New Issue
Block a user