asv_runner.check
#
Module Contents#
Functions#
Checks all the discovered benchmarks in the provided benchmark directory. |
API#
- asv_runner.check._check(args)#
Checks all the discovered benchmarks in the provided benchmark directory.
Parameters
- args (
tuple
) A tuple containing the benchmark directory.
Notes
This function updates the system path with the root directory of the benchmark suite. Then, it iterates over all benchmarks discovered in the root directory. For each benchmark, it calls the check method of the benchmark and updates the ‘ok’ flag.
If all benchmarks pass the check, it exits with a status code 0. If any benchmark fails, it exits with a status code 1.
- args (