Enable verification logic when executing benchmarks (#6929)

* Add `--verify` flag to benchmark execution

* make it so `--verify` can be used for getting the actual benchmarks

* undo manual testing

* oops

* use benchmark config struct

* verify is default on, docs update

* remove clone

* improve formatting

* fix test

* bump impl for ci
This commit is contained in:
Shawn Tabrizi authored and GitHub committed 2020-08-24 15:24:00 +02:00
1 parent c8ca2ce183
commit 4462f7150d
7 files changed
+150 -113

No files matched your search

+2 -1
View File
@@ -715,7 +715,8 @@ mod tests {
let closure_to_benchmark =
<SelectedBenchmark as frame_benchmarking::BenchmarkingSetup<Test>>::instance(
&selected_benchmark,
&c
&c,
true
).unwrap();
assert_ok!(closure_to_benchmark());