tests/utils/libtap.a
-tests/regression/rcutorture_qsbr
-tests/regression/rcutorture_urcu
+tests/regression/rcutorture_urcu_membarrier
tests/regression/rcutorture_urcu_bp
tests/regression/rcutorture_urcu_mb
tests/regression/rcutorture_urcu_qsbr
tests/regression/rcutorture_urcu_signal
-tests/regression/test_urcu_fork
-tests/regression/regression_tests
+tests/regression/test_urcu_fork.tap
+tests/regression/rcutorture*.tap
tests/benchmark/test_rwlock_timing
tests/benchmark/test_urcu
*.o
*.lo
*.loT
+*.log
+*.trs
/config.log
/configure
/config/compile
/config/install-sh
/config/ltmain.sh
/config/missing
+/config/test-driver
/aclocal.m4
/m4/libtool.m4
/m4/lt~obsolete.m4
lgpl-2.1.txt \
lgpl-relicensing.txt
-.PHONY: short_bench long_bench regtest
+.PHONY: short_bench long_bench regtest check-loop
short_bench:
cd tests && $(MAKE) $(AM_MAKEFLAGS) short_bench
long_bench:
cd tests && $(MAKE) $(AM_MAKEFLAGS) long_bench
regtest:
cd tests && $(MAKE) $(AM_MAKEFLAGS) regtest
+check-loop:
+ cd tests && $(MAKE) $(AM_MAKEFLAGS) check-loop
# Enable silent rules if available (Introduced in AM 1.11)
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+AC_REQUIRE_AUX_FILE([tap-driver.sh])
+
AH_TEMPLATE([CONFIG_RCU_SMP], [Enable SMP support. With SMP support enabled, uniprocessors are also supported. With SMP support disabled, UP systems work fine, but the behavior of SMP systems is undefined.])
AH_TEMPLATE([CONFIG_RCU_HAVE_FENCE], [Defined when on a system that has memory fence instructions.])
AH_TEMPLATE([CONFIG_RCU_HAVE_FUTEX], [Defined when on a system with futex support.])
tests/unit/Makefile
tests/benchmark/Makefile
tests/regression/Makefile
- tests/regression/regression_tests
tests/utils/Makefile
src/liburcu.pc
src/liburcu-bp.pc
src/liburcu-mb.pc
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_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_bp_perf_percpu.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_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_bp_rperf_global.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_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_bp_rperf_perthread.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_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_bp_stress_percpu.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_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_bp_uperf_global.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_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_bp_uperf_perthread.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_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_mb_perf_percpu.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_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_mb_rperf_global.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_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_mb_rperf_perthread.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_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_mb_stress_percpu.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_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_mb_uperf_global.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_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_mb_uperf_perthread.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_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_perf_percpu.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_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_rperf_global.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_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_rperf_perthread.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_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_stress_percpu.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_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_uperf_global.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_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_uperf_perthread.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_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_perf_percpu.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_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_rperf_global.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_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_rperf_perthread.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_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_stress_percpu.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_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_uperf_global.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_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_uperf_perthread.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_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_signal_perf_percpu.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_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_signal_rperf_global.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_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_signal_rperf_perthread.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_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_signal_stress_percpu.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_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_signal_uperf_global.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_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_signal_uperf_perthread.tap])
+
+
AC_OUTPUT
#
SUBDIRS = utils common unit benchmark regression
-.PHONY: short_bench long_bench regtest
+.PHONY: short_bench long_bench regtest check-loop
short_bench:
cd benchmark && $(MAKE) $(AM_MAKEFLAGS) short_bench
regtest:
cd regression && $(MAKE) $(AM_MAKEFLAGS) regtest
cd benchmark && $(MAKE) $(AM_MAKEFLAGS) regtest
+
+check-loop:
+ while [ 0 ]; do \
+ $(MAKE) $(AM_MAKEFLAGS) check; \
+ if [ "$$?" != "0" ]; then \
+ break; \
+ fi \
+ done
AM_CFLAGS += -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_srcdir)/src -I$(top_srcdir)/tests/common -g
+TEST_EXTENSIONS = .tap
+TAP_LOG_DRIVER_FLAGS = --merge --comments
+TAP_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
+ $(top_srcdir)/config/tap-driver.sh
+
SCRIPT_LIST = common.sh \
- run.sh \
run-urcu-tests.sh \
runhash.sh \
runtests.sh \
dist_noinst_SCRIPTS = $(SCRIPT_LIST)
-TEST_LIST = regression_tests \
- short_bench_tests \
- long_bench_tests
-
-dist_noinst_DATA = $(TEST_LIST)
+dist_noinst_DATA = \
+ hashtable_1_seconds.tap \
+ urcu_1_seconds.tap
+ hashtable_3_seconds.tap \
+ urcu_3_seconds.tap
+ hashtable_30_seconds.tap \
+ urcu_30_seconds.tap
noinst_PROGRAMS = test_urcu test_urcu_dynamic_link test_urcu_timing \
test_urcu_signal test_urcu_signal_dynamic_link test_urcu_signal_timing \
.PHONY: short_bench long_bench regtest
+# This empty variable is required to enable the TAP test suite for custom
+# targets like 'regtest' while keeping the default 'check' a noop.
+TESTS =
+
+SHORT_BENCH_TESTS = urcu_3_seconds.tap hashtable_3_seconds.tap
+LONG_BENCH_TESTS = urcu_30_seconds.tap hashtable_30_seconds.tap
+REGTEST_TESTS = urcu_1_seconds.tap hashtable_1_seconds.tap
+
short_bench:
- ./run.sh short_bench_tests
+ $(MAKE) $(AM_MAKEFLAGS) check TESTS="$(SHORT_BENCH_TESTS)"
long_bench:
- ./run.sh long_bench_tests
+ $(MAKE) $(AM_MAKEFLAGS) check TESTS="$(LONG_BENCH_TESTS)"
regtest:
- ./run.sh regression_tests
+ $(MAKE) $(AM_MAKEFLAGS) check TESTS="$(REGTEST_TESTS)"
--- /dev/null
+./runhash.sh 1
--- /dev/null
+./runhash.sh 30
--- /dev/null
+./runhash.sh 3
+++ /dev/null
-./run-urcu-tests.sh 30
-./runhash.sh 30
+++ /dev/null
-./run-urcu-tests.sh 1
-./runhash.sh 1
+++ /dev/null
-#!/bin/bash
-#
-# Copyright (C) 2013 - Christian Babeux <christian.babeux@efficios.com>
-# 2016 - Michael Jeanson <mjeanson@efficios.com>
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; only version 2
-# of the License.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-
-INPUT=$1
-ARGS=()
-shift 1
-
-if [ -z "${INPUT}" ]; then
- echo "Error: No testlist. Please specify a testlist to run."
- exit 1
-fi
-
-if [ "x$V" == "x1" ]; then
- ARGS+=('-v')
-fi
-
-prove "${@}" "${ARGS[@]}" --merge --exec '' - < "${INPUT}"
+++ /dev/null
-./run-urcu-tests.sh 3
-./runhash.sh 3
--- /dev/null
+./run-urcu-tests.sh 1
--- /dev/null
+./run-urcu-tests.sh 30
--- /dev/null
+./run-urcu-tests.sh 3
AM_CFLAGS += -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_srcdir)/src -I$(top_srcdir)/tests/utils -I$(top_srcdir)/tests/common -g
-SCRIPT_LIST = run.sh
+TEST_EXTENSIONS = .tap
+TAP_LOG_DRIVER_FLAGS = --merge --comments
+TAP_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
+ $(top_srcdir)/config/tap-driver.sh
-dist_noinst_SCRIPTS = $(SCRIPT_LIST)
-
-dist_noinst_DATA = regression_tests.in
-
-noinst_PROGRAMS = test_urcu_fork \
- rcutorture_urcu \
+noinst_PROGRAMS = test_urcu_fork.tap \
+ rcutorture_urcu_membarrier \
rcutorture_urcu_signal \
rcutorture_urcu_mb \
rcutorture_urcu_bp \
URCU_CDS_LIB=$(top_builddir)/src/liburcu-cds.la
TAP_LIB=$(top_builddir)/tests/utils/libtap.a
-test_urcu_fork_SOURCES = test_urcu_fork.c
-test_urcu_fork_LDADD = $(URCU_LIB) $(TAP_LIB)
+test_urcu_fork_tap_SOURCES = test_urcu_fork.c
+test_urcu_fork_tap_LDADD = $(URCU_LIB) $(TAP_LIB)
-rcutorture_urcu_SOURCES = urcutorture.c
-rcutorture_urcu_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS)
-rcutorture_urcu_LDADD = $(URCU_LIB) $(TAP_LIB)
+rcutorture_urcu_membarrier_SOURCES = urcutorture.c
+rcutorture_urcu_membarrier_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS)
+rcutorture_urcu_membarrier_LDADD = $(URCU_LIB) $(TAP_LIB)
rcutorture_urcu_mb_SOURCES = urcutorture.c
rcutorture_urcu_mb_CFLAGS = -DRCU_MB $(AM_CFLAGS)
urcutorture.c: ../common/api.h
-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
-
.PHONY: regtest
+# This empty variable is required to enable the TAP test suite for custom
+# targets like 'regtest' while keeping the default 'check' a noop.
+TESTS =
+
+REGTEST_TESTS = test_urcu_fork.tap \
+ rcutorture_urcu_bp_perf_global.tap \
+ rcutorture_urcu_bp_perf_percpu.tap \
+ rcutorture_urcu_bp_perf_perthread.tap \
+ rcutorture_urcu_bp_rperf_global.tap \
+ rcutorture_urcu_bp_rperf_percpu.tap \
+ rcutorture_urcu_bp_rperf_perthread.tap \
+ rcutorture_urcu_bp_stress_global.tap \
+ rcutorture_urcu_bp_stress_percpu.tap \
+ rcutorture_urcu_bp_stress_perthread.tap \
+ rcutorture_urcu_bp_uperf_global.tap \
+ rcutorture_urcu_bp_uperf_percpu.tap \
+ rcutorture_urcu_bp_uperf_perthread.tap \
+ rcutorture_urcu_mb_perf_global.tap \
+ rcutorture_urcu_mb_perf_percpu.tap \
+ rcutorture_urcu_mb_perf_perthread.tap \
+ rcutorture_urcu_mb_rperf_global.tap \
+ rcutorture_urcu_mb_rperf_percpu.tap \
+ rcutorture_urcu_mb_rperf_perthread.tap \
+ rcutorture_urcu_mb_stress_global.tap \
+ rcutorture_urcu_mb_stress_percpu.tap \
+ rcutorture_urcu_mb_stress_perthread.tap \
+ rcutorture_urcu_mb_uperf_global.tap \
+ rcutorture_urcu_mb_uperf_percpu.tap \
+ rcutorture_urcu_mb_uperf_perthread.tap \
+ rcutorture_urcu_membarrier_perf_global.tap \
+ rcutorture_urcu_membarrier_perf_percpu.tap \
+ rcutorture_urcu_membarrier_perf_perthread.tap \
+ rcutorture_urcu_membarrier_rperf_global.tap \
+ rcutorture_urcu_membarrier_rperf_percpu.tap \
+ rcutorture_urcu_membarrier_rperf_perthread.tap \
+ rcutorture_urcu_membarrier_stress_global.tap \
+ rcutorture_urcu_membarrier_stress_percpu.tap \
+ rcutorture_urcu_membarrier_stress_perthread.tap \
+ rcutorture_urcu_membarrier_uperf_global.tap \
+ rcutorture_urcu_membarrier_uperf_percpu.tap \
+ rcutorture_urcu_membarrier_uperf_perthread.tap \
+ rcutorture_urcu_qsbr_perf_global.tap \
+ rcutorture_urcu_qsbr_perf_percpu.tap \
+ rcutorture_urcu_qsbr_perf_perthread.tap \
+ rcutorture_urcu_qsbr_rperf_global.tap \
+ rcutorture_urcu_qsbr_rperf_percpu.tap \
+ rcutorture_urcu_qsbr_rperf_perthread.tap \
+ rcutorture_urcu_qsbr_stress_global.tap \
+ rcutorture_urcu_qsbr_stress_percpu.tap \
+ rcutorture_urcu_qsbr_stress_perthread.tap \
+ rcutorture_urcu_qsbr_uperf_global.tap \
+ rcutorture_urcu_qsbr_uperf_percpu.tap \
+ rcutorture_urcu_qsbr_uperf_perthread.tap \
+ rcutorture_urcu_signal_perf_global.tap \
+ rcutorture_urcu_signal_perf_percpu.tap \
+ rcutorture_urcu_signal_perf_perthread.tap \
+ rcutorture_urcu_signal_rperf_global.tap \
+ rcutorture_urcu_signal_rperf_percpu.tap \
+ rcutorture_urcu_signal_rperf_perthread.tap \
+ rcutorture_urcu_signal_stress_global.tap \
+ rcutorture_urcu_signal_stress_percpu.tap \
+ rcutorture_urcu_signal_stress_perthread.tap \
+ rcutorture_urcu_signal_uperf_global.tap \
+ rcutorture_urcu_signal_uperf_percpu.tap \
+ rcutorture_urcu_signal_uperf_perthread.tap
+
regtest:
- ./run.sh regression_tests
+ $(MAKE) $(AM_MAKEFLAGS) check TESTS="$(REGTEST_TESTS)"
--- /dev/null
+./rcutorture_urcu_bp `@NPROC_CMD@` perf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_bp `@NPROC_CMD@` perf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_bp `@NPROC_CMD@` perf 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_bp `@NPROC_CMD@` rperf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_bp `@NPROC_CMD@` rperf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_bp `@NPROC_CMD@` rperf 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_bp `@NPROC_CMD@` stress 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_bp `@NPROC_CMD@` stress 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_bp `@NPROC_CMD@` stress 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_bp `@NPROC_CMD@` uperf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_bp `@NPROC_CMD@` uperf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_bp `@NPROC_CMD@` uperf 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_mb `@NPROC_CMD@` perf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_mb `@NPROC_CMD@` perf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_mb `@NPROC_CMD@` perf 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_mb `@NPROC_CMD@` rperf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_mb `@NPROC_CMD@` rperf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_mb `@NPROC_CMD@` rperf 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_mb `@NPROC_CMD@` stress 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_mb `@NPROC_CMD@` stress 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_mb `@NPROC_CMD@` stress 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_mb `@NPROC_CMD@` uperf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_mb `@NPROC_CMD@` uperf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_mb `@NPROC_CMD@` uperf 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_membarrier `@NPROC_CMD@` perf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_membarrier `@NPROC_CMD@` perf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_membarrier `@NPROC_CMD@` perf 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_membarrier `@NPROC_CMD@` rperf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_membarrier `@NPROC_CMD@` rperf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_membarrier `@NPROC_CMD@` rperf 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_membarrier `@NPROC_CMD@` stress 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_membarrier `@NPROC_CMD@` stress 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_membarrier `@NPROC_CMD@` stress 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_membarrier `@NPROC_CMD@` uperf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_membarrier `@NPROC_CMD@` uperf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_membarrier `@NPROC_CMD@` uperf 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_qsbr `@NPROC_CMD@` perf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_qsbr `@NPROC_CMD@` perf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_qsbr `@NPROC_CMD@` perf 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_qsbr `@NPROC_CMD@` rperf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_qsbr `@NPROC_CMD@` rperf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_qsbr `@NPROC_CMD@` rperf 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_qsbr `@NPROC_CMD@` stress 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_qsbr `@NPROC_CMD@` stress 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_qsbr `@NPROC_CMD@` stress 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_qsbr `@NPROC_CMD@` uperf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_qsbr `@NPROC_CMD@` uperf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_qsbr `@NPROC_CMD@` uperf 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_signal `@NPROC_CMD@` perf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_signal `@NPROC_CMD@` perf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_signal `@NPROC_CMD@` perf 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_signal `@NPROC_CMD@` rperf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_signal `@NPROC_CMD@` rperf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_signal `@NPROC_CMD@` rperf 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_signal `@NPROC_CMD@` stress 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_signal `@NPROC_CMD@` stress 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_signal `@NPROC_CMD@` stress 1 callrcu_perthread
--- /dev/null
+./rcutorture_urcu_signal `@NPROC_CMD@` uperf 1 callrcu_global
--- /dev/null
+./rcutorture_urcu_signal `@NPROC_CMD@` uperf 1 callrcu_percpu
--- /dev/null
+./rcutorture_urcu_signal `@NPROC_CMD@` uperf 1 callrcu_perthread
+++ /dev/null
-./test_urcu_fork
-./rcutorture_urcu `@NPROC_CMD@` perf 1 callrcu_global
-./rcutorture_urcu_signal `@NPROC_CMD@` perf 1 callrcu_global
-./rcutorture_urcu_mb `@NPROC_CMD@` perf 1 callrcu_global
-./rcutorture_urcu_bp `@NPROC_CMD@` perf 1 callrcu_global
-./rcutorture_urcu_qsbr `@NPROC_CMD@` perf 1 callrcu_global
-./rcutorture_urcu `@NPROC_CMD@` rperf 1 callrcu_global
-./rcutorture_urcu_signal `@NPROC_CMD@` rperf 1 callrcu_global
-./rcutorture_urcu_mb `@NPROC_CMD@` rperf 1 callrcu_global
-./rcutorture_urcu_bp `@NPROC_CMD@` rperf 1 callrcu_global
-./rcutorture_urcu_qsbr `@NPROC_CMD@` rperf 1 callrcu_global
-./rcutorture_urcu `@NPROC_CMD@` uperf 1 callrcu_global
-./rcutorture_urcu_signal `@NPROC_CMD@` uperf 1 callrcu_global
-./rcutorture_urcu_mb `@NPROC_CMD@` uperf 1 callrcu_global
-./rcutorture_urcu_bp `@NPROC_CMD@` uperf 1 callrcu_global
-./rcutorture_urcu_qsbr `@NPROC_CMD@` uperf 1 callrcu_global
-./rcutorture_urcu `@NPROC_CMD@` stress 1 callrcu_global
-./rcutorture_urcu_signal `@NPROC_CMD@` stress 1 callrcu_global
-./rcutorture_urcu_mb `@NPROC_CMD@` stress 1 callrcu_global
-./rcutorture_urcu_bp `@NPROC_CMD@` stress 1 callrcu_global
-./rcutorture_urcu_qsbr `@NPROC_CMD@` stress 1 callrcu_global
-./rcutorture_urcu `@NPROC_CMD@` perf 1 callrcu_percpu
-./rcutorture_urcu_signal `@NPROC_CMD@` perf 1 callrcu_percpu
-./rcutorture_urcu_mb `@NPROC_CMD@` perf 1 callrcu_percpu
-./rcutorture_urcu_bp `@NPROC_CMD@` perf 1 callrcu_percpu
-./rcutorture_urcu_qsbr `@NPROC_CMD@` perf 1 callrcu_percpu
-./rcutorture_urcu `@NPROC_CMD@` rperf 1 callrcu_percpu
-./rcutorture_urcu_signal `@NPROC_CMD@` rperf 1 callrcu_percpu
-./rcutorture_urcu_mb `@NPROC_CMD@` rperf 1 callrcu_percpu
-./rcutorture_urcu_bp `@NPROC_CMD@` rperf 1 callrcu_percpu
-./rcutorture_urcu_qsbr `@NPROC_CMD@` rperf 1 callrcu_percpu
-./rcutorture_urcu `@NPROC_CMD@` uperf 1 callrcu_percpu
-./rcutorture_urcu_signal `@NPROC_CMD@` uperf 1 callrcu_percpu
-./rcutorture_urcu_mb `@NPROC_CMD@` uperf 1 callrcu_percpu
-./rcutorture_urcu_bp `@NPROC_CMD@` uperf 1 callrcu_percpu
-./rcutorture_urcu_qsbr `@NPROC_CMD@` uperf 1 callrcu_percpu
-./rcutorture_urcu `@NPROC_CMD@` stress 1 callrcu_percpu
-./rcutorture_urcu_signal `@NPROC_CMD@` stress 1 callrcu_percpu
-./rcutorture_urcu_mb `@NPROC_CMD@` stress 1 callrcu_percpu
-./rcutorture_urcu_bp `@NPROC_CMD@` stress 1 callrcu_percpu
-./rcutorture_urcu_qsbr `@NPROC_CMD@` stress 1 callrcu_percpu
-./rcutorture_urcu `@NPROC_CMD@` perf 1 callrcu_perthread
-./rcutorture_urcu_signal `@NPROC_CMD@` perf 1 callrcu_perthread
-./rcutorture_urcu_mb `@NPROC_CMD@` perf 1 callrcu_perthread
-./rcutorture_urcu_bp `@NPROC_CMD@` perf 1 callrcu_perthread
-./rcutorture_urcu_qsbr `@NPROC_CMD@` perf 1 callrcu_perthread
-./rcutorture_urcu `@NPROC_CMD@` rperf 1 callrcu_perthread
-./rcutorture_urcu_signal `@NPROC_CMD@` rperf 1 callrcu_perthread
-./rcutorture_urcu_mb `@NPROC_CMD@` rperf 1 callrcu_perthread
-./rcutorture_urcu_bp `@NPROC_CMD@` rperf 1 callrcu_perthread
-./rcutorture_urcu_qsbr `@NPROC_CMD@` rperf 1 callrcu_perthread
-./rcutorture_urcu `@NPROC_CMD@` uperf 1 callrcu_perthread
-./rcutorture_urcu_signal `@NPROC_CMD@` uperf 1 callrcu_perthread
-./rcutorture_urcu_mb `@NPROC_CMD@` uperf 1 callrcu_perthread
-./rcutorture_urcu_bp `@NPROC_CMD@` uperf 1 callrcu_perthread
-./rcutorture_urcu_qsbr `@NPROC_CMD@` uperf 1 callrcu_perthread
-./rcutorture_urcu `@NPROC_CMD@` stress 1 callrcu_perthread
-./rcutorture_urcu_signal `@NPROC_CMD@` stress 1 callrcu_perthread
-./rcutorture_urcu_mb `@NPROC_CMD@` stress 1 callrcu_perthread
-./rcutorture_urcu_bp `@NPROC_CMD@` stress 1 callrcu_perthread
-./rcutorture_urcu_qsbr `@NPROC_CMD@` stress 1 callrcu_perthread
+++ /dev/null
-#!/bin/bash
-#
-# Copyright (C) 2013 - Christian Babeux <christian.babeux@efficios.com>
-# 2016 - Michael Jeanson <mjeanson@efficios.com>
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; only version 2
-# of the License.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-
-INPUT=$1
-ARGS=()
-shift 1
-
-if [ -z "${INPUT}" ]; then
- echo "Error: No testlist. Please specify a testlist to run."
- exit 1
-fi
-
-if [ "x$V" == "x1" ]; then
- ARGS+=('-v')
-fi
-
-prove "${@}" "${ARGS[@]}" --merge --exec '' - < "${INPUT}"
AM_CFLAGS += -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_srcdir)/src -I$(top_srcdir)/tests/utils -I$(top_srcdir)/tests/common -g
-SCRIPT_LIST = test_loop run.sh unit_tests
+LOG_DRIVER_FLAGS = --merge --comments
+LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
+ $(top_srcdir)/config/tap-driver.sh
noinst_PROGRAMS = test_uatomic \
test_urcu_multiflavor \
test_urcu_multiflavor_dynlink
-dist_noinst_SCRIPTS = $(SCRIPT_LIST)
+TESTS = $(noinst_PROGRAMS)
noinst_HEADERS = test_urcu_multiflavor.h
done; \
fi
-check-am:
- ./run.sh unit_tests
+++ /dev/null
-#!/bin/bash
-#
-# Copyright (C) 2013 - Christian Babeux <christian.babeux@efficios.com>
-# 2016 - Michael Jeanson <mjeanson@efficios.com>
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; only version 2
-# of the License.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-
-INPUT=$1
-ARGS=()
-shift 1
-
-if [ -z "${INPUT}" ]; then
- echo "Error: No testlist. Please specify a testlist to run."
- exit 1
-fi
-
-if [ "x$V" == "x1" ]; then
- ARGS+=('-v')
-fi
-
-prove "${@}" "${ARGS[@]}" --merge --exec '' - < "${INPUT}"
+++ /dev/null
-#!/bin/bash
-
-DIR=$(dirname $0)
-
-while [ 0 ]; do
- $DIR/run.sh $DIR/unit_tests
- if [ "$?" != "0" ]; then
- break;
- fi
-done
-
-echo "$0: ********* STOPPED BECAUSE OF ERROR *********"
+++ /dev/null
-./test_uatomic
-./test_urcu_multiflavor
-./test_urcu_multiflavor_dynlink