blob: f2ccf5b8cb85a34037340453400a54355defc8bd [file] [log] [blame]
njn25e49d8e72002-09-23 09:36:25 +00001##---------------------------------------------------------------------------
2## Need more tests:
3## - lots more mmap/munmap/mremap/mprotect ones
njn25e49d8e72002-09-23 09:36:25 +00004##---------------------------------------------------------------------------
5
njna2c92ed2003-06-29 10:12:58 +00006noinst_SCRIPTS = filter_allocs filter_leak_check_size filter_mismatches \
7 filter_stderr filter_stderr_backtrace filter_pushfpopf \
8 filter_tronical
daywalker677e0612003-04-24 00:40:38 +00009
njna63e2d72003-06-12 14:13:05 +000010EXTRA_DIST = $(noinst_SCRIPTS) \
njnd8ced862003-04-08 00:47:05 +000011 badaddrvalue.stderr.exp \
njn254d542432002-09-23 16:09:39 +000012 badaddrvalue.stdout.exp badaddrvalue.vgtest \
13 badfree-2trace.stderr.exp badfree-2trace.vgtest \
14 badfree.stderr.exp badfree.vgtest \
15 badjump.stderr.exp badjump.vgtest \
16 badloop.stderr.exp badloop.vgtest \
njn7360f8e2003-09-04 20:57:51 +000017 brk.stderr.exp brk.vgtest \
njnd8ced862003-04-08 00:47:05 +000018 buflen_check.stderr.exp buflen_check.vgtest \
19 clientperm.stderr.exp \
njn4d5490d2002-10-04 14:16:38 +000020 clientperm.stdout.exp clientperm.vgtest \
njn10785452003-05-20 16:38:24 +000021 custom_alloc.stderr.exp custom_alloc.vgtest \
njn254d542432002-09-23 16:09:39 +000022 doublefree.stderr.exp doublefree.vgtest \
njn1140b242003-04-22 20:58:02 +000023 error_counts.stderr.exp error_counts.stdout.exp error_counts.vgtest \
njn254d542432002-09-23 16:09:39 +000024 errs1.stderr.exp errs1.vgtest \
25 exitprog.stderr.exp exitprog.vgtest \
26 fprw.stderr.exp fprw.vgtest \
27 fwrite.stderr.exp fwrite.stdout.exp fwrite.vgtest \
28 inits.stderr.exp inits.vgtest \
29 inline.stderr.exp inline.stdout.exp inline.vgtest \
30 malloc1.stderr.exp malloc1.vgtest \
31 malloc2.stderr.exp malloc2.vgtest \
njn3e884182003-04-15 13:03:23 +000032 malloc3.stderr.exp malloc3.stdout.exp malloc3.vgtest \
njn254d542432002-09-23 16:09:39 +000033 manuel1.stderr.exp manuel1.stdout.exp manuel1.vgtest \
34 manuel2.stderr.exp manuel2.stdout.exp manuel2.vgtest \
35 manuel3.stderr.exp manuel3.vgtest \
36 memalign_test.stderr.exp memalign_test.vgtest \
37 memcmptest.stderr.exp memcmptest.stdout.exp memcmptest.vgtest \
38 mismatches.stderr.exp mismatches.vgtest \
39 mmaptest.stderr.exp mmaptest.vgtest \
40 nanoleak.stderr.exp nanoleak.vgtest \
njn3e884182003-04-15 13:03:23 +000041 nanoleak_supp.stderr.exp nanoleak_supp.vgtest nanoleak.supp \
njn254d542432002-09-23 16:09:39 +000042 new_override.stderr.exp new_override.vgtest \
njn0c5fac82003-05-02 16:19:10 +000043 null_socket.stderr.exp null_socket.vgtest \
sewardjea5cf542003-07-16 19:03:10 +000044 overlap.stderr.exp overlap.stdout.exp overlap.vgtest \
njn254d542432002-09-23 16:09:39 +000045 pushfpopf.stderr.exp pushfpopf.stdout.exp pushfpopf.vgtest \
46 realloc1.stderr.exp realloc1.vgtest \
47 realloc2.stderr.exp realloc2.vgtest \
njn398044f2003-07-24 17:39:59 +000048 realloc3.stderr.exp realloc3.vgtest \
njn254d542432002-09-23 16:09:39 +000049 sigaltstack.stderr.exp sigaltstack.vgtest \
njnd8ced862003-04-08 00:47:05 +000050 signal2.stderr.exp \
njn254d542432002-09-23 16:09:39 +000051 signal2.stdout.exp signal2.vgtest \
52 supp1.stderr.exp supp1.vgtest \
53 supp2.stderr.exp supp2.vgtest \
54 supp.supp \
55 suppfree.stderr.exp suppfree.vgtest \
56 trivialleak.stderr.exp trivialleak.vgtest \
57 tronical.stderr.exp tronical.vgtest \
sewardj51a9fe12003-07-07 00:03:52 +000058 weirdioctl.stderr.exp weirdioctl.stdout.exp weirdioctl.vgtest \
sewardj58bef2e2003-07-13 11:13:37 +000059 metadata.stderr.exp metadata.stdout.exp metadata.vgtest \
njnaca67c52003-09-04 21:57:45 +000060 threadederrno.stderr.exp threadederrno.stdout.exp \
61 threadederrno.vgtest \
62 writev.stderr.exp writev.vgtest
njn254d542432002-09-23 16:09:39 +000063
daywalkerc42d8bc2003-04-17 17:00:43 +000064check_PROGRAMS = \
njnaca67c52003-09-04 21:57:45 +000065 badaddrvalue badfree badjump badloop brk buflen_check \
njn7360f8e2003-09-04 20:57:51 +000066 clientperm custom_alloc \
njn47363ab2003-04-21 13:24:40 +000067 doublefree error_counts errs1 exitprog fprw fwrite inits inline \
njn3e884182003-04-15 13:03:23 +000068 malloc1 malloc2 malloc3 manuel1 manuel2 manuel3 \
njn0c5fac82003-05-02 16:19:10 +000069 memalign_test memcmptest mmaptest nanoleak null_socket \
70 overlap pushfpopf \
njn398044f2003-07-24 17:39:59 +000071 realloc1 realloc2 realloc3 sigaltstack signal2 supp1 supp2 suppfree \
njn25e49d8e72002-09-23 09:36:25 +000072 trivialleak tronical weirdioctl \
njnaca67c52003-09-04 21:57:45 +000073 mismatches new_override metadata threadederrno writev
njn25e49d8e72002-09-23 09:36:25 +000074
njna63e2d72003-06-12 14:13:05 +000075AM_CPPFLAGS = -I$(top_srcdir)/include
daywalkerc42d8bc2003-04-17 17:00:43 +000076AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g
77AM_CXXFLAGS = $(AM_CFLAGS)
njn25e49d8e72002-09-23 09:36:25 +000078
79# C ones
80badaddrvalue_SOURCES = badaddrvalue.c
81badfree_SOURCES = badfree.c
82badjump_SOURCES = badjump.c
83badloop_SOURCES = badloop.c
njn7360f8e2003-09-04 20:57:51 +000084brk_SOURCES = brk.c
njn25e49d8e72002-09-23 09:36:25 +000085buflen_check_SOURCES = buflen_check.c
njn4d5490d2002-10-04 14:16:38 +000086clientperm_SOURCES = clientperm.c
njn10785452003-05-20 16:38:24 +000087custom_alloc_SOURCES = custom_alloc.c
njn25e49d8e72002-09-23 09:36:25 +000088doublefree_SOURCES = doublefree.c
njn47363ab2003-04-21 13:24:40 +000089error_counts_SOURCES = error_counts.c
njn25e49d8e72002-09-23 09:36:25 +000090errs1_SOURCES = errs1.c
91exitprog_SOURCES = exitprog.c
92fprw_SOURCES = fprw.c
93fwrite_SOURCES = fwrite.c
94inits_SOURCES = inits.c
95inline_SOURCES = inline.c
96malloc1_SOURCES = malloc1.c
97malloc2_SOURCES = malloc2.c
njn3e884182003-04-15 13:03:23 +000098malloc3_SOURCES = malloc3.c
njn25e49d8e72002-09-23 09:36:25 +000099manuel1_SOURCES = manuel1.c
100manuel2_SOURCES = manuel2.c
101manuel3_SOURCES = manuel3.c
102mmaptest_SOURCES = mmaptest.c
103memalign_test_SOURCES = memalign_test.c
104memcmptest_SOURCES = memcmptest.c
105nanoleak_SOURCES = nanoleak.c
njn0c5fac82003-05-02 16:19:10 +0000106null_socket_SOURCES = null_socket.c
njn3e884182003-04-15 13:03:23 +0000107overlap_SOURCES = overlap.c
njn25e49d8e72002-09-23 09:36:25 +0000108pushfpopf_SOURCES = pushfpopf_c.c pushfpopf_s.s
109realloc1_SOURCES = realloc1.c
110realloc2_SOURCES = realloc2.c
njn398044f2003-07-24 17:39:59 +0000111realloc3_SOURCES = realloc3.c
njn25e49d8e72002-09-23 09:36:25 +0000112signal2_SOURCES = signal2.c
113supp1_SOURCES = supp.c
114supp2_SOURCES = supp.c
115suppfree_SOURCES = suppfree.c
116sigaltstack_SOURCES = sigaltstack.c
117trivialleak_SOURCES = trivialleak.c
118tronical_SOURCES = tronical.S
119weirdioctl_SOURCES = weirdioctl.c
sewardj51a9fe12003-07-07 00:03:52 +0000120metadata_SOURCES = metadata.c
sewardj58bef2e2003-07-13 11:13:37 +0000121threadederrno_SOURCES = threadederrno.c
122threadederrno_LDADD = -lpthread
njnaca67c52003-09-04 21:57:45 +0000123writev_SOURCES = writev.c
njn25e49d8e72002-09-23 09:36:25 +0000124
125# C++ ones
126mismatches_SOURCES = mismatches.cpp
127new_override_SOURCES = new_override.cpp
128