Tests: Replace prove by autotools tap runner
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 8 Dec 2017 16:00:17 +0000 (11:00 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 20 Feb 2018 17:18:30 +0000 (12:18 -0500)
commit03c5782e67a47b79fdd4013c8e0c68cdcb5a8228
tree5ba7dda77933a95374dd08cf1a5b817f02e39217
parent3745305bf09e7825e75ee5b5490347ee67c6efdd
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>
82 files changed:
.gitignore
Makefile.am
configure.ac
tests/Makefile.am
tests/benchmark/Makefile.am
tests/benchmark/hashtable_1_seconds.tap [new file with mode: 0755]
tests/benchmark/hashtable_30_seconds.tap [new file with mode: 0755]
tests/benchmark/hashtable_3_seconds.tap [new file with mode: 0755]
tests/benchmark/long_bench_tests [deleted file]
tests/benchmark/regression_tests [deleted file]
tests/benchmark/run.sh [deleted file]
tests/benchmark/short_bench_tests [deleted file]
tests/benchmark/urcu_1_seconds.tap [new file with mode: 0755]
tests/benchmark/urcu_30_seconds.tap [new file with mode: 0755]
tests/benchmark/urcu_3_seconds.tap [new file with mode: 0755]
tests/regression/Makefile.am
tests/regression/rcutorture_urcu_bp_perf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_perf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_perf_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_rperf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_rperf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_rperf_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_stress_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_stress_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_stress_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_uperf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_uperf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_uperf_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_perf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_perf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_perf_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_rperf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_rperf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_rperf_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_stress_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_stress_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_stress_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_uperf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_uperf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_uperf_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_perf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_perf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_perf_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_rperf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_rperf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_rperf_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_stress_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_stress_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_stress_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_uperf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_uperf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_uperf_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_perf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_perf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_perf_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_rperf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_rperf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_rperf_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_stress_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_stress_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_stress_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_uperf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_uperf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_uperf_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_perf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_perf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_perf_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_rperf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_rperf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_rperf_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_stress_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_stress_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_stress_perthread.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_uperf_global.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_uperf_percpu.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_uperf_perthread.tap.in [new file with mode: 0644]
tests/regression/regression_tests.in [deleted file]
tests/regression/run.sh [deleted file]
tests/unit/Makefile.am
tests/unit/run.sh [deleted file]
tests/unit/test_loop [deleted file]
tests/unit/unit_tests [deleted file]
This page took 0.029273 seconds and 4 git commands to generate.