From fa0cbd48c418ec14e1d91bffea206bce20bd1e56 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Wed, 8 Apr 2020 20:02:20 -0400 Subject: test: Add optional extra_args to testing setup --- src/bench/bench_bitcoin.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bench') diff --git a/src/bench/bench_bitcoin.cpp b/src/bench/bench_bitcoin.cpp index 9235d5fe6a..2d44264e53 100644 --- a/src/bench/bench_bitcoin.cpp +++ b/src/bench/bench_bitcoin.cpp @@ -73,6 +73,8 @@ int main(int argc, char** argv) gArgs.GetArg("-plot-height", DEFAULT_PLOT_HEIGHT))); } + gArgs.ClearArgs(); // gArgs no longer needed. Clear it here to avoid interactions with the testing setup in the benches + benchmark::BenchRunner::RunAll(*printer, evaluations, scaling_factor, regex_filter, is_list_only); return EXIT_SUCCESS; -- cgit v1.2.3