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 \
12 aio.vgtest aio.stderr.exp \
13 aiov.vgtest aiov.stderr.exp \
14 aio_read.vgtest aio_read.stderr.exp aio_read.stdout.exp \
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 \
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 \
37 chflags.stderr.exp-x86 \
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 \
49 eventfd1.stderr.exp eventfd1.stdout.exp \
55 fbsd278566.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 \
67 getfsstat.stderr.exp \
69 getfsstat.stderr.exp-x86 \
78 memalign.vgtest memalign.stderr.exp \
79 memalign_supp.vgtest memalign_supp.stderr.exp \
85 pdfork_pdkill.vgtest \
86 pdfork_pdkill.stderr.exp \
88 realpathat.stderr.exp \
91 scalar.h scalar.vgtest \
93 scalar.stderr.exp-x86 \
95 scalar_abort2.vgtest \
96 scalar_15_plus.vgtest \
97 scalar_15_plus.stderr.exp \
98 scalar_abort2.stderr.exp \
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 \
113 setproctitle.vgtest \
114 setproctitle.stderr.exp \
115 setproctitle.stdout.exp \
119 sigwait.stderr.exp-x86 \
122 stat.stderr.exp-x86 \
125 static_allocs.vgtest \
126 static_allocs.stderr.exp \
127 strlcat_strlcpy.vgtest \
128 strlcat_strlcpy.stderr.exp \
130 supponlyobj.stderr.exp \
136 timing_safe.stderr.exp \
140 utimes.stderr.exp-x86 \
144 access aio aio_read aligned_alloc bug464476 bug470713 \
147 chmod_chown clock_nanosleep_interrupt \
148 delete_sized_mismatch errno_aligned_allocs \
152 get_set_context get_set_login getfh \
153 kqueue linkat memalign misc \
155 pdfork_pdkill getfsstat inlinfo inlinfo_nested.so \
157 scalar_fork scalar_thr_exit scalar_abort2 scalar_pdfork \
170 AM_CFLAGS += $(AM_FLAG_M3264_PRI)
171 AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
174 check_PROGRAMS += aiov
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
189 check_PROGRAMS += eventfd1 eventfd2
192 if FREEBSD_REALPATHAT_SYSCALL
193 check_PROGRAMS += realpathat
196 if FREEBSD_KQUEUEX_SYSCALL
197 check_PROGRAMS += kqueuex
200 if FREEBSD_TIMERFD_SYSCALL
201 check_PROGRAMS += timerfd
202 timerfd_LDFLAGS = -lm
206 check_PROGRAMS += scalar_15_plus timerfd
207 scalar_15_plus_CFLAGS = ${AM_CFLAGS} -g
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