FreeBSD regtest: remove test for version 13+ syscalls
[valgrind.git] / memcheck / tests / freebsd / Makefile.am
blob4f7e35b393598d8e2ad1772b718143ee84fb04d7
2 include $(top_srcdir)/Makefile.tool-tests.am
4 dist_noinst_SCRIPTS = filter_stderr filter_pts dump_stdout filter_sigwait \
5         filter_scalar filter_realpathat filter_fstat filter_eventfd2 \
6         toucher1 toucher2 filter_getfsstat filter_context filter_frame \
7         filter_supp
9 EXTRA_DIST = \
10         access.vgtest \
11         access.stderr.exp \
12         aio.vgtest aio.stderr.exp \
13         aiov.vgtest aiov.stderr.exp \
14         aio_read.vgtest aio_read.stderr.exp aio_read.stdout.exp \
15         aio_read.in \
16         aligned_alloc.vgtest aligned_alloc.stderr.exp \
17         aligned_alloc_xml.vgtest aligned_alloc_xml.stderr.exp \
18         aligned_allocs_supp.vgtest \
19         aligned_allocs_supp.stderr.exp \
20         aligned_allocs_supp.supp \
21         bug464476.vgtest \
22         bug464476.stderr.exp \
23         bug464476.stdout.exp \
24         bug464476_abs_symlink.vgtest \
25         bug464476_abs_symlink.stderr.exp \
26         bug464476_abs_symlink.stdout.exp \
27         bug464476_rel_symlink.vgtest \
28         bug464476_rel_symlink.stderr.exp \
29         bug464476_rel_symlink.stdout.exp \
30         bug470713.vgtest bug470713.stderr.exp \
31                 bug470713.stdout.exp \
32         bug483786.vgtest bug483786.stderr.exp \
33         capsicum.vgtest \
34         capsicum.stderr.exp \
35         chflags.vgtest\
36         chflags.stderr.exp \
37                 chflags.stderr.exp-x86 \
38         chmod_chown.vgtest \
39         chmod_chown.stderr.exp \
40         clock_nanosleep_interrupt.vgtest \
41         clock_nanosleep_interrupt.stderr.exp \
42         delete_sized_mismatch.vgtest \
43         delete_sized_mismatch.stderr.exp \
44         delete_sized_mismatch_xml.vgtest \
45         delete_sized_mismatch_xml.stderr.exp \
46         errno_aligned_allocs.vgtest \
47         errno_aligned_allocs.stderr.exp \
48         eventfd1.vgtest \
49         eventfd1.stderr.exp eventfd1.stdout.exp \
50         eventfd2.vgtest \
51         eventfd2.stderr.exp \
52         extattr.vgtest \
53         extattr.stderr.exp \
54         fbsd278566.vgtest \
55         fbsd278566.stderr.exp \
56         fexecve.vgtest \
57         fexecve.stderr.exp \
58         file_locking_wait6.vgtest \
59         file_locking_wait6.stderr.exp \
60         get_set_context.vgtest \
61         get_set_context.stderr.exp \
62         get_set_login.vgtest \
63         get_set_login.stderr.exp \
64         getfh.vgtest \
65         getfh.stderr.exp \
66         getfsstat.vgtest \
67         getfsstat.stderr.exp \
68         getfsstat.supp \
69                 getfsstat.stderr.exp-x86 \
70         kqueue.vgtest \
71         kqueue.stderr.exp \
72         kqueue.stdout.exp \
73         kqueuex.vgtest \
74         kqueuex.stderr.exp \
75         kqueuex.stdout.exp \
76         linkat.vgtest \
77         linkat.stderr.exp \
78         memalign.vgtest memalign.stderr.exp \
79         memalign_supp.vgtest memalign_supp.stderr.exp \
80         memalign_supp.supp \
81         misc.vgtest \
82         misc.stderr.exp \
83         openpty.vgtest \
84         openpty.stderr.exp \
85         pdfork_pdkill.vgtest \
86         pdfork_pdkill.stderr.exp \
87         realpathat.vgtest \
88         realpathat.stderr.exp \
89         revoke.vgtest \
90         revoke.stderr.exp \
91         scalar.h scalar.vgtest \
92         scalar.stderr.exp \
93                 scalar.stderr.exp-x86 \
94                 scalar.supp \
95         scalar_abort2.vgtest \
96         scalar_15_plus.vgtest \
97         scalar_15_plus.stderr.exp \
98         scalar_abort2.stderr.exp \
99         scalar_fork.vgtest \
100         scalar_fork.stderr.exp \
101         scalar_pdfork.vgtest \
102         scalar_pdfork.stderr.exp \
103         scalar_thr_exit.vgtest \
104         scalar_thr_exit.stderr.exp \
105         scalar_vfork.vgtest \
106         scalar_vfork.stderr.exp \
107         sctp.vgtest \
108         sctp.stderr.exp \
109         sctp.stdout.exp \
110         sctp2.vgtest \
111         sctp2.stderr.exp \
112         sctp2.stdout.exp \
113         setproctitle.vgtest \
114         setproctitle.stderr.exp \
115         setproctitle.stdout.exp \
116         sigwait.vgtest \
117         sigwait.stdout.exp \
118         sigwait.stderr.exp \
119                 sigwait.stderr.exp-x86 \
120         stat.vgtest \
121         stat.stderr.exp \
122                 stat.stderr.exp-x86 \
123         statfs.vgtest \
124         statfs.stderr.exp \
125         static_allocs.vgtest \
126         static_allocs.stderr.exp \
127         strlcat_strlcpy.vgtest \
128         strlcat_strlcpy.stderr.exp \
129         supponlyobj.vgtest \
130         supponlyobj.stderr.exp \
131         supponlyobj.supp \
132         timerfd.vgtest \
133         timerfd.stderr.exp \
134         timerfd.stdout.exp \
135         timing_safe.vgtest \
136         timing_safe.stderr.exp \
137         utimens.vgtest \
138         utimens.stderr.exp \
139         utimes.vgtest \
140         utimes.stderr.exp-x86 \
141         utimes.stderr.exp
143 check_PROGRAMS = \
144         access aio aio_read aligned_alloc bug464476 bug470713 \
145         bug483786 \
146         capsicum chflags \
147         chmod_chown clock_nanosleep_interrupt \
148         delete_sized_mismatch errno_aligned_allocs \
149         extattr fbsd278566 \
150         fexecve \
151         file_locking_wait6 \
152         get_set_context get_set_login getfh \
153         kqueue linkat memalign misc \
154         openpty \
155         pdfork_pdkill getfsstat inlinfo inlinfo_nested.so \
156         revoke scalar \
157         scalar_fork scalar_thr_exit scalar_abort2 scalar_pdfork \
158         scalar_vfork \
159         sctp sctp2 \
160         setproctitle \
161         sigwait \
162         stat \
163         statfs \
164         static_allocs \
165         strlcat_strlcpy \
166         timing_safe \
167         utimens \
168         utimes
170 AM_CFLAGS   += $(AM_FLAG_M3264_PRI)
171 AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
173 if HAVE_AIO_READV
174 check_PROGRAMS += aiov
175 endif
177 inlinfo_SOURCES = inlinfo.c
178 inlinfo_DEPENDENCIES = inlinfo_nested.so
179 inlinfo_LDFLAGS = -Wl,-rpath,$(top_builddir)/memcheck/tests/freebsd
180 inlinfo_LDADD = inlinfo_nested.so
181 inlinfo_nested_so_SOURCES = inlinfo_nested.c
182 inlinfo_nested_so_CFLAGS = $(AM_CFLAGS) -fPIC @FLAG_W_NO_UNINITIALIZED@
183 inlinfo_nested_so_LDFLAGS = -Wl,-rpath,$(top_builddir)/memcheck/tests/freebsd -shared -fPIC
185 bug464476_SOURCES = bug464476.cpp
186 bug470713_SOURCES = bug470713.cpp
188 if FREEBSD_EVENTFD
189 check_PROGRAMS += eventfd1 eventfd2
190 endif
192 if FREEBSD_REALPATHAT_SYSCALL
193 check_PROGRAMS += realpathat
194 endif
196 if FREEBSD_KQUEUEX_SYSCALL
197 check_PROGRAMS += kqueuex
198 endif
200 if FREEBSD_TIMERFD_SYSCALL
201 check_PROGRAMS += timerfd
202 timerfd_LDFLAGS = -lm
203 endif
205 if FREEBSD_SYSCALL15
206 check_PROGRAMS += scalar_15_plus timerfd
207 scalar_15_plus_CFLAGS = ${AM_CFLAGS} -g
208 endif
210 aligned_alloc_CFLAGS = ${AM_CFLAGS} @FLAG_W_NO_NON_POWER_OF_TWO_ALIGNMENT@
212 delete_sized_mismatch_CXXFLAGS = ${AM_CXXFLAGS} --std=c++14
213 delete_sized_mismatch_SOURCES = delete_sized_mismatch.cpp
215 errno_aligned_allocs_CFLAGS = ${AM_CFLAGS} @FLAG_W_NO_NON_POWER_OF_TWO_ALIGNMENT@
218 extattr_CFLAGS = ${AM_CFLAGS} @FLAG_W_NO_UNUSED_BUT_SET_VARIABLE@
220 memalign_CFLAGS = ${AM_CFLAGS} @FLAG_W_NO_NON_POWER_OF_TWO_ALIGNMENT@
222 openpty_LDFLAGS = ${AM_LDFLAGS} -lutil
224 scalar_CFLAGS = ${AM_CFLAGS} -g