test: Add optional extra_args to testing setup

This commit is contained in:
MarcoFalke
2020-04-08 20:02:20 -04:00
parent fad4fa7e2f
commit fa0cbd48c4
3 changed files with 27 additions and 5 deletions

View File

@@ -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;