drd/tests/swapcontext: Improve the portability of this test further
[valgrind.git] / none / tests / linux / Makefile.am
blob5299da223056c464ed114e54f2d8a0f2cf10a91b
2 include $(top_srcdir)/Makefile.tool-tests.am
4 dist_noinst_SCRIPTS = filter_stderr
6 EXTRA_DIST = \
7         blockfault.stderr.exp blockfault.vgtest \
8         brk-overflow1.stderr.exp brk-overflow1.vgtest \
9         brk-overflow2.stderr.exp brk-overflow2.vgtest \
10         clonev.stdout.exp clonev.stderr.exp clonev.vgtest \
11         membarrier.stderr.exp membarrier.vgtest \
12         mremap.stderr.exp mremap.stderr.exp-glibc27 mremap.stdout.exp \
13             mremap.vgtest \
14         mremap2.stderr.exp mremap2.stdout.exp mremap2.vgtest \
15         mremap3.stderr.exp mremap3.stdout.exp mremap3.vgtest \
16         mremap4.stderr.exp mremap4.vgtest \
17         mremap5.stderr.exp mremap5.vgtest \
18         mremap6.stderr.exp mremap6.vgtest \
19         pthread-stack.stderr.exp pthread-stack.vgtest \
20         stack-overflow.stderr.exp stack-overflow.vgtest
22 check_PROGRAMS = \
23         blockfault \
24         brk-overflow1 \
25         brk-overflow2 \
26         clonev \
27         mremap \
28         mremap2 \
29         mremap3 \
30         mremap4 \
31         mremap5 \
32         mremap6 \
33         pthread-stack \
34         stack-overflow
36 if HAVE_NR_MEMBARRIER
37         check_PROGRAMS += membarrier
38 endif
41 AM_CFLAGS   += $(AM_FLAG_M3264_PRI)
42 AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
44 # Special needs
45 clonev_LDADD = -lpthread
46 pthread_stack_LDADD = -lpthread
48 stack_overflow_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ \
49                         @FLAG_W_NO_INFINITE_RECURSION@