From de6cb9d58c9d654b3e375835faf1f84294315cdd Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 13 Sep 2021 16:13:44 -0400 Subject: [PATCH] Improved test framework This is based on the babeltrace / librseq test framework with the objective of standardising across projects. Regroup all the configure detected values relevant to the test suite in a single generated file. This file will be automatically sourced by the test suite in most scenarios but can also be sourced in the shell of a user. * All user overridable variables start with 'URCU_TESTS_'. * The priority for variables is : Environment -> env.sh -> utils.sh (defaults). * A user can source 'env.sh', override some of the values and manually run test scripts. * The test suite can run without an 'env.sh' file present. Change-Id: Id94f7085ed1ea0e30207856cf1594ca30585536c Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- .gitignore | 2 +- configure.ac | 130 +------ tests/benchmark/Makefile.am | 23 +- tests/benchmark/common.sh | 36 -- tests/benchmark/hashtable_1_seconds.tap | 19 +- tests/benchmark/hashtable_30_seconds.tap | 19 +- tests/benchmark/hashtable_3_seconds.tap | 19 +- tests/benchmark/run-urcu-tests.sh | 59 +-- tests/benchmark/runhash.sh | 67 ++-- tests/benchmark/runtests-batch.sh | 28 +- tests/benchmark/runtests.sh | 28 +- tests/benchmark/urcu_1_seconds.tap | 19 +- tests/benchmark/urcu_30_seconds.tap | 19 +- tests/benchmark/urcu_3_seconds.tap | 19 +- tests/regression/Makefile.am | 368 ++++++++++++------ .../rcutorture_urcu_bp_perf_global.tap.in | 1 - .../rcutorture_urcu_bp_perf_global_cxx.tap.in | 1 - .../rcutorture_urcu_bp_perf_percpu.tap.in | 1 - .../rcutorture_urcu_bp_perf_percpu_cxx.tap.in | 1 - .../rcutorture_urcu_bp_perf_perthread.tap.in | 1 - ...utorture_urcu_bp_perf_perthread_cxx.tap.in | 1 - .../rcutorture_urcu_bp_rperf_global.tap.in | 1 - ...rcutorture_urcu_bp_rperf_global_cxx.tap.in | 1 - .../rcutorture_urcu_bp_rperf_percpu.tap.in | 1 - ...rcutorture_urcu_bp_rperf_percpu_cxx.tap.in | 1 - .../rcutorture_urcu_bp_rperf_perthread.tap.in | 1 - ...torture_urcu_bp_rperf_perthread_cxx.tap.in | 1 - .../rcutorture_urcu_bp_stress_global.tap.in | 1 - ...cutorture_urcu_bp_stress_global_cxx.tap.in | 1 - .../rcutorture_urcu_bp_stress_percpu.tap.in | 1 - ...cutorture_urcu_bp_stress_percpu_cxx.tap.in | 1 - ...rcutorture_urcu_bp_stress_perthread.tap.in | 1 - ...orture_urcu_bp_stress_perthread_cxx.tap.in | 1 - .../rcutorture_urcu_bp_uperf_global.tap.in | 1 - ...rcutorture_urcu_bp_uperf_global_cxx.tap.in | 1 - .../rcutorture_urcu_bp_uperf_percpu.tap.in | 1 - ...rcutorture_urcu_bp_uperf_percpu_cxx.tap.in | 1 - .../rcutorture_urcu_bp_uperf_perthread.tap.in | 1 - ...torture_urcu_bp_uperf_perthread_cxx.tap.in | 1 - .../rcutorture_urcu_mb_perf_global.tap.in | 1 - .../rcutorture_urcu_mb_perf_global_cxx.tap.in | 1 - .../rcutorture_urcu_mb_perf_percpu.tap.in | 1 - .../rcutorture_urcu_mb_perf_percpu_cxx.tap.in | 1 - .../rcutorture_urcu_mb_perf_perthread.tap.in | 1 - ...utorture_urcu_mb_perf_perthread_cxx.tap.in | 1 - .../rcutorture_urcu_mb_rperf_global.tap.in | 1 - ...rcutorture_urcu_mb_rperf_global_cxx.tap.in | 1 - .../rcutorture_urcu_mb_rperf_percpu.tap.in | 1 - ...rcutorture_urcu_mb_rperf_percpu_cxx.tap.in | 1 - .../rcutorture_urcu_mb_rperf_perthread.tap.in | 1 - ...torture_urcu_mb_rperf_perthread_cxx.tap.in | 1 - .../rcutorture_urcu_mb_stress_global.tap.in | 1 - ...cutorture_urcu_mb_stress_global_cxx.tap.in | 1 - .../rcutorture_urcu_mb_stress_percpu.tap.in | 1 - ...cutorture_urcu_mb_stress_percpu_cxx.tap.in | 1 - ...rcutorture_urcu_mb_stress_perthread.tap.in | 1 - ...orture_urcu_mb_stress_perthread_cxx.tap.in | 1 - .../rcutorture_urcu_mb_uperf_global.tap.in | 1 - ...rcutorture_urcu_mb_uperf_global_cxx.tap.in | 1 - .../rcutorture_urcu_mb_uperf_percpu.tap.in | 1 - ...rcutorture_urcu_mb_uperf_percpu_cxx.tap.in | 1 - .../rcutorture_urcu_mb_uperf_perthread.tap.in | 1 - ...torture_urcu_mb_uperf_perthread_cxx.tap.in | 1 - ...torture_urcu_membarrier_perf_global.tap.in | 1 - ...ure_urcu_membarrier_perf_global_cxx.tap.in | 1 - ...torture_urcu_membarrier_perf_percpu.tap.in | 1 - ...ure_urcu_membarrier_perf_percpu_cxx.tap.in | 1 - ...ture_urcu_membarrier_perf_perthread.tap.in | 1 - ..._urcu_membarrier_perf_perthread_cxx.tap.in | 1 - ...orture_urcu_membarrier_rperf_global.tap.in | 1 - ...re_urcu_membarrier_rperf_global_cxx.tap.in | 1 - ...orture_urcu_membarrier_rperf_percpu.tap.in | 1 - ...re_urcu_membarrier_rperf_percpu_cxx.tap.in | 1 - ...ure_urcu_membarrier_rperf_perthread.tap.in | 1 - ...urcu_membarrier_rperf_perthread_cxx.tap.in | 1 - ...rture_urcu_membarrier_stress_global.tap.in | 1 - ...e_urcu_membarrier_stress_global_cxx.tap.in | 1 - ...rture_urcu_membarrier_stress_percpu.tap.in | 1 - ...e_urcu_membarrier_stress_percpu_cxx.tap.in | 1 - ...re_urcu_membarrier_stress_perthread.tap.in | 1 - ...rcu_membarrier_stress_perthread_cxx.tap.in | 1 - ...orture_urcu_membarrier_uperf_global.tap.in | 1 - ...re_urcu_membarrier_uperf_global_cxx.tap.in | 1 - ...orture_urcu_membarrier_uperf_percpu.tap.in | 1 - ...re_urcu_membarrier_uperf_percpu_cxx.tap.in | 1 - ...ure_urcu_membarrier_uperf_perthread.tap.in | 1 - ...urcu_membarrier_uperf_perthread_cxx.tap.in | 1 - .../rcutorture_urcu_qsbr_perf_global.tap.in | 1 - ...cutorture_urcu_qsbr_perf_global_cxx.tap.in | 1 - .../rcutorture_urcu_qsbr_perf_percpu.tap.in | 1 - ...cutorture_urcu_qsbr_perf_percpu_cxx.tap.in | 1 - ...rcutorture_urcu_qsbr_perf_perthread.tap.in | 1 - ...orture_urcu_qsbr_perf_perthread_cxx.tap.in | 1 - .../rcutorture_urcu_qsbr_rperf_global.tap.in | 1 - ...utorture_urcu_qsbr_rperf_global_cxx.tap.in | 1 - .../rcutorture_urcu_qsbr_rperf_percpu.tap.in | 1 - ...utorture_urcu_qsbr_rperf_percpu_cxx.tap.in | 1 - ...cutorture_urcu_qsbr_rperf_perthread.tap.in | 1 - ...rture_urcu_qsbr_rperf_perthread_cxx.tap.in | 1 - .../rcutorture_urcu_qsbr_stress_global.tap.in | 1 - ...torture_urcu_qsbr_stress_global_cxx.tap.in | 1 - .../rcutorture_urcu_qsbr_stress_percpu.tap.in | 1 - ...torture_urcu_qsbr_stress_percpu_cxx.tap.in | 1 - ...utorture_urcu_qsbr_stress_perthread.tap.in | 1 - ...ture_urcu_qsbr_stress_perthread_cxx.tap.in | 1 - .../rcutorture_urcu_qsbr_uperf_global.tap.in | 1 - ...utorture_urcu_qsbr_uperf_global_cxx.tap.in | 1 - .../rcutorture_urcu_qsbr_uperf_percpu.tap.in | 1 - ...utorture_urcu_qsbr_uperf_percpu_cxx.tap.in | 1 - ...cutorture_urcu_qsbr_uperf_perthread.tap.in | 1 - ...rture_urcu_qsbr_uperf_perthread_cxx.tap.in | 1 - .../rcutorture_urcu_signal_perf_global.tap.in | 1 - ...torture_urcu_signal_perf_global_cxx.tap.in | 1 - .../rcutorture_urcu_signal_perf_percpu.tap.in | 1 - ...torture_urcu_signal_perf_percpu_cxx.tap.in | 1 - ...utorture_urcu_signal_perf_perthread.tap.in | 1 - ...ture_urcu_signal_perf_perthread_cxx.tap.in | 1 - ...rcutorture_urcu_signal_rperf_global.tap.in | 1 - ...orture_urcu_signal_rperf_global_cxx.tap.in | 1 - ...rcutorture_urcu_signal_rperf_percpu.tap.in | 1 - ...orture_urcu_signal_rperf_percpu_cxx.tap.in | 1 - ...torture_urcu_signal_rperf_perthread.tap.in | 1 - ...ure_urcu_signal_rperf_perthread_cxx.tap.in | 1 - ...cutorture_urcu_signal_stress_global.tap.in | 1 - ...rture_urcu_signal_stress_global_cxx.tap.in | 1 - ...cutorture_urcu_signal_stress_percpu.tap.in | 1 - ...rture_urcu_signal_stress_percpu_cxx.tap.in | 1 - ...orture_urcu_signal_stress_perthread.tap.in | 1 - ...re_urcu_signal_stress_perthread_cxx.tap.in | 1 - ...rcutorture_urcu_signal_uperf_global.tap.in | 1 - ...orture_urcu_signal_uperf_global_cxx.tap.in | 1 - ...rcutorture_urcu_signal_uperf_percpu.tap.in | 1 - ...orture_urcu_signal_uperf_percpu_cxx.tap.in | 1 - ...torture_urcu_signal_uperf_perthread.tap.in | 1 - ...ure_urcu_signal_uperf_perthread_cxx.tap.in | 1 - .../test_rcutorture_urcu_bp_perf_global.tap | 18 + ...est_rcutorture_urcu_bp_perf_global_cxx.tap | 18 + .../test_rcutorture_urcu_bp_perf_percpu.tap | 18 + ...est_rcutorture_urcu_bp_perf_percpu_cxx.tap | 18 + ...test_rcutorture_urcu_bp_perf_perthread.tap | 18 + ..._rcutorture_urcu_bp_perf_perthread_cxx.tap | 18 + .../test_rcutorture_urcu_bp_rperf_global.tap | 18 + ...st_rcutorture_urcu_bp_rperf_global_cxx.tap | 18 + .../test_rcutorture_urcu_bp_rperf_percpu.tap | 18 + ...st_rcutorture_urcu_bp_rperf_percpu_cxx.tap | 18 + ...est_rcutorture_urcu_bp_rperf_perthread.tap | 18 + ...rcutorture_urcu_bp_rperf_perthread_cxx.tap | 18 + .../test_rcutorture_urcu_bp_stress_global.tap | 18 + ...t_rcutorture_urcu_bp_stress_global_cxx.tap | 18 + .../test_rcutorture_urcu_bp_stress_percpu.tap | 18 + ...t_rcutorture_urcu_bp_stress_percpu_cxx.tap | 18 + ...st_rcutorture_urcu_bp_stress_perthread.tap | 18 + ...cutorture_urcu_bp_stress_perthread_cxx.tap | 18 + .../test_rcutorture_urcu_bp_uperf_global.tap | 18 + ...st_rcutorture_urcu_bp_uperf_global_cxx.tap | 18 + .../test_rcutorture_urcu_bp_uperf_percpu.tap | 18 + ...st_rcutorture_urcu_bp_uperf_percpu_cxx.tap | 18 + ...est_rcutorture_urcu_bp_uperf_perthread.tap | 18 + ...rcutorture_urcu_bp_uperf_perthread_cxx.tap | 18 + .../test_rcutorture_urcu_mb_perf_global.tap | 18 + ...est_rcutorture_urcu_mb_perf_global_cxx.tap | 18 + .../test_rcutorture_urcu_mb_perf_percpu.tap | 18 + ...est_rcutorture_urcu_mb_perf_percpu_cxx.tap | 18 + ...test_rcutorture_urcu_mb_perf_perthread.tap | 18 + ..._rcutorture_urcu_mb_perf_perthread_cxx.tap | 18 + .../test_rcutorture_urcu_mb_rperf_global.tap | 18 + ...st_rcutorture_urcu_mb_rperf_global_cxx.tap | 18 + .../test_rcutorture_urcu_mb_rperf_percpu.tap | 18 + ...st_rcutorture_urcu_mb_rperf_percpu_cxx.tap | 18 + ...est_rcutorture_urcu_mb_rperf_perthread.tap | 18 + ...rcutorture_urcu_mb_rperf_perthread_cxx.tap | 18 + .../test_rcutorture_urcu_mb_stress_global.tap | 18 + ...t_rcutorture_urcu_mb_stress_global_cxx.tap | 18 + .../test_rcutorture_urcu_mb_stress_percpu.tap | 18 + ...t_rcutorture_urcu_mb_stress_percpu_cxx.tap | 18 + ...st_rcutorture_urcu_mb_stress_perthread.tap | 18 + ...cutorture_urcu_mb_stress_perthread_cxx.tap | 18 + .../test_rcutorture_urcu_mb_uperf_global.tap | 18 + ...st_rcutorture_urcu_mb_uperf_global_cxx.tap | 18 + .../test_rcutorture_urcu_mb_uperf_percpu.tap | 18 + ...st_rcutorture_urcu_mb_uperf_percpu_cxx.tap | 18 + ...est_rcutorture_urcu_mb_uperf_perthread.tap | 18 + ...rcutorture_urcu_mb_uperf_perthread_cxx.tap | 18 + ...rcutorture_urcu_membarrier_perf_global.tap | 18 + ...orture_urcu_membarrier_perf_global_cxx.tap | 18 + ...rcutorture_urcu_membarrier_perf_percpu.tap | 18 + ...orture_urcu_membarrier_perf_percpu_cxx.tap | 18 + ...torture_urcu_membarrier_perf_perthread.tap | 18 + ...ure_urcu_membarrier_perf_perthread_cxx.tap | 18 + ...cutorture_urcu_membarrier_rperf_global.tap | 18 + ...rture_urcu_membarrier_rperf_global_cxx.tap | 18 + ...cutorture_urcu_membarrier_rperf_percpu.tap | 18 + ...rture_urcu_membarrier_rperf_percpu_cxx.tap | 18 + ...orture_urcu_membarrier_rperf_perthread.tap | 18 + ...re_urcu_membarrier_rperf_perthread_cxx.tap | 18 + ...utorture_urcu_membarrier_stress_global.tap | 18 + ...ture_urcu_membarrier_stress_global_cxx.tap | 18 + ...utorture_urcu_membarrier_stress_percpu.tap | 18 + ...ture_urcu_membarrier_stress_percpu_cxx.tap | 18 + ...rture_urcu_membarrier_stress_perthread.tap | 18 + ...e_urcu_membarrier_stress_perthread_cxx.tap | 18 + ...cutorture_urcu_membarrier_uperf_global.tap | 18 + ...rture_urcu_membarrier_uperf_global_cxx.tap | 18 + ...cutorture_urcu_membarrier_uperf_percpu.tap | 18 + ...rture_urcu_membarrier_uperf_percpu_cxx.tap | 18 + ...orture_urcu_membarrier_uperf_perthread.tap | 18 + ...re_urcu_membarrier_uperf_perthread_cxx.tap | 18 + .../test_rcutorture_urcu_qsbr_perf_global.tap | 18 + ...t_rcutorture_urcu_qsbr_perf_global_cxx.tap | 18 + .../test_rcutorture_urcu_qsbr_perf_percpu.tap | 18 + ...t_rcutorture_urcu_qsbr_perf_percpu_cxx.tap | 18 + ...st_rcutorture_urcu_qsbr_perf_perthread.tap | 18 + ...cutorture_urcu_qsbr_perf_perthread_cxx.tap | 18 + ...test_rcutorture_urcu_qsbr_rperf_global.tap | 18 + ..._rcutorture_urcu_qsbr_rperf_global_cxx.tap | 18 + ...test_rcutorture_urcu_qsbr_rperf_percpu.tap | 18 + ..._rcutorture_urcu_qsbr_rperf_percpu_cxx.tap | 18 + ...t_rcutorture_urcu_qsbr_rperf_perthread.tap | 18 + ...utorture_urcu_qsbr_rperf_perthread_cxx.tap | 18 + ...est_rcutorture_urcu_qsbr_stress_global.tap | 18 + ...rcutorture_urcu_qsbr_stress_global_cxx.tap | 18 + ...est_rcutorture_urcu_qsbr_stress_percpu.tap | 18 + ...rcutorture_urcu_qsbr_stress_percpu_cxx.tap | 18 + ..._rcutorture_urcu_qsbr_stress_perthread.tap | 18 + ...torture_urcu_qsbr_stress_perthread_cxx.tap | 18 + ...test_rcutorture_urcu_qsbr_uperf_global.tap | 18 + ..._rcutorture_urcu_qsbr_uperf_global_cxx.tap | 18 + ...test_rcutorture_urcu_qsbr_uperf_percpu.tap | 18 + ..._rcutorture_urcu_qsbr_uperf_percpu_cxx.tap | 18 + ...t_rcutorture_urcu_qsbr_uperf_perthread.tap | 18 + ...utorture_urcu_qsbr_uperf_perthread_cxx.tap | 18 + ...est_rcutorture_urcu_signal_perf_global.tap | 18 + ...rcutorture_urcu_signal_perf_global_cxx.tap | 18 + ...est_rcutorture_urcu_signal_perf_percpu.tap | 18 + ...rcutorture_urcu_signal_perf_percpu_cxx.tap | 18 + ..._rcutorture_urcu_signal_perf_perthread.tap | 18 + ...torture_urcu_signal_perf_perthread_cxx.tap | 18 + ...st_rcutorture_urcu_signal_rperf_global.tap | 18 + ...cutorture_urcu_signal_rperf_global_cxx.tap | 18 + ...st_rcutorture_urcu_signal_rperf_percpu.tap | 18 + ...cutorture_urcu_signal_rperf_percpu_cxx.tap | 18 + ...rcutorture_urcu_signal_rperf_perthread.tap | 18 + ...orture_urcu_signal_rperf_perthread_cxx.tap | 18 + ...t_rcutorture_urcu_signal_stress_global.tap | 18 + ...utorture_urcu_signal_stress_global_cxx.tap | 18 + ...t_rcutorture_urcu_signal_stress_percpu.tap | 18 + ...utorture_urcu_signal_stress_percpu_cxx.tap | 18 + ...cutorture_urcu_signal_stress_perthread.tap | 18 + ...rture_urcu_signal_stress_perthread_cxx.tap | 18 + ...st_rcutorture_urcu_signal_uperf_global.tap | 18 + ...cutorture_urcu_signal_uperf_global_cxx.tap | 18 + ...st_rcutorture_urcu_signal_uperf_percpu.tap | 18 + ...cutorture_urcu_signal_uperf_percpu_cxx.tap | 18 + ...rcutorture_urcu_signal_uperf_perthread.tap | 18 + ...orture_urcu_signal_uperf_perthread_cxx.tap | 18 + tests/unit/Makefile.am | 21 +- tests/utils/Makefile.am | 21 +- tests/utils/env.sh.in | 35 ++ tests/utils/utils.sh | 112 ++++++ 259 files changed, 2808 insertions(+), 516 deletions(-) delete mode 100755 tests/benchmark/common.sh delete mode 100644 tests/regression/rcutorture_urcu_bp_perf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_perf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_perf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_perf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_perf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_perf_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_rperf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_rperf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_rperf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_rperf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_rperf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_rperf_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_stress_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_stress_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_stress_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_stress_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_stress_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_stress_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_uperf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_uperf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_uperf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_uperf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_uperf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_bp_uperf_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_perf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_perf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_perf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_perf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_perf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_perf_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_rperf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_rperf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_rperf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_rperf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_rperf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_rperf_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_stress_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_stress_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_stress_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_stress_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_stress_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_stress_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_uperf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_uperf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_uperf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_uperf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_uperf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_mb_uperf_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_perf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_perf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_perf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_perf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_perf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_perf_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_rperf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_rperf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_rperf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_rperf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_rperf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_rperf_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_stress_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_stress_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_stress_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_stress_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_stress_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_stress_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_uperf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_uperf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_uperf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_uperf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_uperf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_membarrier_uperf_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_perf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_perf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_perf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_perf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_perf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_perf_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_rperf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_rperf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_rperf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_rperf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_rperf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_rperf_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_stress_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_stress_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_stress_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_stress_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_stress_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_stress_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_uperf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_uperf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_uperf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_uperf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_uperf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_qsbr_uperf_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_perf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_perf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_perf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_perf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_perf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_perf_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_rperf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_rperf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_rperf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_rperf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_rperf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_rperf_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_stress_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_stress_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_stress_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_stress_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_stress_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_stress_perthread_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_uperf_global.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_uperf_global_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_uperf_percpu.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_uperf_percpu_cxx.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_uperf_perthread.tap.in delete mode 100644 tests/regression/rcutorture_urcu_signal_uperf_perthread_cxx.tap.in create mode 100755 tests/regression/test_rcutorture_urcu_bp_perf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_perf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_perf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_perf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_perf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_perf_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_rperf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_rperf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_rperf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_rperf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_rperf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_rperf_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_stress_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_stress_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_stress_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_stress_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_stress_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_stress_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_uperf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_uperf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_uperf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_uperf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_uperf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_bp_uperf_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_perf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_perf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_perf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_perf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_perf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_perf_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_rperf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_rperf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_rperf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_rperf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_rperf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_rperf_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_stress_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_stress_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_stress_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_stress_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_stress_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_stress_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_uperf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_uperf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_uperf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_uperf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_uperf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_mb_uperf_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_perf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_perf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_perf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_perf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_perf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_perf_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_rperf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_rperf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_rperf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_rperf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_rperf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_rperf_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_stress_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_stress_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_stress_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_stress_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_stress_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_stress_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_uperf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_uperf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_uperf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_uperf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_uperf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_membarrier_uperf_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_perf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_perf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_perf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_perf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_perf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_perf_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_rperf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_rperf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_rperf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_rperf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_rperf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_rperf_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_stress_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_stress_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_stress_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_stress_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_stress_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_stress_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_uperf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_uperf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_uperf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_uperf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_uperf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_qsbr_uperf_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_perf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_perf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_perf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_perf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_perf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_perf_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_rperf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_rperf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_rperf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_rperf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_rperf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_rperf_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_stress_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_stress_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_stress_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_stress_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_stress_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_stress_perthread_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_uperf_global.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_uperf_global_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_uperf_percpu.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_uperf_percpu_cxx.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_uperf_perthread.tap create mode 100755 tests/regression/test_rcutorture_urcu_signal_uperf_perthread_cxx.tap create mode 100644 tests/utils/env.sh.in create mode 100755 tests/utils/utils.sh diff --git a/.gitignore b/.gitignore index af49d08..0ef3e67 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,7 @@ tests/unit/test_urcu_multiflavor_single_unit_dynlink tests/unit/test_urcu_multiflavor_single_unit_dynlink_cxx tests/utils/libtap.a +tests/utils/env.sh tests/regression/rcutorture_urcu_bp tests/regression/rcutorture_urcu_bp_cxx @@ -33,7 +34,6 @@ tests/regression/rcutorture_urcu_signal tests/regression/rcutorture_urcu_signal_cxx tests/regression/test_urcu_fork_cxx.tap tests/regression/test_urcu_fork.tap -tests/regression/rcutorture*.tap tests/benchmark/test_rwlock_timing tests/benchmark/test_urcu diff --git a/configure.ac b/configure.ac index a044f64..af67719 100644 --- a/configure.ac +++ b/configure.ac @@ -161,14 +161,7 @@ AC_PROG_GREP AC_PROG_MAKE_SET AC_CHECK_PROGS(NPROC, [nproc gnproc]) AC_CHECK_PROGS(GETCONF, [getconf]) -AS_IF([test "x$NPROC" != "x"], - [NPROC_CMD=$NPROC], - [AS_IF([test "x$GETCONF" != "x"], - [NPROC_CMD="$GETCONF _NPROCESSORS_ONLN"], - [NPROC_CMD="echo 1"] - )] -) -AC_SUBST([NPROC_CMD], [$NPROC_CMD]) +AC_CHECK_PROGS(TIME, [time]) # Initialize and configure libtool LT_INIT @@ -323,126 +316,7 @@ AC_CONFIG_FILES([ src/liburcu-signal.pc ]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_perf_global.tap], [chmod +x tests/regression/rcutorture_urcu_bp_perf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_perf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_bp_perf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_perf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_bp_perf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_perf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_bp_perf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_perf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_bp_perf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_perf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_bp_perf_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_bp_rperf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_rperf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_bp_rperf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_rperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_bp_rperf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_rperf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_bp_rperf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_rperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_bp_rperf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_rperf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_bp_rperf_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_stress_global.tap], [chmod +x tests/regression/rcutorture_urcu_bp_stress_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_stress_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_bp_stress_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_stress_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_bp_stress_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_stress_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_bp_stress_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_stress_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_bp_stress_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_stress_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_bp_stress_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_bp_uperf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_uperf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_bp_uperf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_uperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_bp_uperf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_uperf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_bp_uperf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_uperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_bp_uperf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_uperf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_bp_uperf_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_perf_global.tap], [chmod +x tests/regression/rcutorture_urcu_mb_perf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_perf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_mb_perf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_perf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_mb_perf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_perf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_mb_perf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_perf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_mb_perf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_perf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_mb_perf_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_mb_rperf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_rperf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_mb_rperf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_rperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_mb_rperf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_rperf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_mb_rperf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_rperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_mb_rperf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_rperf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_mb_rperf_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_stress_global.tap], [chmod +x tests/regression/rcutorture_urcu_mb_stress_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_stress_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_mb_stress_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_stress_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_mb_stress_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_stress_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_mb_stress_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_stress_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_mb_stress_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_stress_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_mb_stress_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_mb_uperf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_uperf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_mb_uperf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_uperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_mb_uperf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_uperf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_mb_uperf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_uperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_mb_uperf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_uperf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_mb_uperf_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_perf_global.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_perf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_perf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_perf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_perf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_perf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_perf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_perf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_perf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_perf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_perf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_perf_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_rperf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_rperf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_rperf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_rperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_rperf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_rperf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_rperf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_rperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_rperf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_rperf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_rperf_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_stress_global.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_stress_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_stress_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_stress_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_stress_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_stress_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_stress_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_stress_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_stress_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_stress_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_stress_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_stress_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_uperf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_uperf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_uperf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_uperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_uperf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_uperf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_uperf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_uperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_uperf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_uperf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_uperf_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_perf_global.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_perf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_perf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_perf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_perf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_perf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_perf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_perf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_perf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_perf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_perf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_perf_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_rperf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_rperf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_rperf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_rperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_rperf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_rperf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_rperf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_rperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_rperf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_rperf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_rperf_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_stress_global.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_stress_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_stress_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_stress_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_stress_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_stress_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_stress_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_stress_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_stress_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_stress_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_stress_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_stress_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_uperf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_uperf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_uperf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_uperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_uperf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_uperf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_uperf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_uperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_uperf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_uperf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_uperf_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_perf_global.tap], [chmod +x tests/regression/rcutorture_urcu_signal_perf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_perf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_signal_perf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_perf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_signal_perf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_perf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_signal_perf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_perf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_signal_perf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_perf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_signal_perf_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_signal_rperf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_rperf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_signal_rperf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_rperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_signal_rperf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_rperf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_signal_rperf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_rperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_signal_rperf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_rperf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_signal_rperf_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_stress_global.tap], [chmod +x tests/regression/rcutorture_urcu_signal_stress_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_stress_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_signal_stress_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_stress_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_signal_stress_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_stress_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_signal_stress_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_stress_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_signal_stress_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_stress_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_signal_stress_perthread_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_signal_uperf_global.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_uperf_global_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_signal_uperf_global_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_uperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_signal_uperf_percpu.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_uperf_percpu_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_signal_uperf_percpu_cxx.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_uperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_signal_uperf_perthread.tap]) -AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_uperf_perthread_cxx.tap], [chmod +x tests/regression/rcutorture_urcu_signal_uperf_perthread_cxx.tap]) +AC_CONFIG_FILES([tests/utils/env.sh],[chmod +x tests/utils/env.sh]) AC_OUTPUT diff --git a/tests/benchmark/Makefile.am b/tests/benchmark/Makefile.am index 30c5291..c53e025 100644 --- a/tests/benchmark/Makefile.am +++ b/tests/benchmark/Makefile.am @@ -2,13 +2,12 @@ AM_CPPFLAGS += -I$(top_srcdir)/src -I$(top_srcdir)/tests/common TEST_EXTENSIONS = .tap TAP_LOG_DRIVER_FLAGS = --merge --comments -TAP_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ - $(top_srcdir)/tests/utils/tap-driver.sh +TAP_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' \ + URCU_TESTS_SRCDIR='$(abs_top_srcdir)/tests' \ + URCU_TESTS_BUILDDIR='$(abs_top_builddir)/tests' \ + $(SHELL) $(top_srcdir)/tests/utils/tap-driver.sh -SCRIPT_LIST = common.sh \ - run-urcu-tests.sh \ - runhash.sh \ - runtests.sh \ +SCRIPT_LIST = \ runpaul-phase1.sh \ runpaul-phase2.sh \ runpaul-phase3.sh \ @@ -16,10 +15,14 @@ SCRIPT_LIST = common.sh \ runpaul-phase5.sh \ runpaul-phase6.sh \ runpaul-phase7.sh \ - runtests-batch.sh \ subphase4.sh -dist_noinst_SCRIPTS = $(SCRIPT_LIST) +dist_noinst_SCRIPTS = \ + runhash.sh \ + runtests-batch.sh \ + runtests.sh \ + run-urcu-tests.sh \ + $(SCRIPT_LIST) dist_noinst_DATA = \ hashtable_1_seconds.tap \ @@ -220,14 +223,14 @@ test_urcu_hash_LDADD = $(URCU_QSBR_LIB) $(URCU_COMMON_LIB) $(URCU_CDS_LIB) all-local: @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ - for script in $(SCRIPT_LIST) $(TEST_LIST); do \ + for script in $(SCRIPT_LIST); do \ cp -f $(srcdir)/$$script $(builddir); \ done; \ fi clean-local: @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ - for script in $(SCRIPT_LIST) $(TEST_LIST); do \ + for script in $(SCRIPT_LIST); do \ rm -f $(builddir)/$$script; \ done; \ fi diff --git a/tests/benchmark/common.sh b/tests/benchmark/common.sh deleted file mode 100755 index 4dbc567..0000000 --- a/tests/benchmark/common.sh +++ /dev/null @@ -1,36 +0,0 @@ -# -# This file is meant to be sourced from other tests scripts. -# - -cleanup() { - if [ x"$TMPFILE" != "x" ]; then - rm -f "$TMPFILE" - fi - - # Call the tap.sh exit cleanup code - _exit -} - -xseq() { - i=$1 - while [[ "$i" -le "$2" ]]; do - echo "$i" - i=$(( i + 1 )) - done -} - -# Set TEST_TIME_BIN -if [ -x "$URCU_TEST_TIME_BIN" ]; then - TEST_TIME_BIN="$URCU_TEST_TIME_BIN" -elif [ -x "/usr/bin/time" ]; then - TEST_TIME_BIN="/usr/bin/time" -else - TEST_TIME_BIN="" -fi -export TEST_TIME_BIN - -# Create a temporary file for tests output -TMPFILE=$(mktemp) - -# Set traps to delete the temporary file on exit -trap cleanup EXIT diff --git a/tests/benchmark/hashtable_1_seconds.tap b/tests/benchmark/hashtable_1_seconds.tap index 48c4adb..e6d363c 100755 --- a/tests/benchmark/hashtable_1_seconds.tap +++ b/tests/benchmark/hashtable_1_seconds.tap @@ -1 +1,18 @@ -./runhash.sh 1 +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"$URCU_TESTS_SRCDIR/benchmark/runhash.sh" 1 diff --git a/tests/benchmark/hashtable_30_seconds.tap b/tests/benchmark/hashtable_30_seconds.tap index 0c40ef8..ab809be 100755 --- a/tests/benchmark/hashtable_30_seconds.tap +++ b/tests/benchmark/hashtable_30_seconds.tap @@ -1 +1,18 @@ -./runhash.sh 30 +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"$URCU_TESTS_SRCDIR/benchmark/runhash.sh" 30 diff --git a/tests/benchmark/hashtable_3_seconds.tap b/tests/benchmark/hashtable_3_seconds.tap index 031aa77..73b536e 100755 --- a/tests/benchmark/hashtable_3_seconds.tap +++ b/tests/benchmark/hashtable_3_seconds.tap @@ -1 +1,18 @@ -./runhash.sh 3 +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"$URCU_TESTS_SRCDIR/benchmark/runhash.sh" 3 diff --git a/tests/benchmark/run-urcu-tests.sh b/tests/benchmark/run-urcu-tests.sh index 751514a..cb82054 100755 --- a/tests/benchmark/run-urcu-tests.sh +++ b/tests/benchmark/run-urcu-tests.sh @@ -1,6 +1,24 @@ #!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# Enable TAP +SH_TAP=1 + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" -#first parameter: seconds per test + +# First parameter: seconds per test DURATION=$1 if [ "x${DURATION}" = "x" ]; then @@ -8,20 +26,14 @@ if [ "x${DURATION}" = "x" ]; then exit 1 fi -. ../utils/tap.sh -. ./common.sh - -NUM_CPUS="1" -for i in nproc gnproc; do - NUM_CPUS=$($i 2>/dev/null) - if [ "$?" -eq "0" ]; then - break - else - NUM_CPUS="1" - fi -done +# Create a temporary file for tests output +TMPFILE=$(mktemp) + +# Set trap to delete the temporary file on exit and call tap.sh '_exit' +trap 'rm -f "$TMPFILE"; _exit' EXIT -#set to number of active CPUS +# Set to number of active CPUS +NUM_CPUS="$(urcu_nproc)" if [[ ${NUM_CPUS} -lt 4 ]]; then NUM_CPUS=4 # Floor at 4 due to following assumptions. fi @@ -56,6 +68,7 @@ diag "Executing URCU tests" #x: vary update fraction from 0 to 0.0001 #fix number of readers and reader C.S. length, vary delay between updates #y: ops/s +EXTRA_OPTS="" diag "Executing batch RCU test" @@ -69,9 +82,9 @@ NR_READERS=$((NUM_CPUS - NR_WRITERS)) for BATCH_SIZE in ${BATCH_ARRAY}; do for TEST in ${BATCH_TEST_ARRAY}; do - okx ${TEST_TIME_BIN} ./"${TEST}" "${NR_READERS}" "${NR_WRITERS}" "${DURATION}" \ + okx ${URCU_TESTS_TIME_BIN} "${URCU_TESTS_BUILDDIR}/benchmark/${TEST}" "${NR_READERS}" "${NR_WRITERS}" "${DURATION}" \ -d 0 -b "${BATCH_SIZE}" ${EXTRA_OPTS} 2>"${TMPFILE}" - while read line; do + while read -r line; do echo "## $line" done <"${TMPFILE}" done @@ -95,9 +108,9 @@ NR_READERS=$((NUM_CPUS - NR_WRITERS)) for WDELAY in ${WDELAY_ARRAY}; do for TEST in ${TEST_ARRAY}; do - okx ${TEST_TIME_BIN} ./"${TEST}" "${NR_READERS}" "${NR_WRITERS}" "${DURATION}" \ + okx ${URCU_TESTS_TIME_BIN} "${URCU_TESTS_BUILDDIR}/benchmark/${TEST}" "${NR_READERS}" "${NR_WRITERS}" "${DURATION}" \ -d "${WDELAY}" ${EXTRA_OPTS} 2>"${TMPFILE}" - while read line; do + while read -r line; do echo "## $line" done <"${TMPFILE}" done @@ -112,11 +125,11 @@ diag "Executing scalability test" NR_WRITERS=0 -for NR_READERS in $(xseq 1 ${NUM_CPUS}); do +for NR_READERS in $(urcu_xseq 1 ${NUM_CPUS}); do for TEST in ${TEST_ARRAY}; do - okx ${TEST_TIME_BIN} ./"${TEST}" "${NR_READERS}" "${NR_WRITERS}" "${DURATION}" \ + okx ${URCU_TESTS_TIME_BIN} "${URCU_TESTS_BUILDDIR}/benchmark/${TEST}" "${NR_READERS}" "${NR_WRITERS}" "${DURATION}" \ ${EXTRA_OPTS} 2>"${TMPFILE}" - while read line; do + while read -r line; do echo "## $line" done <"${TMPFILE}" done @@ -137,9 +150,9 @@ READERCSLEN_ARRAY="0 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 3276 for READERCSLEN in ${READERCSLEN_ARRAY}; do for TEST in ${TEST_ARRAY}; do - okx ${TEST_TIME_BIN} ./"${TEST}" "${NR_READERS}" "${NR_WRITERS}" "${DURATION}" \ + okx ${URCU_TESTS_TIME_BIN} "${URCU_TESTS_BUILDDIR}/benchmark/${TEST}" "${NR_READERS}" "${NR_WRITERS}" "${DURATION}" \ -c "${READERCSLEN}" ${EXTRA_OPTS} 2>"${TMPFILE}" - while read line; do + while read -r line; do echo "## $line" done <"${TMPFILE}" done diff --git a/tests/benchmark/runhash.sh b/tests/benchmark/runhash.sh index 4f693d1..8bbac00 100755 --- a/tests/benchmark/runhash.sh +++ b/tests/benchmark/runhash.sh @@ -1,4 +1,22 @@ #!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# Enable TAP +SH_TAP=1 + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + # 1st parameter: seconds per test DURATION=$1 @@ -8,8 +26,6 @@ if [ "x${DURATION}" = "x" ]; then exit 1 fi -source ../utils/tap.sh - NUM_TESTS=17 plan_tests ${NUM_TESTS} @@ -21,19 +37,10 @@ diag "Executing Hash table test" # add/remove/random # - validate that "nr_leaked" is always 0 in SUMMARY for all tests -TESTPROG=./test_urcu_hash - -NUM_CPUS="1" -for i in nproc gnproc; do - NUM_CPUS=$($i 2>/dev/null) - if [ "$?" -eq "0" ]; then - break - else - NUM_CPUS="1" - fi -done +TESTPROG="${URCU_TESTS_BUILDDIR}/benchmark/test_urcu_hash" #thread multiplier: number of processors divided by 4. +NUM_CPUS="$(urcu_nproc)" if [[ ${NUM_CPUS} -lt 4 ]]; then NUM_CPUS=4 # Floor at 4 due to following assumptions. fi @@ -46,19 +53,19 @@ EXTRA_PARAMS=-v # rw test, single key, replace and del randomly, 4 threads, auto resize. # key range: init, lookup, and update: 0 to 0 -okx ${TESTPROG} 0 $((4*THREAD_MUL)) "${DURATION}" -A -s -M 1 -N 1 -O 1 ${EXTRA_PARAMS} +okx "${TESTPROG}" 0 $((4*THREAD_MUL)) "${DURATION}" -A -s -M 1 -N 1 -O 1 ${EXTRA_PARAMS} # rw test, single key, add unique and del randomly, 4 threads, auto resize. # key range: init, lookup, and update: 0 to 0 -okx ${TESTPROG} 0 $((4*THREAD_MUL)) "${DURATION}" -A -u -M 1 -N 1 -O 1 ${EXTRA_PARAMS} +okx "${TESTPROG}" 0 $((4*THREAD_MUL)) "${DURATION}" -A -u -M 1 -N 1 -O 1 ${EXTRA_PARAMS} # rw test, single key, replace and del randomly, 2 lookup threads, 2 update threads, auto resize. # key range: init, lookup, and update: 0 to 0 -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -s -M 1 -N 1 -O 1 ${EXTRA_PARAMS} +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -s -M 1 -N 1 -O 1 ${EXTRA_PARAMS} # rw test, single key, add and del randomly, 2 lookup threads, 2 update threads, auto resize. # key range: init, lookup, and update: 0 to 0 -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -M 1 -N 1 -O 1 ${EXTRA_PARAMS} +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -M 1 -N 1 -O 1 ${EXTRA_PARAMS} # ** test updates vs lookups with default table @@ -66,17 +73,17 @@ okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -M 1 -N 1 - # rw test, 2 lookup, 2 update threads, add and del randomly, auto resize. # max 1048576 buckets # key range: init, lookup, and update: 0 to 999999 -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A ${EXTRA_PARAMS} +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A ${EXTRA_PARAMS} # rw test, 2 lookup, 2 update threads, add_replace and del randomly, auto resize. # max 1048576 buckets # key range: init, lookup, and update: 0 to 999999 -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -s ${EXTRA_PARAMS} +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -s ${EXTRA_PARAMS} # rw test, 2 lookup, 2 update threads, add_unique and del randomly, auto resize. # max 1048576 buckets # key range: init, lookup, and update: 0 to 999999 -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -u ${EXTRA_PARAMS} +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -u ${EXTRA_PARAMS} # test memory management backends @@ -85,21 +92,21 @@ okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -u ${EXTRA_ # max buckets: 1048576 # key range: init, lookup, and update: 0 to 99999999 # mm backend: "order" -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -m 1 -n 1048576 -i \ +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -m 1 -n 1048576 -i \ -M 100000000 -N 100000000 -O 100000000 -B order ${EXTRA_PARAMS} # rw test, 2 lookup, 2 update threads, add only, auto resize. # max buckets: 1048576 # key range: init, lookup, and update: 0 to 99999999 # mm backend: "chunk" -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -m 1 -n 1048576 -i \ +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -m 1 -n 1048576 -i \ -M 100000000 -N 100000000 -O 100000000 -B chunk ${EXTRA_PARAMS} # rw test, 2 lookup, 2 update threads, add only, auto resize. # max buckets: 1048576 # key range: init, lookup, and update: 0 to 99999999 # mm backend: "mmap" -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -m 1 -n 1048576 -i \ +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -m 1 -n 1048576 -i \ -M 100000000 -N 100000000 -O 100000000 -B mmap ${EXTRA_PARAMS} @@ -111,7 +118,7 @@ okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A -m 1 -n 104 # key range: lookup: 1000000 to 1999999 # NOTE: reader threads in this test should never have a successful # lookup. TODO -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ -R 1000000 ${EXTRA_PARAMS} # ** small key range @@ -119,19 +126,19 @@ okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ # rw test, 2 lookup, 2 update threads, add and del randomly, auto resize. # max 1048576 buckets # key range: init, update, and lookups: 0 to 9 -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ -M 10 -N 10 -O 10 ${EXTRA_PARAMS} # rw test, 2 lookup, 2 update threads, add_unique and del randomly, auto resize. # max 1048576 buckets # key range: init, update, and lookups: 0 to 9 -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ -M 10 -N 10 -O 10 -u ${EXTRA_PARAMS} # rw test, 2 lookup, 2 update threads, add_replace and del randomly, auto resize. # max 1048576 buckets # key range: init, update, and lookups: 0 to 9 -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ -M 10 -N 10 -O 10 -s ${EXTRA_PARAMS} # ** lookup for known keys @@ -143,7 +150,7 @@ okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ # key range: updates: 10 to 19 # NOTE: reader threads in this test should always have successful # lookups. TODO -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ -M 10 -N 10 -O 10 -R 0 -T 0 -S 10 -k 10 -s ${EXTRA_PARAMS} # ** Uniqueness test @@ -152,12 +159,12 @@ okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ # max 1048576 buckets # asserts that no duplicates are observed by reader threads # standard length hash chains -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ -U ${EXTRA_PARAMS} # rw test, 2 lookup, 2 update threads, add_unique, add_replace and del randomly, auto resize. # max 1048576 buckets # asserts that no duplicates are observed by reader threads # create long hash chains: using modulo 4 on keys as hash -okx ${TESTPROG} $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ +okx "${TESTPROG}" $((2*THREAD_MUL)) $((2*THREAD_MUL)) "${DURATION}" -A \ -U -C 4 ${EXTRA_PARAMS} diff --git a/tests/benchmark/runtests-batch.sh b/tests/benchmark/runtests-batch.sh index f030de6..5565023 100755 --- a/tests/benchmark/runtests-batch.sh +++ b/tests/benchmark/runtests-batch.sh @@ -1,7 +1,29 @@ #!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# Enable TAP +SH_TAP=1 + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +# Create a temporary file for tests output +TMPFILE=$(mktemp) + +# Set trap to delete the temporary file on exit and call tap.sh '_exit' +trap 'rm -f "$TMPFILE"; _exit' EXIT -. ../utils/tap.sh -. ./common.sh NUM_TESTS=1 @@ -9,6 +31,6 @@ plan_tests ${NUM_TESTS} #for a in test_urcu_gc test_urcu_gc_mb test_urcu_qsbr_gc; do for a in test_urcu_gc; do - okx "${TEST_TIME_BIN}" ./"${a}" "$@" 2>"${TMPFILE}" + okx "${URCU_TESTS_TIME_BIN}" "${URCU_TESTS_BUILDDIR}/benchmark/${a}" "$@" 2>"${TMPFILE}" diag "time: $(cat "${TMPFILE}")" done diff --git a/tests/benchmark/runtests.sh b/tests/benchmark/runtests.sh index dd5d662..cfc0bac 100755 --- a/tests/benchmark/runtests.sh +++ b/tests/benchmark/runtests.sh @@ -1,7 +1,29 @@ #!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# Enable TAP +SH_TAP=1 + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +# Create a temporary file for tests output +TMPFILE=$(mktemp) + +# Set trap to delete the temporary file on exit and call tap.sh '_exit' +trap 'rm -f "$TMPFILE"; _exit' EXIT -. ../utils/tap.sh -. ./common.sh NUM_TESTS=15 @@ -11,6 +33,6 @@ for a in test_urcu_gc test_urcu_signal_gc test_urcu_mb_gc test_urcu_qsbr_gc \ test_urcu_lgc test_urcu_signal_lgc test_urcu_mb_lgc test_urcu_qsbr_lgc \ test_urcu test_urcu_signal test_urcu_mb test_urcu_qsbr \ test_rwlock test_perthreadlock test_mutex; do - okx ${TEST_TIME_BIN} ./"${a}" "$@" 2>"${TMPFILE}" + okx ${URCU_TESTS_TIME_BIN} "$URCU_TESTS_BUILDDIR/benchmark/${a}" "$@" 2>"${TMPFILE}" diag "time: $(cat "${TMPFILE}")" done diff --git a/tests/benchmark/urcu_1_seconds.tap b/tests/benchmark/urcu_1_seconds.tap index 8553ed9..c7223f8 100755 --- a/tests/benchmark/urcu_1_seconds.tap +++ b/tests/benchmark/urcu_1_seconds.tap @@ -1 +1,18 @@ -./run-urcu-tests.sh 1 +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"$URCU_TESTS_SRCDIR/benchmark/run-urcu-tests.sh" 1 diff --git a/tests/benchmark/urcu_30_seconds.tap b/tests/benchmark/urcu_30_seconds.tap index 5c13dd9..63595b9 100755 --- a/tests/benchmark/urcu_30_seconds.tap +++ b/tests/benchmark/urcu_30_seconds.tap @@ -1 +1,18 @@ -./run-urcu-tests.sh 30 +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"$URCU_TESTS_SRCDIR/benchmark/run-urcu-tests.sh" 30 diff --git a/tests/benchmark/urcu_3_seconds.tap b/tests/benchmark/urcu_3_seconds.tap index 51f4412..4ceee7e 100755 --- a/tests/benchmark/urcu_3_seconds.tap +++ b/tests/benchmark/urcu_3_seconds.tap @@ -1 +1,18 @@ -./run-urcu-tests.sh 3 +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"$URCU_TESTS_SRCDIR/benchmark/run-urcu-tests.sh" 3 diff --git a/tests/regression/Makefile.am b/tests/regression/Makefile.am index b8d4acf..96bda6f 100644 --- a/tests/regression/Makefile.am +++ b/tests/regression/Makefile.am @@ -2,8 +2,10 @@ AM_CPPFLAGS += -I$(top_srcdir)/src -I$(top_srcdir)/tests/utils -I$(top_srcdir)/t TEST_EXTENSIONS = .tap TAP_LOG_DRIVER_FLAGS = --merge --comments -TAP_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ - $(top_srcdir)/tests/utils/tap-driver.sh +TAP_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' \ + URCU_TESTS_SRCDIR='$(abs_top_srcdir)/tests' \ + URCU_TESTS_BUILDDIR='$(abs_top_builddir)/tests' \ + $(SHELL) $(top_srcdir)/tests/utils/tap-driver.sh noinst_PROGRAMS = \ test_urcu_fork.tap \ @@ -78,6 +80,128 @@ rcutorture_urcu_bp_cxx_LDADD = $(URCU_BP_LIB) $(TAP_LIB) urcutorture.c: ../common/api.h +dist_check_SCRIPTS = \ + test_rcutorture_urcu_bp_perf_global.tap \ + test_rcutorture_urcu_bp_perf_global_cxx.tap \ + test_rcutorture_urcu_bp_perf_percpu.tap \ + test_rcutorture_urcu_bp_perf_percpu_cxx.tap \ + test_rcutorture_urcu_bp_perf_perthread.tap \ + test_rcutorture_urcu_bp_perf_perthread_cxx.tap \ + test_rcutorture_urcu_bp_rperf_global.tap \ + test_rcutorture_urcu_bp_rperf_global_cxx.tap \ + test_rcutorture_urcu_bp_rperf_percpu.tap \ + test_rcutorture_urcu_bp_rperf_percpu_cxx.tap \ + test_rcutorture_urcu_bp_rperf_perthread.tap \ + test_rcutorture_urcu_bp_rperf_perthread_cxx.tap \ + test_rcutorture_urcu_bp_stress_global.tap \ + test_rcutorture_urcu_bp_stress_global_cxx.tap \ + test_rcutorture_urcu_bp_stress_percpu.tap \ + test_rcutorture_urcu_bp_stress_percpu_cxx.tap \ + test_rcutorture_urcu_bp_stress_perthread.tap \ + test_rcutorture_urcu_bp_stress_perthread_cxx.tap \ + test_rcutorture_urcu_bp_uperf_global.tap \ + test_rcutorture_urcu_bp_uperf_global_cxx.tap \ + test_rcutorture_urcu_bp_uperf_percpu.tap \ + test_rcutorture_urcu_bp_uperf_percpu_cxx.tap \ + test_rcutorture_urcu_bp_uperf_perthread.tap \ + test_rcutorture_urcu_bp_uperf_perthread_cxx.tap \ + test_rcutorture_urcu_mb_perf_global.tap \ + test_rcutorture_urcu_mb_perf_global_cxx.tap \ + test_rcutorture_urcu_mb_perf_percpu.tap \ + test_rcutorture_urcu_mb_perf_percpu_cxx.tap \ + test_rcutorture_urcu_mb_perf_perthread.tap \ + test_rcutorture_urcu_mb_perf_perthread_cxx.tap \ + test_rcutorture_urcu_mb_rperf_global.tap \ + test_rcutorture_urcu_mb_rperf_global_cxx.tap \ + test_rcutorture_urcu_mb_rperf_percpu.tap \ + test_rcutorture_urcu_mb_rperf_percpu_cxx.tap \ + test_rcutorture_urcu_mb_rperf_perthread.tap \ + test_rcutorture_urcu_mb_rperf_perthread_cxx.tap \ + test_rcutorture_urcu_mb_stress_global.tap \ + test_rcutorture_urcu_mb_stress_global_cxx.tap \ + test_rcutorture_urcu_mb_stress_percpu.tap \ + test_rcutorture_urcu_mb_stress_percpu_cxx.tap \ + test_rcutorture_urcu_mb_stress_perthread.tap \ + test_rcutorture_urcu_mb_stress_perthread_cxx.tap \ + test_rcutorture_urcu_mb_uperf_global.tap \ + test_rcutorture_urcu_mb_uperf_global_cxx.tap \ + test_rcutorture_urcu_mb_uperf_percpu.tap \ + test_rcutorture_urcu_mb_uperf_percpu_cxx.tap \ + test_rcutorture_urcu_mb_uperf_perthread.tap \ + test_rcutorture_urcu_mb_uperf_perthread_cxx.tap \ + test_rcutorture_urcu_membarrier_perf_global.tap \ + test_rcutorture_urcu_membarrier_perf_global_cxx.tap \ + test_rcutorture_urcu_membarrier_perf_percpu.tap \ + test_rcutorture_urcu_membarrier_perf_percpu_cxx.tap \ + test_rcutorture_urcu_membarrier_perf_perthread.tap \ + test_rcutorture_urcu_membarrier_perf_perthread_cxx.tap \ + test_rcutorture_urcu_membarrier_rperf_global.tap \ + test_rcutorture_urcu_membarrier_rperf_global_cxx.tap \ + test_rcutorture_urcu_membarrier_rperf_percpu.tap \ + test_rcutorture_urcu_membarrier_rperf_percpu_cxx.tap \ + test_rcutorture_urcu_membarrier_rperf_perthread.tap \ + test_rcutorture_urcu_membarrier_rperf_perthread_cxx.tap \ + test_rcutorture_urcu_membarrier_stress_global.tap \ + test_rcutorture_urcu_membarrier_stress_global_cxx.tap \ + test_rcutorture_urcu_membarrier_stress_percpu.tap \ + test_rcutorture_urcu_membarrier_stress_percpu_cxx.tap \ + test_rcutorture_urcu_membarrier_stress_perthread.tap \ + test_rcutorture_urcu_membarrier_stress_perthread_cxx.tap \ + test_rcutorture_urcu_membarrier_uperf_global.tap \ + test_rcutorture_urcu_membarrier_uperf_global_cxx.tap \ + test_rcutorture_urcu_membarrier_uperf_percpu.tap \ + test_rcutorture_urcu_membarrier_uperf_percpu_cxx.tap \ + test_rcutorture_urcu_membarrier_uperf_perthread.tap \ + test_rcutorture_urcu_membarrier_uperf_perthread_cxx.tap \ + test_rcutorture_urcu_qsbr_perf_global.tap \ + test_rcutorture_urcu_qsbr_perf_global_cxx.tap \ + test_rcutorture_urcu_qsbr_perf_percpu.tap \ + test_rcutorture_urcu_qsbr_perf_percpu_cxx.tap \ + test_rcutorture_urcu_qsbr_perf_perthread.tap \ + test_rcutorture_urcu_qsbr_perf_perthread_cxx.tap \ + test_rcutorture_urcu_qsbr_rperf_global.tap \ + test_rcutorture_urcu_qsbr_rperf_global_cxx.tap \ + test_rcutorture_urcu_qsbr_rperf_percpu.tap \ + test_rcutorture_urcu_qsbr_rperf_percpu_cxx.tap \ + test_rcutorture_urcu_qsbr_rperf_perthread.tap \ + test_rcutorture_urcu_qsbr_rperf_perthread_cxx.tap \ + test_rcutorture_urcu_qsbr_stress_global.tap \ + test_rcutorture_urcu_qsbr_stress_global_cxx.tap \ + test_rcutorture_urcu_qsbr_stress_percpu.tap \ + test_rcutorture_urcu_qsbr_stress_percpu_cxx.tap \ + test_rcutorture_urcu_qsbr_stress_perthread.tap \ + test_rcutorture_urcu_qsbr_stress_perthread_cxx.tap \ + test_rcutorture_urcu_qsbr_uperf_global.tap \ + test_rcutorture_urcu_qsbr_uperf_global_cxx.tap \ + test_rcutorture_urcu_qsbr_uperf_percpu.tap \ + test_rcutorture_urcu_qsbr_uperf_percpu_cxx.tap \ + test_rcutorture_urcu_qsbr_uperf_perthread.tap \ + test_rcutorture_urcu_qsbr_uperf_perthread_cxx.tap \ + test_rcutorture_urcu_signal_perf_global.tap \ + test_rcutorture_urcu_signal_perf_global_cxx.tap \ + test_rcutorture_urcu_signal_perf_percpu.tap \ + test_rcutorture_urcu_signal_perf_percpu_cxx.tap \ + test_rcutorture_urcu_signal_perf_perthread.tap \ + test_rcutorture_urcu_signal_perf_perthread_cxx.tap \ + test_rcutorture_urcu_signal_rperf_global.tap \ + test_rcutorture_urcu_signal_rperf_global_cxx.tap \ + test_rcutorture_urcu_signal_rperf_percpu.tap \ + test_rcutorture_urcu_signal_rperf_percpu_cxx.tap \ + test_rcutorture_urcu_signal_rperf_perthread.tap \ + test_rcutorture_urcu_signal_rperf_perthread_cxx.tap \ + test_rcutorture_urcu_signal_stress_global.tap \ + test_rcutorture_urcu_signal_stress_global_cxx.tap \ + test_rcutorture_urcu_signal_stress_percpu.tap \ + test_rcutorture_urcu_signal_stress_percpu_cxx.tap \ + test_rcutorture_urcu_signal_stress_perthread.tap \ + test_rcutorture_urcu_signal_stress_perthread_cxx.tap \ + test_rcutorture_urcu_signal_uperf_global.tap \ + test_rcutorture_urcu_signal_uperf_global_cxx.tap \ + test_rcutorture_urcu_signal_uperf_percpu.tap \ + test_rcutorture_urcu_signal_uperf_percpu_cxx.tap \ + test_rcutorture_urcu_signal_uperf_perthread.tap \ + test_rcutorture_urcu_signal_uperf_perthread_cxx.tap + .PHONY: regtest # This empty variable is required to enable the TAP test suite for custom @@ -87,126 +211,126 @@ TESTS = REGTEST_TESTS = \ test_urcu_fork.tap \ test_urcu_fork_cxx.tap \ - rcutorture_urcu_bp_perf_global.tap \ - rcutorture_urcu_bp_perf_global_cxx.tap \ - rcutorture_urcu_bp_perf_percpu.tap \ - rcutorture_urcu_bp_perf_percpu_cxx.tap \ - rcutorture_urcu_bp_perf_perthread.tap \ - rcutorture_urcu_bp_perf_perthread_cxx.tap \ - rcutorture_urcu_bp_rperf_global.tap \ - rcutorture_urcu_bp_rperf_global_cxx.tap \ - rcutorture_urcu_bp_rperf_percpu.tap \ - rcutorture_urcu_bp_rperf_percpu_cxx.tap \ - rcutorture_urcu_bp_rperf_perthread.tap \ - rcutorture_urcu_bp_rperf_perthread_cxx.tap \ - rcutorture_urcu_bp_stress_global.tap \ - rcutorture_urcu_bp_stress_global_cxx.tap \ - rcutorture_urcu_bp_stress_percpu.tap \ - rcutorture_urcu_bp_stress_percpu_cxx.tap \ - rcutorture_urcu_bp_stress_perthread.tap \ - rcutorture_urcu_bp_stress_perthread_cxx.tap \ - rcutorture_urcu_bp_uperf_global.tap \ - rcutorture_urcu_bp_uperf_global_cxx.tap \ - rcutorture_urcu_bp_uperf_percpu.tap \ - rcutorture_urcu_bp_uperf_percpu_cxx.tap \ - rcutorture_urcu_bp_uperf_perthread.tap \ - rcutorture_urcu_bp_uperf_perthread_cxx.tap \ - rcutorture_urcu_mb_perf_global.tap \ - rcutorture_urcu_mb_perf_global_cxx.tap \ - rcutorture_urcu_mb_perf_percpu.tap \ - rcutorture_urcu_mb_perf_percpu_cxx.tap \ - rcutorture_urcu_mb_perf_perthread.tap \ - rcutorture_urcu_mb_perf_perthread_cxx.tap \ - rcutorture_urcu_mb_rperf_global.tap \ - rcutorture_urcu_mb_rperf_global_cxx.tap \ - rcutorture_urcu_mb_rperf_percpu.tap \ - rcutorture_urcu_mb_rperf_percpu_cxx.tap \ - rcutorture_urcu_mb_rperf_perthread.tap \ - rcutorture_urcu_mb_rperf_perthread_cxx.tap \ - rcutorture_urcu_mb_stress_global.tap \ - rcutorture_urcu_mb_stress_global_cxx.tap \ - rcutorture_urcu_mb_stress_percpu.tap \ - rcutorture_urcu_mb_stress_percpu_cxx.tap \ - rcutorture_urcu_mb_stress_perthread.tap \ - rcutorture_urcu_mb_stress_perthread_cxx.tap \ - rcutorture_urcu_mb_uperf_global.tap \ - rcutorture_urcu_mb_uperf_global_cxx.tap \ - rcutorture_urcu_mb_uperf_percpu.tap \ - rcutorture_urcu_mb_uperf_percpu_cxx.tap \ - rcutorture_urcu_mb_uperf_perthread.tap \ - rcutorture_urcu_mb_uperf_perthread_cxx.tap \ - rcutorture_urcu_membarrier_perf_global.tap \ - rcutorture_urcu_membarrier_perf_global_cxx.tap \ - rcutorture_urcu_membarrier_perf_percpu.tap \ - rcutorture_urcu_membarrier_perf_percpu_cxx.tap \ - rcutorture_urcu_membarrier_perf_perthread.tap \ - rcutorture_urcu_membarrier_perf_perthread_cxx.tap \ - rcutorture_urcu_membarrier_rperf_global.tap \ - rcutorture_urcu_membarrier_rperf_global_cxx.tap \ - rcutorture_urcu_membarrier_rperf_percpu.tap \ - rcutorture_urcu_membarrier_rperf_percpu_cxx.tap \ - rcutorture_urcu_membarrier_rperf_perthread.tap \ - rcutorture_urcu_membarrier_rperf_perthread_cxx.tap \ - rcutorture_urcu_membarrier_stress_global.tap \ - rcutorture_urcu_membarrier_stress_global_cxx.tap \ - rcutorture_urcu_membarrier_stress_percpu.tap \ - rcutorture_urcu_membarrier_stress_percpu_cxx.tap \ - rcutorture_urcu_membarrier_stress_perthread.tap \ - rcutorture_urcu_membarrier_stress_perthread_cxx.tap \ - rcutorture_urcu_membarrier_uperf_global.tap \ - rcutorture_urcu_membarrier_uperf_global_cxx.tap \ - rcutorture_urcu_membarrier_uperf_percpu.tap \ - rcutorture_urcu_membarrier_uperf_percpu_cxx.tap \ - rcutorture_urcu_membarrier_uperf_perthread.tap \ - rcutorture_urcu_membarrier_uperf_perthread_cxx.tap \ - rcutorture_urcu_qsbr_perf_global.tap \ - rcutorture_urcu_qsbr_perf_global_cxx.tap \ - rcutorture_urcu_qsbr_perf_percpu.tap \ - rcutorture_urcu_qsbr_perf_percpu_cxx.tap \ - rcutorture_urcu_qsbr_perf_perthread.tap \ - rcutorture_urcu_qsbr_perf_perthread_cxx.tap \ - rcutorture_urcu_qsbr_rperf_global.tap \ - rcutorture_urcu_qsbr_rperf_global_cxx.tap \ - rcutorture_urcu_qsbr_rperf_percpu.tap \ - rcutorture_urcu_qsbr_rperf_percpu_cxx.tap \ - rcutorture_urcu_qsbr_rperf_perthread.tap \ - rcutorture_urcu_qsbr_rperf_perthread_cxx.tap \ - rcutorture_urcu_qsbr_stress_global.tap \ - rcutorture_urcu_qsbr_stress_global_cxx.tap \ - rcutorture_urcu_qsbr_stress_percpu.tap \ - rcutorture_urcu_qsbr_stress_percpu_cxx.tap \ - rcutorture_urcu_qsbr_stress_perthread.tap \ - rcutorture_urcu_qsbr_stress_perthread_cxx.tap \ - rcutorture_urcu_qsbr_uperf_global.tap \ - rcutorture_urcu_qsbr_uperf_global_cxx.tap \ - rcutorture_urcu_qsbr_uperf_percpu.tap \ - rcutorture_urcu_qsbr_uperf_percpu_cxx.tap \ - rcutorture_urcu_qsbr_uperf_perthread.tap \ - rcutorture_urcu_qsbr_uperf_perthread_cxx.tap \ - rcutorture_urcu_signal_perf_global.tap \ - rcutorture_urcu_signal_perf_global_cxx.tap \ - rcutorture_urcu_signal_perf_percpu.tap \ - rcutorture_urcu_signal_perf_percpu_cxx.tap \ - rcutorture_urcu_signal_perf_perthread.tap \ - rcutorture_urcu_signal_perf_perthread_cxx.tap \ - rcutorture_urcu_signal_rperf_global.tap \ - rcutorture_urcu_signal_rperf_global_cxx.tap \ - rcutorture_urcu_signal_rperf_percpu.tap \ - rcutorture_urcu_signal_rperf_percpu_cxx.tap \ - rcutorture_urcu_signal_rperf_perthread.tap \ - rcutorture_urcu_signal_rperf_perthread_cxx.tap \ - rcutorture_urcu_signal_stress_global.tap \ - rcutorture_urcu_signal_stress_global_cxx.tap \ - rcutorture_urcu_signal_stress_percpu.tap \ - rcutorture_urcu_signal_stress_percpu_cxx.tap \ - rcutorture_urcu_signal_stress_perthread.tap \ - rcutorture_urcu_signal_stress_perthread_cxx.tap \ - rcutorture_urcu_signal_uperf_global.tap \ - rcutorture_urcu_signal_uperf_global_cxx.tap \ - rcutorture_urcu_signal_uperf_percpu.tap \ - rcutorture_urcu_signal_uperf_percpu_cxx.tap \ - rcutorture_urcu_signal_uperf_perthread.tap \ - rcutorture_urcu_signal_uperf_perthread_cxx.tap + test_rcutorture_urcu_bp_perf_global.tap \ + test_rcutorture_urcu_bp_perf_global_cxx.tap \ + test_rcutorture_urcu_bp_perf_percpu.tap \ + test_rcutorture_urcu_bp_perf_percpu_cxx.tap \ + test_rcutorture_urcu_bp_perf_perthread.tap \ + test_rcutorture_urcu_bp_perf_perthread_cxx.tap \ + test_rcutorture_urcu_bp_rperf_global.tap \ + test_rcutorture_urcu_bp_rperf_global_cxx.tap \ + test_rcutorture_urcu_bp_rperf_percpu.tap \ + test_rcutorture_urcu_bp_rperf_percpu_cxx.tap \ + test_rcutorture_urcu_bp_rperf_perthread.tap \ + test_rcutorture_urcu_bp_rperf_perthread_cxx.tap \ + test_rcutorture_urcu_bp_stress_global.tap \ + test_rcutorture_urcu_bp_stress_global_cxx.tap \ + test_rcutorture_urcu_bp_stress_percpu.tap \ + test_rcutorture_urcu_bp_stress_percpu_cxx.tap \ + test_rcutorture_urcu_bp_stress_perthread.tap \ + test_rcutorture_urcu_bp_stress_perthread_cxx.tap \ + test_rcutorture_urcu_bp_uperf_global.tap \ + test_rcutorture_urcu_bp_uperf_global_cxx.tap \ + test_rcutorture_urcu_bp_uperf_percpu.tap \ + test_rcutorture_urcu_bp_uperf_percpu_cxx.tap \ + test_rcutorture_urcu_bp_uperf_perthread.tap \ + test_rcutorture_urcu_bp_uperf_perthread_cxx.tap \ + test_rcutorture_urcu_mb_perf_global.tap \ + test_rcutorture_urcu_mb_perf_global_cxx.tap \ + test_rcutorture_urcu_mb_perf_percpu.tap \ + test_rcutorture_urcu_mb_perf_percpu_cxx.tap \ + test_rcutorture_urcu_mb_perf_perthread.tap \ + test_rcutorture_urcu_mb_perf_perthread_cxx.tap \ + test_rcutorture_urcu_mb_rperf_global.tap \ + test_rcutorture_urcu_mb_rperf_global_cxx.tap \ + test_rcutorture_urcu_mb_rperf_percpu.tap \ + test_rcutorture_urcu_mb_rperf_percpu_cxx.tap \ + test_rcutorture_urcu_mb_rperf_perthread.tap \ + test_rcutorture_urcu_mb_rperf_perthread_cxx.tap \ + test_rcutorture_urcu_mb_stress_global.tap \ + test_rcutorture_urcu_mb_stress_global_cxx.tap \ + test_rcutorture_urcu_mb_stress_percpu.tap \ + test_rcutorture_urcu_mb_stress_percpu_cxx.tap \ + test_rcutorture_urcu_mb_stress_perthread.tap \ + test_rcutorture_urcu_mb_stress_perthread_cxx.tap \ + test_rcutorture_urcu_mb_uperf_global.tap \ + test_rcutorture_urcu_mb_uperf_global_cxx.tap \ + test_rcutorture_urcu_mb_uperf_percpu.tap \ + test_rcutorture_urcu_mb_uperf_percpu_cxx.tap \ + test_rcutorture_urcu_mb_uperf_perthread.tap \ + test_rcutorture_urcu_mb_uperf_perthread_cxx.tap \ + test_rcutorture_urcu_membarrier_perf_global.tap \ + test_rcutorture_urcu_membarrier_perf_global_cxx.tap \ + test_rcutorture_urcu_membarrier_perf_percpu.tap \ + test_rcutorture_urcu_membarrier_perf_percpu_cxx.tap \ + test_rcutorture_urcu_membarrier_perf_perthread.tap \ + test_rcutorture_urcu_membarrier_perf_perthread_cxx.tap \ + test_rcutorture_urcu_membarrier_rperf_global.tap \ + test_rcutorture_urcu_membarrier_rperf_global_cxx.tap \ + test_rcutorture_urcu_membarrier_rperf_percpu.tap \ + test_rcutorture_urcu_membarrier_rperf_percpu_cxx.tap \ + test_rcutorture_urcu_membarrier_rperf_perthread.tap \ + test_rcutorture_urcu_membarrier_rperf_perthread_cxx.tap \ + test_rcutorture_urcu_membarrier_stress_global.tap \ + test_rcutorture_urcu_membarrier_stress_global_cxx.tap \ + test_rcutorture_urcu_membarrier_stress_percpu.tap \ + test_rcutorture_urcu_membarrier_stress_percpu_cxx.tap \ + test_rcutorture_urcu_membarrier_stress_perthread.tap \ + test_rcutorture_urcu_membarrier_stress_perthread_cxx.tap \ + test_rcutorture_urcu_membarrier_uperf_global.tap \ + test_rcutorture_urcu_membarrier_uperf_global_cxx.tap \ + test_rcutorture_urcu_membarrier_uperf_percpu.tap \ + test_rcutorture_urcu_membarrier_uperf_percpu_cxx.tap \ + test_rcutorture_urcu_membarrier_uperf_perthread.tap \ + test_rcutorture_urcu_membarrier_uperf_perthread_cxx.tap \ + test_rcutorture_urcu_qsbr_perf_global.tap \ + test_rcutorture_urcu_qsbr_perf_global_cxx.tap \ + test_rcutorture_urcu_qsbr_perf_percpu.tap \ + test_rcutorture_urcu_qsbr_perf_percpu_cxx.tap \ + test_rcutorture_urcu_qsbr_perf_perthread.tap \ + test_rcutorture_urcu_qsbr_perf_perthread_cxx.tap \ + test_rcutorture_urcu_qsbr_rperf_global.tap \ + test_rcutorture_urcu_qsbr_rperf_global_cxx.tap \ + test_rcutorture_urcu_qsbr_rperf_percpu.tap \ + test_rcutorture_urcu_qsbr_rperf_percpu_cxx.tap \ + test_rcutorture_urcu_qsbr_rperf_perthread.tap \ + test_rcutorture_urcu_qsbr_rperf_perthread_cxx.tap \ + test_rcutorture_urcu_qsbr_stress_global.tap \ + test_rcutorture_urcu_qsbr_stress_global_cxx.tap \ + test_rcutorture_urcu_qsbr_stress_percpu.tap \ + test_rcutorture_urcu_qsbr_stress_percpu_cxx.tap \ + test_rcutorture_urcu_qsbr_stress_perthread.tap \ + test_rcutorture_urcu_qsbr_stress_perthread_cxx.tap \ + test_rcutorture_urcu_qsbr_uperf_global.tap \ + test_rcutorture_urcu_qsbr_uperf_global_cxx.tap \ + test_rcutorture_urcu_qsbr_uperf_percpu.tap \ + test_rcutorture_urcu_qsbr_uperf_percpu_cxx.tap \ + test_rcutorture_urcu_qsbr_uperf_perthread.tap \ + test_rcutorture_urcu_qsbr_uperf_perthread_cxx.tap \ + test_rcutorture_urcu_signal_perf_global.tap \ + test_rcutorture_urcu_signal_perf_global_cxx.tap \ + test_rcutorture_urcu_signal_perf_percpu.tap \ + test_rcutorture_urcu_signal_perf_percpu_cxx.tap \ + test_rcutorture_urcu_signal_perf_perthread.tap \ + test_rcutorture_urcu_signal_perf_perthread_cxx.tap \ + test_rcutorture_urcu_signal_rperf_global.tap \ + test_rcutorture_urcu_signal_rperf_global_cxx.tap \ + test_rcutorture_urcu_signal_rperf_percpu.tap \ + test_rcutorture_urcu_signal_rperf_percpu_cxx.tap \ + test_rcutorture_urcu_signal_rperf_perthread.tap \ + test_rcutorture_urcu_signal_rperf_perthread_cxx.tap \ + test_rcutorture_urcu_signal_stress_global.tap \ + test_rcutorture_urcu_signal_stress_global_cxx.tap \ + test_rcutorture_urcu_signal_stress_percpu.tap \ + test_rcutorture_urcu_signal_stress_percpu_cxx.tap \ + test_rcutorture_urcu_signal_stress_perthread.tap \ + test_rcutorture_urcu_signal_stress_perthread_cxx.tap \ + test_rcutorture_urcu_signal_uperf_global.tap \ + test_rcutorture_urcu_signal_uperf_global_cxx.tap \ + test_rcutorture_urcu_signal_uperf_percpu.tap \ + test_rcutorture_urcu_signal_uperf_percpu_cxx.tap \ + test_rcutorture_urcu_signal_uperf_perthread.tap \ + test_rcutorture_urcu_signal_uperf_perthread_cxx.tap regtest: $(MAKE) $(AM_MAKEFLAGS) check TESTS="$(REGTEST_TESTS)" diff --git a/tests/regression/rcutorture_urcu_bp_perf_global.tap.in b/tests/regression/rcutorture_urcu_bp_perf_global.tap.in deleted file mode 100644 index 3dc7ff4..0000000 --- a/tests/regression/rcutorture_urcu_bp_perf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp `@NPROC_CMD@` perf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_bp_perf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_bp_perf_global_cxx.tap.in deleted file mode 100644 index 434ce48..0000000 --- a/tests/regression/rcutorture_urcu_bp_perf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp_cxx `@NPROC_CMD@` perf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_bp_perf_percpu.tap.in b/tests/regression/rcutorture_urcu_bp_perf_percpu.tap.in deleted file mode 100644 index 5bbaa92..0000000 --- a/tests/regression/rcutorture_urcu_bp_perf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp `@NPROC_CMD@` perf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_bp_perf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_bp_perf_percpu_cxx.tap.in deleted file mode 100644 index 3670707..0000000 --- a/tests/regression/rcutorture_urcu_bp_perf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp_cxx `@NPROC_CMD@` perf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_bp_perf_perthread.tap.in b/tests/regression/rcutorture_urcu_bp_perf_perthread.tap.in deleted file mode 100644 index d89ceb8..0000000 --- a/tests/regression/rcutorture_urcu_bp_perf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp `@NPROC_CMD@` perf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_bp_perf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_bp_perf_perthread_cxx.tap.in deleted file mode 100644 index c7a21f6..0000000 --- a/tests/regression/rcutorture_urcu_bp_perf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp_cxx `@NPROC_CMD@` perf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_bp_rperf_global.tap.in b/tests/regression/rcutorture_urcu_bp_rperf_global.tap.in deleted file mode 100644 index f992f26..0000000 --- a/tests/regression/rcutorture_urcu_bp_rperf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp `@NPROC_CMD@` rperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_bp_rperf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_bp_rperf_global_cxx.tap.in deleted file mode 100644 index 4f89e4d..0000000 --- a/tests/regression/rcutorture_urcu_bp_rperf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp_cxx `@NPROC_CMD@` rperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_bp_rperf_percpu.tap.in b/tests/regression/rcutorture_urcu_bp_rperf_percpu.tap.in deleted file mode 100644 index 8ac8212..0000000 --- a/tests/regression/rcutorture_urcu_bp_rperf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp `@NPROC_CMD@` rperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_bp_rperf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_bp_rperf_percpu_cxx.tap.in deleted file mode 100644 index 3196964..0000000 --- a/tests/regression/rcutorture_urcu_bp_rperf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp_cxx `@NPROC_CMD@` rperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_bp_rperf_perthread.tap.in b/tests/regression/rcutorture_urcu_bp_rperf_perthread.tap.in deleted file mode 100644 index 69a7fbd..0000000 --- a/tests/regression/rcutorture_urcu_bp_rperf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp `@NPROC_CMD@` rperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_bp_rperf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_bp_rperf_perthread_cxx.tap.in deleted file mode 100644 index edc6833..0000000 --- a/tests/regression/rcutorture_urcu_bp_rperf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp_cxx `@NPROC_CMD@` rperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_bp_stress_global.tap.in b/tests/regression/rcutorture_urcu_bp_stress_global.tap.in deleted file mode 100644 index 7c6ee1f..0000000 --- a/tests/regression/rcutorture_urcu_bp_stress_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp `@NPROC_CMD@` stress 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_bp_stress_global_cxx.tap.in b/tests/regression/rcutorture_urcu_bp_stress_global_cxx.tap.in deleted file mode 100644 index f4ed990..0000000 --- a/tests/regression/rcutorture_urcu_bp_stress_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp_cxx `@NPROC_CMD@` stress 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_bp_stress_percpu.tap.in b/tests/regression/rcutorture_urcu_bp_stress_percpu.tap.in deleted file mode 100644 index a0b19c3..0000000 --- a/tests/regression/rcutorture_urcu_bp_stress_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp `@NPROC_CMD@` stress 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_bp_stress_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_bp_stress_percpu_cxx.tap.in deleted file mode 100644 index cce2059..0000000 --- a/tests/regression/rcutorture_urcu_bp_stress_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp_cxx `@NPROC_CMD@` stress 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_bp_stress_perthread.tap.in b/tests/regression/rcutorture_urcu_bp_stress_perthread.tap.in deleted file mode 100644 index dbacd3f..0000000 --- a/tests/regression/rcutorture_urcu_bp_stress_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp `@NPROC_CMD@` stress 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_bp_stress_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_bp_stress_perthread_cxx.tap.in deleted file mode 100644 index c3417ae..0000000 --- a/tests/regression/rcutorture_urcu_bp_stress_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp_cxx `@NPROC_CMD@` stress 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_bp_uperf_global.tap.in b/tests/regression/rcutorture_urcu_bp_uperf_global.tap.in deleted file mode 100644 index b157d24..0000000 --- a/tests/regression/rcutorture_urcu_bp_uperf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp `@NPROC_CMD@` uperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_bp_uperf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_bp_uperf_global_cxx.tap.in deleted file mode 100644 index be9f56f..0000000 --- a/tests/regression/rcutorture_urcu_bp_uperf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp_cxx `@NPROC_CMD@` uperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_bp_uperf_percpu.tap.in b/tests/regression/rcutorture_urcu_bp_uperf_percpu.tap.in deleted file mode 100644 index 2c44eaa..0000000 --- a/tests/regression/rcutorture_urcu_bp_uperf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp `@NPROC_CMD@` uperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_bp_uperf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_bp_uperf_percpu_cxx.tap.in deleted file mode 100644 index 6e5b261..0000000 --- a/tests/regression/rcutorture_urcu_bp_uperf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp_cxx `@NPROC_CMD@` uperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_bp_uperf_perthread.tap.in b/tests/regression/rcutorture_urcu_bp_uperf_perthread.tap.in deleted file mode 100644 index 15e7d7d..0000000 --- a/tests/regression/rcutorture_urcu_bp_uperf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp `@NPROC_CMD@` uperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_bp_uperf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_bp_uperf_perthread_cxx.tap.in deleted file mode 100644 index 0b9b5e6..0000000 --- a/tests/regression/rcutorture_urcu_bp_uperf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_bp_cxx `@NPROC_CMD@` uperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_mb_perf_global.tap.in b/tests/regression/rcutorture_urcu_mb_perf_global.tap.in deleted file mode 100644 index 65603e7..0000000 --- a/tests/regression/rcutorture_urcu_mb_perf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb `@NPROC_CMD@` perf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_mb_perf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_mb_perf_global_cxx.tap.in deleted file mode 100644 index 5f0c23f..0000000 --- a/tests/regression/rcutorture_urcu_mb_perf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb_cxx `@NPROC_CMD@` perf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_mb_perf_percpu.tap.in b/tests/regression/rcutorture_urcu_mb_perf_percpu.tap.in deleted file mode 100644 index 9b877c4..0000000 --- a/tests/regression/rcutorture_urcu_mb_perf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb `@NPROC_CMD@` perf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_mb_perf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_mb_perf_percpu_cxx.tap.in deleted file mode 100644 index 2748401..0000000 --- a/tests/regression/rcutorture_urcu_mb_perf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb_cxx `@NPROC_CMD@` perf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_mb_perf_perthread.tap.in b/tests/regression/rcutorture_urcu_mb_perf_perthread.tap.in deleted file mode 100644 index 7da5afe..0000000 --- a/tests/regression/rcutorture_urcu_mb_perf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb `@NPROC_CMD@` perf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_mb_perf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_mb_perf_perthread_cxx.tap.in deleted file mode 100644 index 2695d39..0000000 --- a/tests/regression/rcutorture_urcu_mb_perf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb_cxx `@NPROC_CMD@` perf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_mb_rperf_global.tap.in b/tests/regression/rcutorture_urcu_mb_rperf_global.tap.in deleted file mode 100644 index 1928d7d..0000000 --- a/tests/regression/rcutorture_urcu_mb_rperf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb `@NPROC_CMD@` rperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_mb_rperf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_mb_rperf_global_cxx.tap.in deleted file mode 100644 index 21f6e7f..0000000 --- a/tests/regression/rcutorture_urcu_mb_rperf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb_cxx `@NPROC_CMD@` rperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_mb_rperf_percpu.tap.in b/tests/regression/rcutorture_urcu_mb_rperf_percpu.tap.in deleted file mode 100644 index ffa90fb..0000000 --- a/tests/regression/rcutorture_urcu_mb_rperf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb `@NPROC_CMD@` rperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_mb_rperf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_mb_rperf_percpu_cxx.tap.in deleted file mode 100644 index d5e2f73..0000000 --- a/tests/regression/rcutorture_urcu_mb_rperf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb_cxx `@NPROC_CMD@` rperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_mb_rperf_perthread.tap.in b/tests/regression/rcutorture_urcu_mb_rperf_perthread.tap.in deleted file mode 100644 index 37be26e..0000000 --- a/tests/regression/rcutorture_urcu_mb_rperf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb `@NPROC_CMD@` rperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_mb_rperf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_mb_rperf_perthread_cxx.tap.in deleted file mode 100644 index 72c8d22..0000000 --- a/tests/regression/rcutorture_urcu_mb_rperf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb_cxx `@NPROC_CMD@` rperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_mb_stress_global.tap.in b/tests/regression/rcutorture_urcu_mb_stress_global.tap.in deleted file mode 100644 index 6a1cdd9..0000000 --- a/tests/regression/rcutorture_urcu_mb_stress_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb `@NPROC_CMD@` stress 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_mb_stress_global_cxx.tap.in b/tests/regression/rcutorture_urcu_mb_stress_global_cxx.tap.in deleted file mode 100644 index 5e089b2..0000000 --- a/tests/regression/rcutorture_urcu_mb_stress_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb_cxx `@NPROC_CMD@` stress 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_mb_stress_percpu.tap.in b/tests/regression/rcutorture_urcu_mb_stress_percpu.tap.in deleted file mode 100644 index d9994cd..0000000 --- a/tests/regression/rcutorture_urcu_mb_stress_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb `@NPROC_CMD@` stress 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_mb_stress_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_mb_stress_percpu_cxx.tap.in deleted file mode 100644 index e542526..0000000 --- a/tests/regression/rcutorture_urcu_mb_stress_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb_cxx `@NPROC_CMD@` stress 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_mb_stress_perthread.tap.in b/tests/regression/rcutorture_urcu_mb_stress_perthread.tap.in deleted file mode 100644 index 1eb07a3..0000000 --- a/tests/regression/rcutorture_urcu_mb_stress_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb `@NPROC_CMD@` stress 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_mb_stress_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_mb_stress_perthread_cxx.tap.in deleted file mode 100644 index 083550e..0000000 --- a/tests/regression/rcutorture_urcu_mb_stress_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb_cxx `@NPROC_CMD@` stress 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_mb_uperf_global.tap.in b/tests/regression/rcutorture_urcu_mb_uperf_global.tap.in deleted file mode 100644 index 3d41a7c..0000000 --- a/tests/regression/rcutorture_urcu_mb_uperf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb `@NPROC_CMD@` uperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_mb_uperf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_mb_uperf_global_cxx.tap.in deleted file mode 100644 index b4278ab..0000000 --- a/tests/regression/rcutorture_urcu_mb_uperf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb_cxx `@NPROC_CMD@` uperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_mb_uperf_percpu.tap.in b/tests/regression/rcutorture_urcu_mb_uperf_percpu.tap.in deleted file mode 100644 index 30ec884..0000000 --- a/tests/regression/rcutorture_urcu_mb_uperf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb `@NPROC_CMD@` uperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_mb_uperf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_mb_uperf_percpu_cxx.tap.in deleted file mode 100644 index 2b9ba17..0000000 --- a/tests/regression/rcutorture_urcu_mb_uperf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb_cxx `@NPROC_CMD@` uperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_mb_uperf_perthread.tap.in b/tests/regression/rcutorture_urcu_mb_uperf_perthread.tap.in deleted file mode 100644 index de5c153..0000000 --- a/tests/regression/rcutorture_urcu_mb_uperf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb `@NPROC_CMD@` uperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_mb_uperf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_mb_uperf_perthread_cxx.tap.in deleted file mode 100644 index 00c3e53..0000000 --- a/tests/regression/rcutorture_urcu_mb_uperf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_mb_cxx `@NPROC_CMD@` uperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_membarrier_perf_global.tap.in b/tests/regression/rcutorture_urcu_membarrier_perf_global.tap.in deleted file mode 100644 index a277d4e..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_perf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier `@NPROC_CMD@` perf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_membarrier_perf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_membarrier_perf_global_cxx.tap.in deleted file mode 100644 index 77396c7..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_perf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier_cxx `@NPROC_CMD@` perf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_membarrier_perf_percpu.tap.in b/tests/regression/rcutorture_urcu_membarrier_perf_percpu.tap.in deleted file mode 100644 index 768a294..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_perf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier `@NPROC_CMD@` perf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_membarrier_perf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_membarrier_perf_percpu_cxx.tap.in deleted file mode 100644 index 1085754..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_perf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier_cxx `@NPROC_CMD@` perf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_membarrier_perf_perthread.tap.in b/tests/regression/rcutorture_urcu_membarrier_perf_perthread.tap.in deleted file mode 100644 index a7baba4..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_perf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier `@NPROC_CMD@` perf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_membarrier_perf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_membarrier_perf_perthread_cxx.tap.in deleted file mode 100644 index 5369d8b..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_perf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier_cxx `@NPROC_CMD@` perf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_membarrier_rperf_global.tap.in b/tests/regression/rcutorture_urcu_membarrier_rperf_global.tap.in deleted file mode 100644 index 29000bb..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_rperf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier `@NPROC_CMD@` rperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_membarrier_rperf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_membarrier_rperf_global_cxx.tap.in deleted file mode 100644 index ea2b3dc..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_rperf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier_cxx `@NPROC_CMD@` rperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_membarrier_rperf_percpu.tap.in b/tests/regression/rcutorture_urcu_membarrier_rperf_percpu.tap.in deleted file mode 100644 index 47c7351..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_rperf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier `@NPROC_CMD@` rperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_membarrier_rperf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_membarrier_rperf_percpu_cxx.tap.in deleted file mode 100644 index 7514490..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_rperf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier_cxx `@NPROC_CMD@` rperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_membarrier_rperf_perthread.tap.in b/tests/regression/rcutorture_urcu_membarrier_rperf_perthread.tap.in deleted file mode 100644 index d947fd3..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_rperf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier `@NPROC_CMD@` rperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_membarrier_rperf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_membarrier_rperf_perthread_cxx.tap.in deleted file mode 100644 index e4ffe68..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_rperf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier_cxx `@NPROC_CMD@` rperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_membarrier_stress_global.tap.in b/tests/regression/rcutorture_urcu_membarrier_stress_global.tap.in deleted file mode 100644 index f956efb..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_stress_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier `@NPROC_CMD@` stress 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_membarrier_stress_global_cxx.tap.in b/tests/regression/rcutorture_urcu_membarrier_stress_global_cxx.tap.in deleted file mode 100644 index 9ac4415..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_stress_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier_cxx `@NPROC_CMD@` stress 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_membarrier_stress_percpu.tap.in b/tests/regression/rcutorture_urcu_membarrier_stress_percpu.tap.in deleted file mode 100644 index 6cf1504..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_stress_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier `@NPROC_CMD@` stress 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_membarrier_stress_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_membarrier_stress_percpu_cxx.tap.in deleted file mode 100644 index afcfc14..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_stress_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier_cxx `@NPROC_CMD@` stress 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_membarrier_stress_perthread.tap.in b/tests/regression/rcutorture_urcu_membarrier_stress_perthread.tap.in deleted file mode 100644 index e6be1e6..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_stress_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier `@NPROC_CMD@` stress 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_membarrier_stress_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_membarrier_stress_perthread_cxx.tap.in deleted file mode 100644 index 0092a07..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_stress_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier_cxx `@NPROC_CMD@` stress 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_membarrier_uperf_global.tap.in b/tests/regression/rcutorture_urcu_membarrier_uperf_global.tap.in deleted file mode 100644 index bd6d20e..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_uperf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier `@NPROC_CMD@` uperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_membarrier_uperf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_membarrier_uperf_global_cxx.tap.in deleted file mode 100644 index 0c675f1..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_uperf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier_cxx `@NPROC_CMD@` uperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_membarrier_uperf_percpu.tap.in b/tests/regression/rcutorture_urcu_membarrier_uperf_percpu.tap.in deleted file mode 100644 index 54c3cbe..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_uperf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier `@NPROC_CMD@` uperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_membarrier_uperf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_membarrier_uperf_percpu_cxx.tap.in deleted file mode 100644 index ab6372b..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_uperf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier_cxx `@NPROC_CMD@` uperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_membarrier_uperf_perthread.tap.in b/tests/regression/rcutorture_urcu_membarrier_uperf_perthread.tap.in deleted file mode 100644 index fb0dd5a..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_uperf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier `@NPROC_CMD@` uperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_membarrier_uperf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_membarrier_uperf_perthread_cxx.tap.in deleted file mode 100644 index b521187..0000000 --- a/tests/regression/rcutorture_urcu_membarrier_uperf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_membarrier_cxx `@NPROC_CMD@` uperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_qsbr_perf_global.tap.in b/tests/regression/rcutorture_urcu_qsbr_perf_global.tap.in deleted file mode 100644 index ddcac7a..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_perf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr `@NPROC_CMD@` perf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_qsbr_perf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_qsbr_perf_global_cxx.tap.in deleted file mode 100644 index facb3c7..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_perf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr_cxx `@NPROC_CMD@` perf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_qsbr_perf_percpu.tap.in b/tests/regression/rcutorture_urcu_qsbr_perf_percpu.tap.in deleted file mode 100644 index 219646c..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_perf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr `@NPROC_CMD@` perf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_qsbr_perf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_qsbr_perf_percpu_cxx.tap.in deleted file mode 100644 index 30cca48..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_perf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr_cxx `@NPROC_CMD@` perf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_qsbr_perf_perthread.tap.in b/tests/regression/rcutorture_urcu_qsbr_perf_perthread.tap.in deleted file mode 100644 index d063fe4..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_perf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr `@NPROC_CMD@` perf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_qsbr_perf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_qsbr_perf_perthread_cxx.tap.in deleted file mode 100644 index c461b6b..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_perf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr_cxx `@NPROC_CMD@` perf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_qsbr_rperf_global.tap.in b/tests/regression/rcutorture_urcu_qsbr_rperf_global.tap.in deleted file mode 100644 index ef2dbed..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_rperf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr `@NPROC_CMD@` rperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_qsbr_rperf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_qsbr_rperf_global_cxx.tap.in deleted file mode 100644 index 8c99091..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_rperf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr_cxx `@NPROC_CMD@` rperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_qsbr_rperf_percpu.tap.in b/tests/regression/rcutorture_urcu_qsbr_rperf_percpu.tap.in deleted file mode 100644 index 4c5d8d5..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_rperf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr `@NPROC_CMD@` rperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_qsbr_rperf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_qsbr_rperf_percpu_cxx.tap.in deleted file mode 100644 index 6a91581..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_rperf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr_cxx `@NPROC_CMD@` rperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_qsbr_rperf_perthread.tap.in b/tests/regression/rcutorture_urcu_qsbr_rperf_perthread.tap.in deleted file mode 100644 index badd161..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_rperf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr `@NPROC_CMD@` rperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_qsbr_rperf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_qsbr_rperf_perthread_cxx.tap.in deleted file mode 100644 index 6d0baeb..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_rperf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr_cxx `@NPROC_CMD@` rperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_qsbr_stress_global.tap.in b/tests/regression/rcutorture_urcu_qsbr_stress_global.tap.in deleted file mode 100644 index e3d1c4c..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_stress_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr `@NPROC_CMD@` stress 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_qsbr_stress_global_cxx.tap.in b/tests/regression/rcutorture_urcu_qsbr_stress_global_cxx.tap.in deleted file mode 100644 index e68b690..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_stress_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr_cxx `@NPROC_CMD@` stress 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_qsbr_stress_percpu.tap.in b/tests/regression/rcutorture_urcu_qsbr_stress_percpu.tap.in deleted file mode 100644 index f3018fe..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_stress_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr `@NPROC_CMD@` stress 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_qsbr_stress_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_qsbr_stress_percpu_cxx.tap.in deleted file mode 100644 index f90fd19..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_stress_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr_cxx `@NPROC_CMD@` stress 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_qsbr_stress_perthread.tap.in b/tests/regression/rcutorture_urcu_qsbr_stress_perthread.tap.in deleted file mode 100644 index 451072e..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_stress_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr `@NPROC_CMD@` stress 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_qsbr_stress_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_qsbr_stress_perthread_cxx.tap.in deleted file mode 100644 index baaafb8..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_stress_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr_cxx `@NPROC_CMD@` stress 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_qsbr_uperf_global.tap.in b/tests/regression/rcutorture_urcu_qsbr_uperf_global.tap.in deleted file mode 100644 index 1cdb803..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_uperf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr `@NPROC_CMD@` uperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_qsbr_uperf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_qsbr_uperf_global_cxx.tap.in deleted file mode 100644 index 4d89136..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_uperf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr_cxx `@NPROC_CMD@` uperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_qsbr_uperf_percpu.tap.in b/tests/regression/rcutorture_urcu_qsbr_uperf_percpu.tap.in deleted file mode 100644 index ee2c1bd..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_uperf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr `@NPROC_CMD@` uperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_qsbr_uperf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_qsbr_uperf_percpu_cxx.tap.in deleted file mode 100644 index 70e5db0..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_uperf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr_cxx `@NPROC_CMD@` uperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_qsbr_uperf_perthread.tap.in b/tests/regression/rcutorture_urcu_qsbr_uperf_perthread.tap.in deleted file mode 100644 index fbabf97..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_uperf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr `@NPROC_CMD@` uperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_qsbr_uperf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_qsbr_uperf_perthread_cxx.tap.in deleted file mode 100644 index c45d43a..0000000 --- a/tests/regression/rcutorture_urcu_qsbr_uperf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_qsbr_cxx `@NPROC_CMD@` uperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_signal_perf_global.tap.in b/tests/regression/rcutorture_urcu_signal_perf_global.tap.in deleted file mode 100644 index 20f967f..0000000 --- a/tests/regression/rcutorture_urcu_signal_perf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal `@NPROC_CMD@` perf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_signal_perf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_signal_perf_global_cxx.tap.in deleted file mode 100644 index 29778d1..0000000 --- a/tests/regression/rcutorture_urcu_signal_perf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal_cxx `@NPROC_CMD@` perf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_signal_perf_percpu.tap.in b/tests/regression/rcutorture_urcu_signal_perf_percpu.tap.in deleted file mode 100644 index 53ec18e..0000000 --- a/tests/regression/rcutorture_urcu_signal_perf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal `@NPROC_CMD@` perf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_signal_perf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_signal_perf_percpu_cxx.tap.in deleted file mode 100644 index a2347e2..0000000 --- a/tests/regression/rcutorture_urcu_signal_perf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal_cxx `@NPROC_CMD@` perf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_signal_perf_perthread.tap.in b/tests/regression/rcutorture_urcu_signal_perf_perthread.tap.in deleted file mode 100644 index d8ca7ef..0000000 --- a/tests/regression/rcutorture_urcu_signal_perf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal `@NPROC_CMD@` perf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_signal_perf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_signal_perf_perthread_cxx.tap.in deleted file mode 100644 index eafda3e..0000000 --- a/tests/regression/rcutorture_urcu_signal_perf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal_cxx `@NPROC_CMD@` perf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_signal_rperf_global.tap.in b/tests/regression/rcutorture_urcu_signal_rperf_global.tap.in deleted file mode 100644 index 2da3a93..0000000 --- a/tests/regression/rcutorture_urcu_signal_rperf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal `@NPROC_CMD@` rperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_signal_rperf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_signal_rperf_global_cxx.tap.in deleted file mode 100644 index ac3c022..0000000 --- a/tests/regression/rcutorture_urcu_signal_rperf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal_cxx `@NPROC_CMD@` rperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_signal_rperf_percpu.tap.in b/tests/regression/rcutorture_urcu_signal_rperf_percpu.tap.in deleted file mode 100644 index 5497f2f..0000000 --- a/tests/regression/rcutorture_urcu_signal_rperf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal `@NPROC_CMD@` rperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_signal_rperf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_signal_rperf_percpu_cxx.tap.in deleted file mode 100644 index c18c2ff..0000000 --- a/tests/regression/rcutorture_urcu_signal_rperf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal_cxx `@NPROC_CMD@` rperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_signal_rperf_perthread.tap.in b/tests/regression/rcutorture_urcu_signal_rperf_perthread.tap.in deleted file mode 100644 index 6c62c15..0000000 --- a/tests/regression/rcutorture_urcu_signal_rperf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal `@NPROC_CMD@` rperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_signal_rperf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_signal_rperf_perthread_cxx.tap.in deleted file mode 100644 index 273f219..0000000 --- a/tests/regression/rcutorture_urcu_signal_rperf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal_cxx `@NPROC_CMD@` rperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_signal_stress_global.tap.in b/tests/regression/rcutorture_urcu_signal_stress_global.tap.in deleted file mode 100644 index c667dbf..0000000 --- a/tests/regression/rcutorture_urcu_signal_stress_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal `@NPROC_CMD@` stress 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_signal_stress_global_cxx.tap.in b/tests/regression/rcutorture_urcu_signal_stress_global_cxx.tap.in deleted file mode 100644 index de8e4f6..0000000 --- a/tests/regression/rcutorture_urcu_signal_stress_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal_cxx `@NPROC_CMD@` stress 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_signal_stress_percpu.tap.in b/tests/regression/rcutorture_urcu_signal_stress_percpu.tap.in deleted file mode 100644 index 429b731..0000000 --- a/tests/regression/rcutorture_urcu_signal_stress_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal `@NPROC_CMD@` stress 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_signal_stress_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_signal_stress_percpu_cxx.tap.in deleted file mode 100644 index 032117c..0000000 --- a/tests/regression/rcutorture_urcu_signal_stress_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal_cxx `@NPROC_CMD@` stress 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_signal_stress_perthread.tap.in b/tests/regression/rcutorture_urcu_signal_stress_perthread.tap.in deleted file mode 100644 index 62d190d..0000000 --- a/tests/regression/rcutorture_urcu_signal_stress_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal `@NPROC_CMD@` stress 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_signal_stress_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_signal_stress_perthread_cxx.tap.in deleted file mode 100644 index e8227f3..0000000 --- a/tests/regression/rcutorture_urcu_signal_stress_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal_cxx `@NPROC_CMD@` stress 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_signal_uperf_global.tap.in b/tests/regression/rcutorture_urcu_signal_uperf_global.tap.in deleted file mode 100644 index e86b6d7..0000000 --- a/tests/regression/rcutorture_urcu_signal_uperf_global.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal `@NPROC_CMD@` uperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_signal_uperf_global_cxx.tap.in b/tests/regression/rcutorture_urcu_signal_uperf_global_cxx.tap.in deleted file mode 100644 index c6c096f..0000000 --- a/tests/regression/rcutorture_urcu_signal_uperf_global_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal_cxx `@NPROC_CMD@` uperf 1 callrcu_global diff --git a/tests/regression/rcutorture_urcu_signal_uperf_percpu.tap.in b/tests/regression/rcutorture_urcu_signal_uperf_percpu.tap.in deleted file mode 100644 index c212711..0000000 --- a/tests/regression/rcutorture_urcu_signal_uperf_percpu.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal `@NPROC_CMD@` uperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_signal_uperf_percpu_cxx.tap.in b/tests/regression/rcutorture_urcu_signal_uperf_percpu_cxx.tap.in deleted file mode 100644 index d50ec28..0000000 --- a/tests/regression/rcutorture_urcu_signal_uperf_percpu_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal_cxx `@NPROC_CMD@` uperf 1 callrcu_percpu diff --git a/tests/regression/rcutorture_urcu_signal_uperf_perthread.tap.in b/tests/regression/rcutorture_urcu_signal_uperf_perthread.tap.in deleted file mode 100644 index 1d92879..0000000 --- a/tests/regression/rcutorture_urcu_signal_uperf_perthread.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal `@NPROC_CMD@` uperf 1 callrcu_perthread diff --git a/tests/regression/rcutorture_urcu_signal_uperf_perthread_cxx.tap.in b/tests/regression/rcutorture_urcu_signal_uperf_perthread_cxx.tap.in deleted file mode 100644 index 570a0d8..0000000 --- a/tests/regression/rcutorture_urcu_signal_uperf_perthread_cxx.tap.in +++ /dev/null @@ -1 +0,0 @@ -./rcutorture_urcu_signal_cxx `@NPROC_CMD@` uperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_bp_perf_global.tap b/tests/regression/test_rcutorture_urcu_bp_perf_global.tap new file mode 100755 index 0000000..c39c731 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_perf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp" "$(urcu_nproc)" perf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_bp_perf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_bp_perf_global_cxx.tap new file mode 100755 index 0000000..274ed47 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_perf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp_cxx" "$(urcu_nproc)" perf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_bp_perf_percpu.tap b/tests/regression/test_rcutorture_urcu_bp_perf_percpu.tap new file mode 100755 index 0000000..f6e7763 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_perf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp" "$(urcu_nproc)" perf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_bp_perf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_bp_perf_percpu_cxx.tap new file mode 100755 index 0000000..e2086b4 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_perf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp_cxx" "$(urcu_nproc)" perf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_bp_perf_perthread.tap b/tests/regression/test_rcutorture_urcu_bp_perf_perthread.tap new file mode 100755 index 0000000..9baa0a9 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_perf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp" "$(urcu_nproc)" perf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_bp_perf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_bp_perf_perthread_cxx.tap new file mode 100755 index 0000000..3ac1093 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_perf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp_cxx" "$(urcu_nproc)" perf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_bp_rperf_global.tap b/tests/regression/test_rcutorture_urcu_bp_rperf_global.tap new file mode 100755 index 0000000..b33afc0 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_rperf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp" "$(urcu_nproc)" rperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_bp_rperf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_bp_rperf_global_cxx.tap new file mode 100755 index 0000000..c93a9b2 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_rperf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp_cxx" "$(urcu_nproc)" rperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_bp_rperf_percpu.tap b/tests/regression/test_rcutorture_urcu_bp_rperf_percpu.tap new file mode 100755 index 0000000..ff776bc --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_rperf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp" "$(urcu_nproc)" rperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_bp_rperf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_bp_rperf_percpu_cxx.tap new file mode 100755 index 0000000..492c30c --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_rperf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp_cxx" "$(urcu_nproc)" rperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_bp_rperf_perthread.tap b/tests/regression/test_rcutorture_urcu_bp_rperf_perthread.tap new file mode 100755 index 0000000..73dc02c --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_rperf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp" "$(urcu_nproc)" rperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_bp_rperf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_bp_rperf_perthread_cxx.tap new file mode 100755 index 0000000..7d38a35 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_rperf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp_cxx" "$(urcu_nproc)" rperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_bp_stress_global.tap b/tests/regression/test_rcutorture_urcu_bp_stress_global.tap new file mode 100755 index 0000000..ffd0bd9 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_stress_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp" "$(urcu_nproc)" stress 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_bp_stress_global_cxx.tap b/tests/regression/test_rcutorture_urcu_bp_stress_global_cxx.tap new file mode 100755 index 0000000..fc4ab46 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_stress_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp_cxx" "$(urcu_nproc)" stress 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_bp_stress_percpu.tap b/tests/regression/test_rcutorture_urcu_bp_stress_percpu.tap new file mode 100755 index 0000000..a53e7b4 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_stress_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp" "$(urcu_nproc)" stress 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_bp_stress_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_bp_stress_percpu_cxx.tap new file mode 100755 index 0000000..6e22341 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_stress_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp_cxx" "$(urcu_nproc)" stress 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_bp_stress_perthread.tap b/tests/regression/test_rcutorture_urcu_bp_stress_perthread.tap new file mode 100755 index 0000000..9748a1a --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_stress_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp" "$(urcu_nproc)" stress 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_bp_stress_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_bp_stress_perthread_cxx.tap new file mode 100755 index 0000000..f56f1a1 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_stress_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp_cxx" "$(urcu_nproc)" stress 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_bp_uperf_global.tap b/tests/regression/test_rcutorture_urcu_bp_uperf_global.tap new file mode 100755 index 0000000..7aa01d5 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_uperf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp" "$(urcu_nproc)" uperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_bp_uperf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_bp_uperf_global_cxx.tap new file mode 100755 index 0000000..adf532a --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_uperf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp_cxx" "$(urcu_nproc)" uperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_bp_uperf_percpu.tap b/tests/regression/test_rcutorture_urcu_bp_uperf_percpu.tap new file mode 100755 index 0000000..821639f --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_uperf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp" "$(urcu_nproc)" uperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_bp_uperf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_bp_uperf_percpu_cxx.tap new file mode 100755 index 0000000..1b1092d --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_uperf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp_cxx" "$(urcu_nproc)" uperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_bp_uperf_perthread.tap b/tests/regression/test_rcutorture_urcu_bp_uperf_perthread.tap new file mode 100755 index 0000000..5c3f6cd --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_uperf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp" "$(urcu_nproc)" uperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_bp_uperf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_bp_uperf_perthread_cxx.tap new file mode 100755 index 0000000..eecedb7 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_bp_uperf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_bp_cxx" "$(urcu_nproc)" uperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_mb_perf_global.tap b/tests/regression/test_rcutorture_urcu_mb_perf_global.tap new file mode 100755 index 0000000..d353d65 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_perf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb" "$(urcu_nproc)" perf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_mb_perf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_mb_perf_global_cxx.tap new file mode 100755 index 0000000..3ece3ae --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_perf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb_cxx" "$(urcu_nproc)" perf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_mb_perf_percpu.tap b/tests/regression/test_rcutorture_urcu_mb_perf_percpu.tap new file mode 100755 index 0000000..54c7472 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_perf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb" "$(urcu_nproc)" perf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_mb_perf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_mb_perf_percpu_cxx.tap new file mode 100755 index 0000000..6db6af2 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_perf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb_cxx" "$(urcu_nproc)" perf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_mb_perf_perthread.tap b/tests/regression/test_rcutorture_urcu_mb_perf_perthread.tap new file mode 100755 index 0000000..88fedc2 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_perf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb" "$(urcu_nproc)" perf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_mb_perf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_mb_perf_perthread_cxx.tap new file mode 100755 index 0000000..625bc45 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_perf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb_cxx" "$(urcu_nproc)" perf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_mb_rperf_global.tap b/tests/regression/test_rcutorture_urcu_mb_rperf_global.tap new file mode 100755 index 0000000..9085fdb --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_rperf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb" "$(urcu_nproc)" rperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_mb_rperf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_mb_rperf_global_cxx.tap new file mode 100755 index 0000000..628ee15 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_rperf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb_cxx" "$(urcu_nproc)" rperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_mb_rperf_percpu.tap b/tests/regression/test_rcutorture_urcu_mb_rperf_percpu.tap new file mode 100755 index 0000000..01661ac --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_rperf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb" "$(urcu_nproc)" rperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_mb_rperf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_mb_rperf_percpu_cxx.tap new file mode 100755 index 0000000..e99b276 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_rperf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb_cxx" "$(urcu_nproc)" rperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_mb_rperf_perthread.tap b/tests/regression/test_rcutorture_urcu_mb_rperf_perthread.tap new file mode 100755 index 0000000..63a12ee --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_rperf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb" "$(urcu_nproc)" rperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_mb_rperf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_mb_rperf_perthread_cxx.tap new file mode 100755 index 0000000..d541d0b --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_rperf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb_cxx" "$(urcu_nproc)" rperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_mb_stress_global.tap b/tests/regression/test_rcutorture_urcu_mb_stress_global.tap new file mode 100755 index 0000000..ca506cd --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_stress_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb" "$(urcu_nproc)" stress 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_mb_stress_global_cxx.tap b/tests/regression/test_rcutorture_urcu_mb_stress_global_cxx.tap new file mode 100755 index 0000000..f0d351e --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_stress_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb_cxx" "$(urcu_nproc)" stress 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_mb_stress_percpu.tap b/tests/regression/test_rcutorture_urcu_mb_stress_percpu.tap new file mode 100755 index 0000000..bdb0773 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_stress_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb" "$(urcu_nproc)" stress 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_mb_stress_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_mb_stress_percpu_cxx.tap new file mode 100755 index 0000000..4e2e239 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_stress_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb_cxx" "$(urcu_nproc)" stress 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_mb_stress_perthread.tap b/tests/regression/test_rcutorture_urcu_mb_stress_perthread.tap new file mode 100755 index 0000000..41e7e02 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_stress_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb" "$(urcu_nproc)" stress 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_mb_stress_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_mb_stress_perthread_cxx.tap new file mode 100755 index 0000000..6572121 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_stress_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb_cxx" "$(urcu_nproc)" stress 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_mb_uperf_global.tap b/tests/regression/test_rcutorture_urcu_mb_uperf_global.tap new file mode 100755 index 0000000..511cce6 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_uperf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb" "$(urcu_nproc)" uperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_mb_uperf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_mb_uperf_global_cxx.tap new file mode 100755 index 0000000..16d4973 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_uperf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb_cxx" "$(urcu_nproc)" uperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_mb_uperf_percpu.tap b/tests/regression/test_rcutorture_urcu_mb_uperf_percpu.tap new file mode 100755 index 0000000..54d08a8 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_uperf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb" "$(urcu_nproc)" uperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_mb_uperf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_mb_uperf_percpu_cxx.tap new file mode 100755 index 0000000..55f03ef --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_uperf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb_cxx" "$(urcu_nproc)" uperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_mb_uperf_perthread.tap b/tests/regression/test_rcutorture_urcu_mb_uperf_perthread.tap new file mode 100755 index 0000000..2bfb0c1 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_uperf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb" "$(urcu_nproc)" uperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_mb_uperf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_mb_uperf_perthread_cxx.tap new file mode 100755 index 0000000..0809135 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_mb_uperf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_mb_cxx" "$(urcu_nproc)" uperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_membarrier_perf_global.tap b/tests/regression/test_rcutorture_urcu_membarrier_perf_global.tap new file mode 100755 index 0000000..1375c09 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_perf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier" "$(urcu_nproc)" perf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_membarrier_perf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_membarrier_perf_global_cxx.tap new file mode 100755 index 0000000..41c5a5d --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_perf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier_cxx" "$(urcu_nproc)" perf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_membarrier_perf_percpu.tap b/tests/regression/test_rcutorture_urcu_membarrier_perf_percpu.tap new file mode 100755 index 0000000..67587b9 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_perf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier" "$(urcu_nproc)" perf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_membarrier_perf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_membarrier_perf_percpu_cxx.tap new file mode 100755 index 0000000..f882fe0 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_perf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier_cxx" "$(urcu_nproc)" perf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_membarrier_perf_perthread.tap b/tests/regression/test_rcutorture_urcu_membarrier_perf_perthread.tap new file mode 100755 index 0000000..24d9b15 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_perf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier" "$(urcu_nproc)" perf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_membarrier_perf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_membarrier_perf_perthread_cxx.tap new file mode 100755 index 0000000..77dc3ec --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_perf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier_cxx" "$(urcu_nproc)" perf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_membarrier_rperf_global.tap b/tests/regression/test_rcutorture_urcu_membarrier_rperf_global.tap new file mode 100755 index 0000000..c2a425d --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_rperf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier" "$(urcu_nproc)" rperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_membarrier_rperf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_membarrier_rperf_global_cxx.tap new file mode 100755 index 0000000..d18ae31 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_rperf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier_cxx" "$(urcu_nproc)" rperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_membarrier_rperf_percpu.tap b/tests/regression/test_rcutorture_urcu_membarrier_rperf_percpu.tap new file mode 100755 index 0000000..16ba03a --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_rperf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier" "$(urcu_nproc)" rperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_membarrier_rperf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_membarrier_rperf_percpu_cxx.tap new file mode 100755 index 0000000..6e0198e --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_rperf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier_cxx" "$(urcu_nproc)" rperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_membarrier_rperf_perthread.tap b/tests/regression/test_rcutorture_urcu_membarrier_rperf_perthread.tap new file mode 100755 index 0000000..f7badb3 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_rperf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier" "$(urcu_nproc)" rperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_membarrier_rperf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_membarrier_rperf_perthread_cxx.tap new file mode 100755 index 0000000..7eec308 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_rperf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier_cxx" "$(urcu_nproc)" rperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_membarrier_stress_global.tap b/tests/regression/test_rcutorture_urcu_membarrier_stress_global.tap new file mode 100755 index 0000000..9774da2 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_stress_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier" "$(urcu_nproc)" stress 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_membarrier_stress_global_cxx.tap b/tests/regression/test_rcutorture_urcu_membarrier_stress_global_cxx.tap new file mode 100755 index 0000000..efb54d2 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_stress_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier_cxx" "$(urcu_nproc)" stress 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_membarrier_stress_percpu.tap b/tests/regression/test_rcutorture_urcu_membarrier_stress_percpu.tap new file mode 100755 index 0000000..7ba5360 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_stress_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier" "$(urcu_nproc)" stress 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_membarrier_stress_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_membarrier_stress_percpu_cxx.tap new file mode 100755 index 0000000..8728328 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_stress_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier_cxx" "$(urcu_nproc)" stress 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_membarrier_stress_perthread.tap b/tests/regression/test_rcutorture_urcu_membarrier_stress_perthread.tap new file mode 100755 index 0000000..5c7e47f --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_stress_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier" "$(urcu_nproc)" stress 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_membarrier_stress_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_membarrier_stress_perthread_cxx.tap new file mode 100755 index 0000000..5f3e9dc --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_stress_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier_cxx" "$(urcu_nproc)" stress 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_membarrier_uperf_global.tap b/tests/regression/test_rcutorture_urcu_membarrier_uperf_global.tap new file mode 100755 index 0000000..a0c320c --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_uperf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier" "$(urcu_nproc)" uperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_membarrier_uperf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_membarrier_uperf_global_cxx.tap new file mode 100755 index 0000000..2297f48 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_uperf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier_cxx" "$(urcu_nproc)" uperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_membarrier_uperf_percpu.tap b/tests/regression/test_rcutorture_urcu_membarrier_uperf_percpu.tap new file mode 100755 index 0000000..ef262b9 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_uperf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier" "$(urcu_nproc)" uperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_membarrier_uperf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_membarrier_uperf_percpu_cxx.tap new file mode 100755 index 0000000..322cfca --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_uperf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier_cxx" "$(urcu_nproc)" uperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_membarrier_uperf_perthread.tap b/tests/regression/test_rcutorture_urcu_membarrier_uperf_perthread.tap new file mode 100755 index 0000000..d3089b1 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_uperf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier" "$(urcu_nproc)" uperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_membarrier_uperf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_membarrier_uperf_perthread_cxx.tap new file mode 100755 index 0000000..26e047f --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_membarrier_uperf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_membarrier_cxx" "$(urcu_nproc)" uperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_qsbr_perf_global.tap b/tests/regression/test_rcutorture_urcu_qsbr_perf_global.tap new file mode 100755 index 0000000..2c15dc7 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_perf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr" "$(urcu_nproc)" perf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_qsbr_perf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_qsbr_perf_global_cxx.tap new file mode 100755 index 0000000..445e2b7 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_perf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr_cxx" "$(urcu_nproc)" perf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_qsbr_perf_percpu.tap b/tests/regression/test_rcutorture_urcu_qsbr_perf_percpu.tap new file mode 100755 index 0000000..8c73162 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_perf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr" "$(urcu_nproc)" perf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_qsbr_perf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_qsbr_perf_percpu_cxx.tap new file mode 100755 index 0000000..638b8c4 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_perf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr_cxx" "$(urcu_nproc)" perf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_qsbr_perf_perthread.tap b/tests/regression/test_rcutorture_urcu_qsbr_perf_perthread.tap new file mode 100755 index 0000000..5ba6b3e --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_perf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr" "$(urcu_nproc)" perf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_qsbr_perf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_qsbr_perf_perthread_cxx.tap new file mode 100755 index 0000000..c01d1f1 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_perf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr_cxx" "$(urcu_nproc)" perf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_qsbr_rperf_global.tap b/tests/regression/test_rcutorture_urcu_qsbr_rperf_global.tap new file mode 100755 index 0000000..ded73ee --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_rperf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr" "$(urcu_nproc)" rperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_qsbr_rperf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_qsbr_rperf_global_cxx.tap new file mode 100755 index 0000000..90dd9d8 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_rperf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr_cxx" "$(urcu_nproc)" rperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_qsbr_rperf_percpu.tap b/tests/regression/test_rcutorture_urcu_qsbr_rperf_percpu.tap new file mode 100755 index 0000000..e3ee861 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_rperf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr" "$(urcu_nproc)" rperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_qsbr_rperf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_qsbr_rperf_percpu_cxx.tap new file mode 100755 index 0000000..ceeb880 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_rperf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr_cxx" "$(urcu_nproc)" rperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_qsbr_rperf_perthread.tap b/tests/regression/test_rcutorture_urcu_qsbr_rperf_perthread.tap new file mode 100755 index 0000000..c902acc --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_rperf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr" "$(urcu_nproc)" rperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_qsbr_rperf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_qsbr_rperf_perthread_cxx.tap new file mode 100755 index 0000000..e8ba929 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_rperf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr_cxx" "$(urcu_nproc)" rperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_qsbr_stress_global.tap b/tests/regression/test_rcutorture_urcu_qsbr_stress_global.tap new file mode 100755 index 0000000..d0ea60e --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_stress_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr" "$(urcu_nproc)" stress 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_qsbr_stress_global_cxx.tap b/tests/regression/test_rcutorture_urcu_qsbr_stress_global_cxx.tap new file mode 100755 index 0000000..0d5ad0f --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_stress_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr_cxx" "$(urcu_nproc)" stress 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_qsbr_stress_percpu.tap b/tests/regression/test_rcutorture_urcu_qsbr_stress_percpu.tap new file mode 100755 index 0000000..3280248 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_stress_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr" "$(urcu_nproc)" stress 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_qsbr_stress_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_qsbr_stress_percpu_cxx.tap new file mode 100755 index 0000000..64fada1 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_stress_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr_cxx" "$(urcu_nproc)" stress 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_qsbr_stress_perthread.tap b/tests/regression/test_rcutorture_urcu_qsbr_stress_perthread.tap new file mode 100755 index 0000000..624bfba --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_stress_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr" "$(urcu_nproc)" stress 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_qsbr_stress_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_qsbr_stress_perthread_cxx.tap new file mode 100755 index 0000000..46cfb6f --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_stress_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr_cxx" "$(urcu_nproc)" stress 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_qsbr_uperf_global.tap b/tests/regression/test_rcutorture_urcu_qsbr_uperf_global.tap new file mode 100755 index 0000000..6a1abcc --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_uperf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr" "$(urcu_nproc)" uperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_qsbr_uperf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_qsbr_uperf_global_cxx.tap new file mode 100755 index 0000000..3d9de6b --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_uperf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr_cxx" "$(urcu_nproc)" uperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_qsbr_uperf_percpu.tap b/tests/regression/test_rcutorture_urcu_qsbr_uperf_percpu.tap new file mode 100755 index 0000000..93ff299 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_uperf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr" "$(urcu_nproc)" uperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_qsbr_uperf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_qsbr_uperf_percpu_cxx.tap new file mode 100755 index 0000000..930f322 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_uperf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr_cxx" "$(urcu_nproc)" uperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_qsbr_uperf_perthread.tap b/tests/regression/test_rcutorture_urcu_qsbr_uperf_perthread.tap new file mode 100755 index 0000000..695b1a5 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_uperf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr" "$(urcu_nproc)" uperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_qsbr_uperf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_qsbr_uperf_perthread_cxx.tap new file mode 100755 index 0000000..8ae0efc --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_qsbr_uperf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_qsbr_cxx" "$(urcu_nproc)" uperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_signal_perf_global.tap b/tests/regression/test_rcutorture_urcu_signal_perf_global.tap new file mode 100755 index 0000000..83e6171 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_perf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal" "$(urcu_nproc)" perf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_signal_perf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_signal_perf_global_cxx.tap new file mode 100755 index 0000000..2f79c1d --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_perf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal_cxx" "$(urcu_nproc)" perf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_signal_perf_percpu.tap b/tests/regression/test_rcutorture_urcu_signal_perf_percpu.tap new file mode 100755 index 0000000..df425ce --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_perf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal" "$(urcu_nproc)" perf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_signal_perf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_signal_perf_percpu_cxx.tap new file mode 100755 index 0000000..4cc04cd --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_perf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal_cxx" "$(urcu_nproc)" perf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_signal_perf_perthread.tap b/tests/regression/test_rcutorture_urcu_signal_perf_perthread.tap new file mode 100755 index 0000000..bea0bf4 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_perf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal" "$(urcu_nproc)" perf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_signal_perf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_signal_perf_perthread_cxx.tap new file mode 100755 index 0000000..a16ae23 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_perf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal_cxx" "$(urcu_nproc)" perf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_signal_rperf_global.tap b/tests/regression/test_rcutorture_urcu_signal_rperf_global.tap new file mode 100755 index 0000000..facf7c3 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_rperf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal" "$(urcu_nproc)" rperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_signal_rperf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_signal_rperf_global_cxx.tap new file mode 100755 index 0000000..57135d9 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_rperf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal_cxx" "$(urcu_nproc)" rperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_signal_rperf_percpu.tap b/tests/regression/test_rcutorture_urcu_signal_rperf_percpu.tap new file mode 100755 index 0000000..d5526b0 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_rperf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal" "$(urcu_nproc)" rperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_signal_rperf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_signal_rperf_percpu_cxx.tap new file mode 100755 index 0000000..dc49a86 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_rperf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal_cxx" "$(urcu_nproc)" rperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_signal_rperf_perthread.tap b/tests/regression/test_rcutorture_urcu_signal_rperf_perthread.tap new file mode 100755 index 0000000..ca0b157 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_rperf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal" "$(urcu_nproc)" rperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_signal_rperf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_signal_rperf_perthread_cxx.tap new file mode 100755 index 0000000..148df38 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_rperf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal_cxx" "$(urcu_nproc)" rperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_signal_stress_global.tap b/tests/regression/test_rcutorture_urcu_signal_stress_global.tap new file mode 100755 index 0000000..64689dc --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_stress_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal" "$(urcu_nproc)" stress 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_signal_stress_global_cxx.tap b/tests/regression/test_rcutorture_urcu_signal_stress_global_cxx.tap new file mode 100755 index 0000000..ed8bd21 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_stress_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal_cxx" "$(urcu_nproc)" stress 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_signal_stress_percpu.tap b/tests/regression/test_rcutorture_urcu_signal_stress_percpu.tap new file mode 100755 index 0000000..e829e49 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_stress_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal" "$(urcu_nproc)" stress 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_signal_stress_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_signal_stress_percpu_cxx.tap new file mode 100755 index 0000000..caea412 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_stress_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal_cxx" "$(urcu_nproc)" stress 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_signal_stress_perthread.tap b/tests/regression/test_rcutorture_urcu_signal_stress_perthread.tap new file mode 100755 index 0000000..0199847 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_stress_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal" "$(urcu_nproc)" stress 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_signal_stress_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_signal_stress_perthread_cxx.tap new file mode 100755 index 0000000..a9998bc --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_stress_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal_cxx" "$(urcu_nproc)" stress 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_signal_uperf_global.tap b/tests/regression/test_rcutorture_urcu_signal_uperf_global.tap new file mode 100755 index 0000000..5efd9ae --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_uperf_global.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal" "$(urcu_nproc)" uperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_signal_uperf_global_cxx.tap b/tests/regression/test_rcutorture_urcu_signal_uperf_global_cxx.tap new file mode 100755 index 0000000..d99a8b9 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_uperf_global_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal_cxx" "$(urcu_nproc)" uperf 1 callrcu_global diff --git a/tests/regression/test_rcutorture_urcu_signal_uperf_percpu.tap b/tests/regression/test_rcutorture_urcu_signal_uperf_percpu.tap new file mode 100755 index 0000000..13f063d --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_uperf_percpu.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal" "$(urcu_nproc)" uperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_signal_uperf_percpu_cxx.tap b/tests/regression/test_rcutorture_urcu_signal_uperf_percpu_cxx.tap new file mode 100755 index 0000000..07ef2c4 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_uperf_percpu_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal_cxx" "$(urcu_nproc)" uperf 1 callrcu_percpu diff --git a/tests/regression/test_rcutorture_urcu_signal_uperf_perthread.tap b/tests/regression/test_rcutorture_urcu_signal_uperf_perthread.tap new file mode 100755 index 0000000..c6256e9 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_uperf_perthread.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal" "$(urcu_nproc)" uperf 1 callrcu_perthread diff --git a/tests/regression/test_rcutorture_urcu_signal_uperf_perthread_cxx.tap b/tests/regression/test_rcutorture_urcu_signal_uperf_perthread_cxx.tap new file mode 100755 index 0000000..5cf8ce6 --- /dev/null +++ b/tests/regression/test_rcutorture_urcu_signal_uperf_perthread_cxx.tap @@ -0,0 +1,18 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then + UTILSSH="$URCU_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../utils/utils.sh" +fi + +# shellcheck source=../utils/utils.sh +source "$UTILSSH" + + +"${URCU_TESTS_BUILDDIR}/regression/rcutorture_urcu_signal_cxx" "$(urcu_nproc)" uperf 1 callrcu_perthread diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am index e68fefe..ecb9fc6 100644 --- a/tests/unit/Makefile.am +++ b/tests/unit/Makefile.am @@ -1,8 +1,10 @@ AM_CPPFLAGS += -I$(top_srcdir)/src -I$(top_srcdir)/tests/utils -I$(top_srcdir)/tests/common LOG_DRIVER_FLAGS = --merge --comments -LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ - $(top_srcdir)/tests/utils/tap-driver.sh +LOG_DRIVER = env AM_TAP_AWK='$(AWK)' \ + URCU_TESTS_SRCDIR='$(abs_top_srcdir)/tests' \ + URCU_TESTS_BUILDDIR='$(abs_top_builddir)/tests' \ + $(SHELL) $(top_srcdir)/tests/utils/tap-driver.sh noinst_PROGRAMS = \ test_arch \ @@ -120,18 +122,3 @@ test_build_dynlink_cxx_SOURCES = \ test_build_cxx.cpp test_build_dynlink_cxx_CXXFLAGS = -DDYNAMIC_LINK_TEST $(AM_CXXFLAGS) test_build_dynlink_cxx_LDADD = $(URCU_COMMON_LIB) $(URCU_CDS_LIB) $(TAP_LIB) - -all-local: - @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ - for script in $(SCRIPT_LIST); do \ - cp -f $(srcdir)/$$script $(builddir); \ - done; \ - fi - -clean-local: - @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ - for script in $(SCRIPT_LIST); do \ - rm -f $(builddir)/$$script; \ - done; \ - fi - diff --git a/tests/utils/Makefile.am b/tests/utils/Makefile.am index d39f797..373c4dd 100644 --- a/tests/utils/Makefile.am +++ b/tests/utils/Makefile.am @@ -3,20 +3,7 @@ AM_CPPFLAGS += -I$(top_srcdir)/src noinst_LIBRARIES = libtap.a libtap_a_SOURCES = tap.c tap.h -SCRIPT_LIST = tap.sh tap-driver.sh - -dist_check_SCRIPTS = $(SCRIPT_LIST) - -all-local: - @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ - for script in $(SCRIPT_LIST); do \ - cp -f $(srcdir)/$$script $(builddir); \ - done; \ - fi - -clean-local: - @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ - for script in $(SCRIPT_LIST); do \ - rm -f $(builddir)/$$script; \ - done; \ - fi +dist_check_SCRIPTS = \ + tap-driver.sh \ + tap.sh \ + utils.sh diff --git a/tests/utils/env.sh.in b/tests/utils/env.sh.in new file mode 100644 index 0000000..a4c2abb --- /dev/null +++ b/tests/utils/env.sh.in @@ -0,0 +1,35 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +### Base paths to test suite ### +if [ "x${URCU_TESTS_SRCDIR:-}" = "x" ]; then + URCU_TESTS_SRCDIR="@abs_top_srcdir@/tests" +fi +export URCU_TESTS_SRCDIR + +if [ "x${URCU_TESTS_BUILDDIR:-}" = "x" ]; then + URCU_TESTS_BUILDDIR="@abs_top_builddir@/tests" +fi +export URCU_TESTS_BUILDDIR + + +### External Tools ### +if [ "x${URCU_TESTS_NPROC_BIN:-}" = "x" ]; then + URCU_TESTS_NPROC_BIN="@NPROC@" +fi +export URCU_TESTS_NPROC_BIN + +if [ "x${URCU_TESTS_GETCONF_BIN:-}" = "x" ]; then + URCU_TESTS_GETCONF_BIN="@GETCONF@" +fi +export URCU_TESTS_GETCONF_BIN + +if [ "x${URCU_TESTS_TIME_BIN:-}" = "x" ]; then + URCU_TESTS_TIME_BIN="@TIME@" +fi +export URCU_TESTS_TIME_BIN + diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh new file mode 100755 index 0000000..6e712e1 --- /dev/null +++ b/tests/utils/utils.sh @@ -0,0 +1,112 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# SPDX-FileCopyrightText: 2022 EfficiOS Inc. +# + +# This file is meant to be sourced at the start of shell script-based tests. + + +# Error out when encountering an undefined variable +set -u + +# If "readlink -f" is available, get a resolved absolute path to the +# tests source dir, otherwise make do with a relative path. +scriptdir="$(dirname "${BASH_SOURCE[0]}")" +if readlink -f "." >/dev/null 2>&1; then + testsdir=$(readlink -f "$scriptdir/..") +else + testsdir="$scriptdir/.." +fi + +# The OS on which we are running. See [1] for possible values of 'uname -s'. +# We do a bit of translation to ease our life down the road for comparison. +# Export it so that called executables can use it. +# [1] https://en.wikipedia.org/wiki/Uname#Examples +if [ "x${URCU_TESTS_OS_TYPE:-}" = "x" ]; then + URCU_TESTS_OS_TYPE="$(uname -s)" + case "$URCU_TESTS_OS_TYPE" in + MINGW*) + URCU_TESTS_OS_TYPE="mingw" + ;; + Darwin) + URCU_TESTS_OS_TYPE="darwin" + ;; + Linux) + URCU_TESTS_OS_TYPE="linux" + ;; + CYGWIN*) + URCU_TESTS_OS_TYPE="cygwin" + ;; + *) + URCU_TESTS_OS_TYPE="unsupported" + ;; + esac +fi +export URCU_TESTS_OS_TYPE + +# Allow overriding the source and build directories +if [ "x${URCU_TESTS_SRCDIR:-}" = "x" ]; then + URCU_TESTS_SRCDIR="$testsdir" +fi +export URCU_TESTS_SRCDIR + +if [ "x${URCU_TESTS_BUILDDIR:-}" = "x" ]; then + URCU_TESTS_BUILDDIR="$testsdir" +fi +export URCU_TESTS_BUILDDIR + +# Source the generated environment file if it's present. +if [ -f "${URCU_TESTS_BUILDDIR}/utils/env.sh" ]; then + # shellcheck source=./env.sh + . "${URCU_TESTS_BUILDDIR}/utils/env.sh" +fi + + +### External Tools ### + +if [ "x${URCU_TESTS_NPROC_BIN:-}" = "x" ]; then + URCU_TESTS_NPROC_BIN="nproc" +fi +export URCU_TESTS_NPROC_BIN + +if [ "x${URCU_TESTS_GETCONF_BIN:-}" = "x" ]; then + URCU_TESTS_GETCONF_BIN="getconf" +fi +export URCU_TESTS_GETCONF_BIN + + +# By default, it will not source tap.sh. If you to tap output directly from +# the test script, define the 'SH_TAP' variable to '1' before sourcing this +# script. +if [ "x${SH_TAP:-}" = x1 ]; then + # shellcheck source=./tap.sh + . "${URCU_TESTS_SRCDIR}/utils/tap.sh" +fi + + +### Functions ### + +# Print the number of online CPUs, fallback to '1' if no tools to count CPUs +# are found in the environment. +urcu_nproc() { + if command -v "${URCU_TESTS_NPROC_BIN}" >/dev/null 2>&1; then + "${URCU_TESTS_NPROC_BIN}" + elif command -v "${URCU_TESTS_GETCONF_BIN}" >/dev/null 2>&1; then + "${URCU_TESTS_GETCONF_BIN}" _NPROCESSORS_ONLN + else + # Fallback to '1' + echo 1 + fi +} + +# Shell implementation of the 'seq' command. +urcu_xseq() { + local i=$1 + + while [[ "$i" -le "$2" ]]; do + echo "$i" + i=$(( i + 1 )) + done +} -- 2.34.1