njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 1 | ##--------------------------------------------------------------------------- |
| 2 | ## Need more tests: |
| 3 | ## - lots more mmap/munmap/mremap/mprotect ones |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 4 | ##--------------------------------------------------------------------------- |
| 5 | |
njn | a2c92ed | 2003-06-29 10:12:58 +0000 | [diff] [blame] | 6 | noinst_SCRIPTS = filter_allocs filter_leak_check_size filter_mismatches \ |
| 7 | filter_stderr filter_stderr_backtrace filter_pushfpopf \ |
| 8 | filter_tronical |
daywalker | 677e061 | 2003-04-24 00:40:38 +0000 | [diff] [blame] | 9 | |
njn | a63e2d7 | 2003-06-12 14:13:05 +0000 | [diff] [blame] | 10 | EXTRA_DIST = $(noinst_SCRIPTS) \ |
njn | d8ced86 | 2003-04-08 00:47:05 +0000 | [diff] [blame] | 11 | badaddrvalue.stderr.exp \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 12 | 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 \ |
njn | 7360f8e | 2003-09-04 20:57:51 +0000 | [diff] [blame] | 17 | brk.stderr.exp brk.vgtest \ |
njn | d8ced86 | 2003-04-08 00:47:05 +0000 | [diff] [blame] | 18 | buflen_check.stderr.exp buflen_check.vgtest \ |
| 19 | clientperm.stderr.exp \ |
njn | 4d5490d | 2002-10-04 14:16:38 +0000 | [diff] [blame] | 20 | clientperm.stdout.exp clientperm.vgtest \ |
njn | 1078545 | 2003-05-20 16:38:24 +0000 | [diff] [blame] | 21 | custom_alloc.stderr.exp custom_alloc.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 22 | doublefree.stderr.exp doublefree.vgtest \ |
njn | 1140b24 | 2003-04-22 20:58:02 +0000 | [diff] [blame] | 23 | error_counts.stderr.exp error_counts.stdout.exp error_counts.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 24 | 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 \ |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 32 | malloc3.stderr.exp malloc3.stdout.exp malloc3.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 33 | 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 \ |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 41 | nanoleak_supp.stderr.exp nanoleak_supp.vgtest nanoleak.supp \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 42 | new_override.stderr.exp new_override.vgtest \ |
njn | 0c5fac8 | 2003-05-02 16:19:10 +0000 | [diff] [blame] | 43 | null_socket.stderr.exp null_socket.vgtest \ |
sewardj | ea5cf54 | 2003-07-16 19:03:10 +0000 | [diff] [blame] | 44 | overlap.stderr.exp overlap.stdout.exp overlap.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 45 | pushfpopf.stderr.exp pushfpopf.stdout.exp pushfpopf.vgtest \ |
| 46 | realloc1.stderr.exp realloc1.vgtest \ |
| 47 | realloc2.stderr.exp realloc2.vgtest \ |
njn | 398044f | 2003-07-24 17:39:59 +0000 | [diff] [blame] | 48 | realloc3.stderr.exp realloc3.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 49 | sigaltstack.stderr.exp sigaltstack.vgtest \ |
njn | d8ced86 | 2003-04-08 00:47:05 +0000 | [diff] [blame] | 50 | signal2.stderr.exp \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 51 | 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 \ |
sewardj | 51a9fe1 | 2003-07-07 00:03:52 +0000 | [diff] [blame] | 58 | weirdioctl.stderr.exp weirdioctl.stdout.exp weirdioctl.vgtest \ |
sewardj | 58bef2e | 2003-07-13 11:13:37 +0000 | [diff] [blame] | 59 | metadata.stderr.exp metadata.stdout.exp metadata.vgtest \ |
njn | aca67c5 | 2003-09-04 21:57:45 +0000 | [diff] [blame^] | 60 | threadederrno.stderr.exp threadederrno.stdout.exp \ |
| 61 | threadederrno.vgtest \ |
| 62 | writev.stderr.exp writev.vgtest |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 63 | |
daywalker | c42d8bc | 2003-04-17 17:00:43 +0000 | [diff] [blame] | 64 | check_PROGRAMS = \ |
njn | aca67c5 | 2003-09-04 21:57:45 +0000 | [diff] [blame^] | 65 | badaddrvalue badfree badjump badloop brk buflen_check \ |
njn | 7360f8e | 2003-09-04 20:57:51 +0000 | [diff] [blame] | 66 | clientperm custom_alloc \ |
njn | 47363ab | 2003-04-21 13:24:40 +0000 | [diff] [blame] | 67 | doublefree error_counts errs1 exitprog fprw fwrite inits inline \ |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 68 | malloc1 malloc2 malloc3 manuel1 manuel2 manuel3 \ |
njn | 0c5fac8 | 2003-05-02 16:19:10 +0000 | [diff] [blame] | 69 | memalign_test memcmptest mmaptest nanoleak null_socket \ |
| 70 | overlap pushfpopf \ |
njn | 398044f | 2003-07-24 17:39:59 +0000 | [diff] [blame] | 71 | realloc1 realloc2 realloc3 sigaltstack signal2 supp1 supp2 suppfree \ |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 72 | trivialleak tronical weirdioctl \ |
njn | aca67c5 | 2003-09-04 21:57:45 +0000 | [diff] [blame^] | 73 | mismatches new_override metadata threadederrno writev |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 74 | |
njn | a63e2d7 | 2003-06-12 14:13:05 +0000 | [diff] [blame] | 75 | AM_CPPFLAGS = -I$(top_srcdir)/include |
daywalker | c42d8bc | 2003-04-17 17:00:43 +0000 | [diff] [blame] | 76 | AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g |
| 77 | AM_CXXFLAGS = $(AM_CFLAGS) |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 78 | |
| 79 | # C ones |
| 80 | badaddrvalue_SOURCES = badaddrvalue.c |
| 81 | badfree_SOURCES = badfree.c |
| 82 | badjump_SOURCES = badjump.c |
| 83 | badloop_SOURCES = badloop.c |
njn | 7360f8e | 2003-09-04 20:57:51 +0000 | [diff] [blame] | 84 | brk_SOURCES = brk.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 85 | buflen_check_SOURCES = buflen_check.c |
njn | 4d5490d | 2002-10-04 14:16:38 +0000 | [diff] [blame] | 86 | clientperm_SOURCES = clientperm.c |
njn | 1078545 | 2003-05-20 16:38:24 +0000 | [diff] [blame] | 87 | custom_alloc_SOURCES = custom_alloc.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 88 | doublefree_SOURCES = doublefree.c |
njn | 47363ab | 2003-04-21 13:24:40 +0000 | [diff] [blame] | 89 | error_counts_SOURCES = error_counts.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 90 | errs1_SOURCES = errs1.c |
| 91 | exitprog_SOURCES = exitprog.c |
| 92 | fprw_SOURCES = fprw.c |
| 93 | fwrite_SOURCES = fwrite.c |
| 94 | inits_SOURCES = inits.c |
| 95 | inline_SOURCES = inline.c |
| 96 | malloc1_SOURCES = malloc1.c |
| 97 | malloc2_SOURCES = malloc2.c |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 98 | malloc3_SOURCES = malloc3.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 99 | manuel1_SOURCES = manuel1.c |
| 100 | manuel2_SOURCES = manuel2.c |
| 101 | manuel3_SOURCES = manuel3.c |
| 102 | mmaptest_SOURCES = mmaptest.c |
| 103 | memalign_test_SOURCES = memalign_test.c |
| 104 | memcmptest_SOURCES = memcmptest.c |
| 105 | nanoleak_SOURCES = nanoleak.c |
njn | 0c5fac8 | 2003-05-02 16:19:10 +0000 | [diff] [blame] | 106 | null_socket_SOURCES = null_socket.c |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 107 | overlap_SOURCES = overlap.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 108 | pushfpopf_SOURCES = pushfpopf_c.c pushfpopf_s.s |
| 109 | realloc1_SOURCES = realloc1.c |
| 110 | realloc2_SOURCES = realloc2.c |
njn | 398044f | 2003-07-24 17:39:59 +0000 | [diff] [blame] | 111 | realloc3_SOURCES = realloc3.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 112 | signal2_SOURCES = signal2.c |
| 113 | supp1_SOURCES = supp.c |
| 114 | supp2_SOURCES = supp.c |
| 115 | suppfree_SOURCES = suppfree.c |
| 116 | sigaltstack_SOURCES = sigaltstack.c |
| 117 | trivialleak_SOURCES = trivialleak.c |
| 118 | tronical_SOURCES = tronical.S |
| 119 | weirdioctl_SOURCES = weirdioctl.c |
sewardj | 51a9fe1 | 2003-07-07 00:03:52 +0000 | [diff] [blame] | 120 | metadata_SOURCES = metadata.c |
sewardj | 58bef2e | 2003-07-13 11:13:37 +0000 | [diff] [blame] | 121 | threadederrno_SOURCES = threadederrno.c |
| 122 | threadederrno_LDADD = -lpthread |
njn | aca67c5 | 2003-09-04 21:57:45 +0000 | [diff] [blame^] | 123 | writev_SOURCES = writev.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 124 | |
| 125 | # C++ ones |
| 126 | mismatches_SOURCES = mismatches.cpp |
| 127 | new_override_SOURCES = new_override.cpp |
| 128 | |