Remove glibc < 2.4 compat code for sched_setaffinity
[urcu.git] / tests / regression / Makefile.am
1 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
2
3 TEST_EXTENSIONS = .tap
4 TAP_LOG_DRIVER_FLAGS = --merge --comments
5 TAP_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
6 $(top_srcdir)/tests/utils/tap-driver.sh
7
8 noinst_PROGRAMS = test_urcu_fork.tap \
9 rcutorture_urcu_membarrier \
10 rcutorture_urcu_signal \
11 rcutorture_urcu_mb \
12 rcutorture_urcu_bp \
13 rcutorture_urcu_qsbr
14
15 noinst_HEADERS = rcutorture.h
16
17 URCU_COMMON_LIB=$(top_builddir)/src/liburcu-common.la
18 URCU_LIB=$(top_builddir)/src/liburcu.la
19 URCU_QSBR_LIB=$(top_builddir)/src/liburcu-qsbr.la
20 URCU_MB_LIB=$(top_builddir)/src/liburcu-mb.la
21 URCU_SIGNAL_LIB=$(top_builddir)/src/liburcu-signal.la
22 URCU_BP_LIB=$(top_builddir)/src/liburcu-bp.la
23 URCU_CDS_LIB=$(top_builddir)/src/liburcu-cds.la
24 TAP_LIB=$(top_builddir)/tests/utils/libtap.a
25
26 test_urcu_fork_tap_SOURCES = test_urcu_fork.c
27 test_urcu_fork_tap_LDADD = $(URCU_LIB) $(TAP_LIB)
28
29 rcutorture_urcu_membarrier_SOURCES = urcutorture.c
30 rcutorture_urcu_membarrier_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS)
31 rcutorture_urcu_membarrier_LDADD = $(URCU_LIB) $(TAP_LIB)
32
33 rcutorture_urcu_mb_SOURCES = urcutorture.c
34 rcutorture_urcu_mb_CFLAGS = -DRCU_MB $(AM_CFLAGS)
35 rcutorture_urcu_mb_LDADD = $(URCU_MB_LIB) $(TAP_LIB)
36
37 rcutorture_urcu_qsbr_SOURCES = urcutorture.c
38 rcutorture_urcu_qsbr_CFLAGS = -DTORTURE_QSBR -DRCU_QSBR $(AM_CFLAGS)
39 rcutorture_urcu_qsbr_LDADD = $(URCU_QSBR_LIB) $(TAP_LIB)
40
41 rcutorture_urcu_signal_SOURCES = urcutorture.c
42 rcutorture_urcu_signal_CFLAGS = -DRCU_SIGNAL $(AM_CFLAGS)
43 rcutorture_urcu_signal_LDADD = $(URCU_SIGNAL_LIB) $(TAP_LIB)
44
45 rcutorture_urcu_bp_SOURCES = urcutorture.c
46 rcutorture_urcu_bp_CFLAGS = -DRCU_BP $(AM_CFLAGS)
47 rcutorture_urcu_bp_LDADD = $(URCU_BP_LIB) $(TAP_LIB)
48
49 urcutorture.c: ../common/api.h
50
51 .PHONY: regtest
52
53 # This empty variable is required to enable the TAP test suite for custom
54 # targets like 'regtest' while keeping the default 'check' a noop.
55 TESTS =
56
57 REGTEST_TESTS = test_urcu_fork.tap \
58 rcutorture_urcu_bp_perf_global.tap \
59 rcutorture_urcu_bp_perf_percpu.tap \
60 rcutorture_urcu_bp_perf_perthread.tap \
61 rcutorture_urcu_bp_rperf_global.tap \
62 rcutorture_urcu_bp_rperf_percpu.tap \
63 rcutorture_urcu_bp_rperf_perthread.tap \
64 rcutorture_urcu_bp_stress_global.tap \
65 rcutorture_urcu_bp_stress_percpu.tap \
66 rcutorture_urcu_bp_stress_perthread.tap \
67 rcutorture_urcu_bp_uperf_global.tap \
68 rcutorture_urcu_bp_uperf_percpu.tap \
69 rcutorture_urcu_bp_uperf_perthread.tap \
70 rcutorture_urcu_mb_perf_global.tap \
71 rcutorture_urcu_mb_perf_percpu.tap \
72 rcutorture_urcu_mb_perf_perthread.tap \
73 rcutorture_urcu_mb_rperf_global.tap \
74 rcutorture_urcu_mb_rperf_percpu.tap \
75 rcutorture_urcu_mb_rperf_perthread.tap \
76 rcutorture_urcu_mb_stress_global.tap \
77 rcutorture_urcu_mb_stress_percpu.tap \
78 rcutorture_urcu_mb_stress_perthread.tap \
79 rcutorture_urcu_mb_uperf_global.tap \
80 rcutorture_urcu_mb_uperf_percpu.tap \
81 rcutorture_urcu_mb_uperf_perthread.tap \
82 rcutorture_urcu_membarrier_perf_global.tap \
83 rcutorture_urcu_membarrier_perf_percpu.tap \
84 rcutorture_urcu_membarrier_perf_perthread.tap \
85 rcutorture_urcu_membarrier_rperf_global.tap \
86 rcutorture_urcu_membarrier_rperf_percpu.tap \
87 rcutorture_urcu_membarrier_rperf_perthread.tap \
88 rcutorture_urcu_membarrier_stress_global.tap \
89 rcutorture_urcu_membarrier_stress_percpu.tap \
90 rcutorture_urcu_membarrier_stress_perthread.tap \
91 rcutorture_urcu_membarrier_uperf_global.tap \
92 rcutorture_urcu_membarrier_uperf_percpu.tap \
93 rcutorture_urcu_membarrier_uperf_perthread.tap \
94 rcutorture_urcu_qsbr_perf_global.tap \
95 rcutorture_urcu_qsbr_perf_percpu.tap \
96 rcutorture_urcu_qsbr_perf_perthread.tap \
97 rcutorture_urcu_qsbr_rperf_global.tap \
98 rcutorture_urcu_qsbr_rperf_percpu.tap \
99 rcutorture_urcu_qsbr_rperf_perthread.tap \
100 rcutorture_urcu_qsbr_stress_global.tap \
101 rcutorture_urcu_qsbr_stress_percpu.tap \
102 rcutorture_urcu_qsbr_stress_perthread.tap \
103 rcutorture_urcu_qsbr_uperf_global.tap \
104 rcutorture_urcu_qsbr_uperf_percpu.tap \
105 rcutorture_urcu_qsbr_uperf_perthread.tap \
106 rcutorture_urcu_signal_perf_global.tap \
107 rcutorture_urcu_signal_perf_percpu.tap \
108 rcutorture_urcu_signal_perf_perthread.tap \
109 rcutorture_urcu_signal_rperf_global.tap \
110 rcutorture_urcu_signal_rperf_percpu.tap \
111 rcutorture_urcu_signal_rperf_perthread.tap \
112 rcutorture_urcu_signal_stress_global.tap \
113 rcutorture_urcu_signal_stress_percpu.tap \
114 rcutorture_urcu_signal_stress_perthread.tap \
115 rcutorture_urcu_signal_uperf_global.tap \
116 rcutorture_urcu_signal_uperf_percpu.tap \
117 rcutorture_urcu_signal_uperf_perthread.tap
118
119 regtest:
120 $(MAKE) $(AM_MAKEFLAGS) check TESTS="$(REGTEST_TESTS)"
This page took 0.033343 seconds and 5 git commands to generate.