aboutsummaryrefslogtreecommitdiff
path: root/src/bench/bench_bitcoin.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-04-08 20:02:20 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-04-15 15:13:04 -0400
commitfa0cbd48c418ec14e1d91bffea206bce20bd1e56 (patch)
tree6548d94091886ab42a1a9a3c1a2c7e500394a99d /src/bench/bench_bitcoin.cpp
parentfad4fa7e2fb95b7ced9007060ebfd0e8f181f5d8 (diff)
test: Add optional extra_args to testing setup
Diffstat (limited to 'src/bench/bench_bitcoin.cpp')
-rw-r--r--src/bench/bench_bitcoin.cpp2
1 files changed, 2 insertions, 0 deletions
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;