Tests: Replace prove by autotools tap runner This patch removes the dependency on the prove perl script to run the TAP test suite. It replaces it with the autotools shell TAP driver that only requires a shell and awk. Custom arguments can be passed to the test runner with env variables as follow: env LOG_DRIVER_FLAGS='--comments --ignore-exit' \ TESTS='foo.test baz.test' make -e check This tap driver also creates a log file for each test that can then be used by another system to build a test report. Signed-off-by: Michael Jeanson <mjeanson@efficios.com> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Refactor tests - Migrate benchmarks and regression tests to tap, - Replace the "bench" make target by "short_bench" and "long_bench". The short benchmark is 3 seconds per test, and the long one is 30 seconds per test, - make regtest now invokes the benchmarks with only 1 second per benchmark. - Now use "nproc" command to detect the number of available CPUs rather than hardcoding a value. - rcutorture in "stress" mode is now executed. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>