Build and run regression and unit tests as C++ programs
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 31 Aug 2021 22:12:44 +0000 (18:12 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 8 Sep 2021 15:36:30 +0000 (11:36 -0400)
commit153b081a9b007aad7bece415dc3bf1125edd2da3
treed2ab8d8f4ec9ef2b49595ff897938764c0a61819
parent35701ce90e66221d86429bc055ef585d8848c8d5
Build and run regression and unit tests as C++ programs

Build and run all tests under tests/regression and tests/unit as C++
programs in addition to C.  This helps get confidence that urcu, when
used from a C++ program, behaves well.

Change-Id: Iacaa42dddbcbf59eff8e327edfd0352cce0b74b7
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
81 files changed:
.gitignore
configure.ac
m4/ax_cxx_compile_stdcxx.m4 [new file with mode: 0644]
tests/common/api.h
tests/regression/Makefile.am
tests/regression/rcutorture.h
tests/regression/rcutorture_urcu_bp_perf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_perf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_perf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_rperf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_rperf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_rperf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_stress_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_stress_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_stress_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_uperf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_uperf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_bp_uperf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_perf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_perf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_perf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_rperf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_rperf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_rperf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_stress_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_stress_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_stress_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_uperf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_uperf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_mb_uperf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_perf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_perf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_perf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_rperf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_rperf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_rperf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_stress_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_stress_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_stress_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_uperf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_uperf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_membarrier_uperf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_perf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_perf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_perf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_rperf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_rperf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_rperf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_stress_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_stress_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_stress_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_uperf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_uperf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_qsbr_uperf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_perf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_perf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_perf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_rperf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_rperf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_rperf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_stress_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_stress_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_stress_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_uperf_global_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_uperf_percpu_cxx.tap.in [new file with mode: 0644]
tests/regression/rcutorture_urcu_signal_uperf_perthread_cxx.tap.in [new file with mode: 0644]
tests/regression/test_urcu_fork.c
tests/regression/test_urcu_fork_cxx.cpp [new file with mode: 0644]
tests/regression/urcutorture_cxx.cpp [new file with mode: 0644]
tests/unit/Makefile.am
tests/unit/test_arch_cxx.cpp [new file with mode: 0644]
tests/unit/test_uatomic_cxx.cpp [new file with mode: 0644]
tests/unit/test_urcu_multiflavor-bp_cxx.cpp [new file with mode: 0644]
tests/unit/test_urcu_multiflavor-mb_cxx.cpp [new file with mode: 0644]
tests/unit/test_urcu_multiflavor-memb_cxx.cpp [new file with mode: 0644]
tests/unit/test_urcu_multiflavor-qsbr_cxx.cpp [new file with mode: 0644]
tests/unit/test_urcu_multiflavor-signal_cxx.cpp [new file with mode: 0644]
tests/unit/test_urcu_multiflavor_cxx.cpp [new file with mode: 0644]
tests/unit/test_urcu_multiflavor_single_unit_cxx.cpp [new file with mode: 0644]
tests/unit/urcu-asm_cxx.cpp [new file with mode: 0644]
tests/utils/tap.h
This page took 0.029873 seconds and 4 git commands to generate.