sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 1 | # For AM_FLAG_M3264_PRI |
| 2 | include $(top_srcdir)/Makefile.flags.am |
| 3 | |
| 4 | SUBDIRS = . |
| 5 | |
| 6 | DIST_SUBDIRS = . |
| 7 | |
bart | 0cc09c9 | 2008-02-26 12:52:00 +0000 | [diff] [blame] | 8 | noinst_SCRIPTS = \ |
| 9 | filter_cmdline0 \ |
| 10 | filter_error_summary \ |
| 11 | filter_fdleak \ |
| 12 | filter_linenos \ |
| 13 | filter_none_discards \ |
| 14 | filter_stderr |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 15 | |
| 16 | EXTRA_DIST = $(noinst_SCRIPTS) \ |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 17 | fp_race.vgtest \ |
| 18 | fp_race.stdout.exp fp_race.stderr.exp \ |
| 19 | fp_race2.vgtest \ |
| 20 | fp_race2.stdout.exp fp_race2.stderr.exp \ |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 21 | hg01_all_ok.vgtest \ |
| 22 | hg01_all_ok.stderr.exp \ |
| 23 | hg02_deadlock.vgtest \ |
| 24 | hg02_deadlock.stderr.exp \ |
| 25 | hg03_inherit.vgtest \ |
| 26 | hg03_inherit.stderr.exp \ |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 27 | hg04_race.vgtest \ |
| 28 | hg04_race.stderr.exp \ |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 29 | hg05_race2.vgtest \ |
| 30 | hg05_race2.stderr.exp \ |
| 31 | hg06_readshared.vgtest \ |
| 32 | hg06_readshared.stderr.exp \ |
sewardj | 8564292 | 2008-01-14 11:54:56 +0000 | [diff] [blame] | 33 | matinv.vgtest \ |
| 34 | matinv.stdout.exp matinv.stderr.exp \ |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 35 | pth_barrier.vgtest pth_barrier.stderr.exp \ |
| 36 | pth_barrier2.vgtest pth_barrier2.stderr.exp \ |
| 37 | pth_barrier3.vgtest pth_barrier3.stderr.exp \ |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 38 | pth_broadcast.vgtest \ |
| 39 | pth_broadcast.stdout.exp pth_broadcast.stderr.exp \ |
| 40 | pth_cond_race.vgtest \ |
| 41 | pth_cond_race.stdout.exp pth_cond_race.stderr.exp \ |
| 42 | pth_cond_race2.vgtest \ |
| 43 | pth_cond_race2.stdout.exp pth_cond_race2.stderr.exp \ |
| 44 | pth_create_chain.vgtest \ |
| 45 | pth_create_chain.stdout.exp pth_create_chain.stderr.exp \ |
| 46 | pth_detached.vgtest \ |
| 47 | pth_detached.stdout.exp pth_detached.stderr.exp \ |
| 48 | pth_detached2.vgtest \ |
| 49 | pth_detached2.stdout.exp pth_detached2.stderr.exp \ |
bart | 5357fcb | 2008-02-27 15:46:00 +0000 | [diff] [blame] | 50 | recursive_mutex.vgtest recursive_mutex.stderr.exp \ |
bart | 777f7fe | 2008-03-02 17:43:18 +0000 | [diff] [blame] | 51 | sem_as_mutex.vgtest sem_as_mutex.stderr.exp \ |
| 52 | sem_as_mutex2.vgtest sem_as_mutex2.stderr.exp \ |
bart | 848fdf8 | 2008-03-02 19:03:19 +0000 | [diff] [blame^] | 53 | sigalrm.vgtest \ |
| 54 | sigalrm.stdout.exp sigalrm.stderr.exp \ |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 55 | tc01_simple_race.vgtest \ |
| 56 | tc01_simple_race.stderr.exp \ |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 57 | tc02_simple_tls.vgtest \ |
| 58 | tc02_simple_tls.stderr.exp \ |
| 59 | tc03_re_excl.vgtest \ |
| 60 | tc03_re_excl.stderr.exp \ |
| 61 | tc04_free_lock.vgtest \ |
| 62 | tc04_free_lock.stderr.exp \ |
| 63 | tc05_simple_race.vgtest \ |
| 64 | tc05_simple_race.stderr.exp \ |
| 65 | tc06_two_races.vgtest \ |
| 66 | tc06_two_races.stderr.exp \ |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 67 | tc09_bad_unlock.vgtest \ |
| 68 | tc09_bad_unlock.stderr.exp \ |
| 69 | tc10_rec_lock.vgtest \ |
| 70 | tc10_rec_lock.stderr.exp \ |
| 71 | tc11_XCHG.vgtest \ |
| 72 | tc11_XCHG.stderr.exp tc11_XCHG.stdout.exp \ |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 73 | tc12_rwl_trivial.vgtest \ |
| 74 | tc12_rwl_trivial.stderr.exp \ |
| 75 | tc13_laog1.vgtest \ |
| 76 | tc13_laog1.stderr.exp \ |
| 77 | tc15_laog_lockdel.vgtest \ |
| 78 | tc15_laog_lockdel.stderr.exp \ |
| 79 | tc16_byterace.vgtest \ |
| 80 | tc16_byterace.stderr.exp \ |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 81 | tc17_sembar.vgtest \ |
| 82 | tc17_sembar.stderr.exp \ |
| 83 | tc18_semabuse.vgtest \ |
| 84 | tc18_semabuse.stderr.exp \ |
| 85 | tc19_shadowmem.vgtest \ |
| 86 | tc19_shadowmem.stderr.exp \ |
bart | 777f7fe | 2008-03-02 17:43:18 +0000 | [diff] [blame] | 87 | tc20_verifywrap.vgtest tc20_verifywrap.stderr.exp \ |
| 88 | tc20_verifywrap2.vgtest tc20_verifywrap2.stderr.exp \ |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 89 | tc21_pthonce.vgtest \ |
| 90 | tc21_pthonce.stderr.exp tc21_pthonce.stdout.exp \ |
| 91 | tc22_exit_w_lock.vgtest \ |
bart | 0cc09c9 | 2008-02-26 12:52:00 +0000 | [diff] [blame] | 92 | tc22_exit_w_lock.stderr.exp-32bit \ |
bart | 5169367 | 2008-02-29 13:15:57 +0000 | [diff] [blame] | 93 | tc22_exit_w_lock.stderr.exp-64bit \ |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 94 | tc23_bogus_condwait.vgtest \ |
| 95 | tc23_bogus_condwait.stderr.exp \ |
| 96 | tc24_nonzero_sem.vgtest \ |
| 97 | tc24_nonzero_sem.stderr.exp \ |
bart | 848fdf8 | 2008-03-02 19:03:19 +0000 | [diff] [blame^] | 98 | trylock.c trylock.stderr.exp |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 99 | |
bart | 5169367 | 2008-02-29 13:15:57 +0000 | [diff] [blame] | 100 | # tc07_hbl1.vgtest |
| 101 | # tc07_hbl1.stderr.exp tc07_hbl1.stdout.exp |
| 102 | # tc07_hbl1.stderr.exp |
| 103 | # tc08_hbl2.vgtest |
| 104 | # tc08_hbl2.stderr.exp |
| 105 | |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 106 | AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI) |
| 107 | AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_builddir)/include |
| 108 | AM_CXXFLAGS = $(AM_CFLAGS) |
| 109 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 110 | check_PROGRAMS = \ |
| 111 | fp_race \ |
| 112 | hg01_all_ok \ |
| 113 | hg02_deadlock \ |
| 114 | hg03_inherit \ |
| 115 | hg04_race \ |
| 116 | hg05_race2 \ |
| 117 | hg06_readshared \ |
| 118 | matinv \ |
| 119 | pth_barrier \ |
| 120 | pth_broadcast \ |
| 121 | pth_cond_race \ |
| 122 | pth_create_chain \ |
| 123 | pth_detached \ |
| 124 | sem_as_mutex \ |
bart | 5357fcb | 2008-02-27 15:46:00 +0000 | [diff] [blame] | 125 | recursive_mutex \ |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 126 | sigalrm \ |
| 127 | tc01_simple_race \ |
| 128 | tc02_simple_tls \ |
| 129 | tc03_re_excl \ |
| 130 | tc04_free_lock \ |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 131 | tc05_simple_race \ |
| 132 | tc06_two_races \ |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 133 | tc09_bad_unlock \ |
| 134 | tc10_rec_lock \ |
| 135 | tc11_XCHG \ |
| 136 | tc12_rwl_trivial \ |
| 137 | tc13_laog1 \ |
| 138 | tc15_laog_lockdel \ |
| 139 | tc16_byterace \ |
| 140 | tc17_sembar \ |
| 141 | tc18_semabuse \ |
| 142 | tc19_shadowmem \ |
| 143 | tc20_verifywrap \ |
| 144 | tc21_pthonce \ |
| 145 | tc22_exit_w_lock \ |
| 146 | tc23_bogus_condwait \ |
bart | 848fdf8 | 2008-03-02 19:03:19 +0000 | [diff] [blame^] | 147 | tc24_nonzero_sem \ |
| 148 | trylock |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 149 | |
bart | 4f00c74 | 2008-02-26 19:09:59 +0000 | [diff] [blame] | 150 | # tc07_hbl1 -- requires bus locking support. |
| 151 | # tc08_hbl2 -- requires bus locking support. |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 152 | # tc14_laog_dinphils -- hangs. |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 153 | |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 154 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 155 | fp_race_SOURCES = fp_race.c |
| 156 | fp_race_LDADD = -lpthread |
sewardj | 347eeba | 2008-01-21 14:19:07 +0000 | [diff] [blame] | 157 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 158 | hg01_all_ok_SOURCES = ../../helgrind/tests/hg01_all_ok.c |
| 159 | hg01_all_ok_LDADD = -lpthread |
sewardj | 8564292 | 2008-01-14 11:54:56 +0000 | [diff] [blame] | 160 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 161 | hg02_deadlock_SOURCES = ../../helgrind/tests/hg02_deadlock.c |
| 162 | hg02_deadlock_LDADD = -lpthread |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 163 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 164 | hg03_inherit_SOURCES = ../../helgrind/tests/hg03_inherit.c |
| 165 | hg03_inherit_LDADD = -lpthread |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 166 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 167 | hg04_race_SOURCES = ../../helgrind/tests/hg04_race.c |
| 168 | hg04_race_LDADD = -lpthread |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 169 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 170 | hg05_race2_SOURCES = ../../helgrind/tests/hg05_race2.c |
| 171 | hg05_race2_LDADD = -lpthread |
sewardj | 8564292 | 2008-01-14 11:54:56 +0000 | [diff] [blame] | 172 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 173 | hg06_readshared_SOURCES = ../../helgrind/tests/hg06_readshared.c |
| 174 | hg06_readshared_LDADD = -lpthread |
sewardj | 8564292 | 2008-01-14 11:54:56 +0000 | [diff] [blame] | 175 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 176 | matinv_SOURCES = matinv.c |
| 177 | matinv_LDADD = -lpthread -lm |
sewardj | 8564292 | 2008-01-14 11:54:56 +0000 | [diff] [blame] | 178 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 179 | pth_barrier_SOURCES = pth_barrier.c |
| 180 | pth_barrier_LDADD = -lpthread |
| 181 | |
| 182 | pth_broadcast_SOURCES = pth_broadcast.c |
| 183 | pth_broadcast_LDADD = -lpthread |
| 184 | |
| 185 | pth_cond_race_SOURCES = pth_cond_race.c |
| 186 | pth_cond_race_LDADD = -lpthread |
| 187 | |
| 188 | pth_create_chain_SOURCES = pth_create_chain.c |
| 189 | pth_create_chain_LDADD = -lpthread |
| 190 | |
| 191 | pth_detached_SOURCES = pth_detached.c |
| 192 | pth_detached_LDADD = -lpthread |
| 193 | |
bart | 5357fcb | 2008-02-27 15:46:00 +0000 | [diff] [blame] | 194 | recursive_mutex_SOURCES = recursive_mutex.c |
| 195 | recursive_mutex_LDADD = -lpthread |
| 196 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 197 | sem_as_mutex_SOURCES = sem_as_mutex.c |
| 198 | sem_as_mutex_LDADD = -lpthread |
| 199 | |
| 200 | sigalrm_SOURCES = sigalrm.c |
| 201 | sigalrm_LDADD = -lpthread |
| 202 | |
| 203 | tc01_simple_race_SOURCES = ../../helgrind/tests/tc01_simple_race.c |
| 204 | tc01_simple_race_LDADD = -lpthread |
| 205 | |
| 206 | tc02_simple_tls_SOURCES = ../../helgrind/tests/tc02_simple_tls.c |
| 207 | tc02_simple_tls_LDADD = -lpthread |
| 208 | |
| 209 | tc03_re_excl_SOURCES = ../../helgrind/tests/tc03_re_excl.c |
| 210 | tc03_re_excl_LDADD = -lpthread |
| 211 | |
| 212 | tc04_free_lock_SOURCES = ../../helgrind/tests/tc04_free_lock.c |
| 213 | tc04_free_lock_LDADD = -lpthread |
| 214 | |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 215 | tc05_simple_race_SOURCES = ../../helgrind/tests/tc05_simple_race.c |
| 216 | tc05_simple_race_LDADD = -lpthread |
| 217 | |
| 218 | tc06_two_races_SOURCES = ../../helgrind/tests/tc06_two_races.c |
| 219 | tc06_two_races_LDADD = -lpthread |
| 220 | |
bart | 5357fcb | 2008-02-27 15:46:00 +0000 | [diff] [blame] | 221 | # tc07_hbl1_SOURCES = ../../helgrind/tests/tc07_hbl1.c |
| 222 | # tc07_hbl1_LDADD = -lpthread |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 223 | |
bart | 5357fcb | 2008-02-27 15:46:00 +0000 | [diff] [blame] | 224 | # tc08_hbl2_SOURCES = ../../helgrind/tests/tc08_hbl2.c |
| 225 | # tc08_hbl2_LDADD = -lpthread |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 226 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 227 | tc09_bad_unlock_SOURCES = ../../helgrind/tests/tc09_bad_unlock.c |
| 228 | tc09_bad_unlock_LDADD = -lpthread |
| 229 | |
| 230 | tc10_rec_lock_SOURCES = ../../helgrind/tests/tc10_rec_lock.c |
| 231 | tc10_rec_lock_LDADD = -lpthread |
| 232 | |
| 233 | tc11_XCHG_SOURCES = ../../helgrind/tests/tc11_XCHG.c |
| 234 | tc11_XCHG_LDADD = -lpthread |
| 235 | |
| 236 | tc12_rwl_trivial_SOURCES = ../../helgrind/tests/tc12_rwl_trivial.c |
| 237 | tc12_rwl_trivial_LDADD = -lpthread |
| 238 | |
| 239 | tc13_laog1_SOURCES = ../../helgrind/tests/tc13_laog1.c |
| 240 | tc13_laog1_LDADD = -lpthread |
| 241 | |
| 242 | tc15_laog_lockdel_SOURCES = ../../helgrind/tests/tc15_laog_lockdel.c |
| 243 | tc15_laog_lockdel_LDADD = -lpthread |
| 244 | |
| 245 | tc16_byterace_SOURCES = ../../helgrind/tests/tc16_byterace.c |
| 246 | tc16_byterace_LDADD = -lpthread |
| 247 | |
| 248 | tc17_sembar_SOURCES = ../../helgrind/tests/tc17_sembar.c |
| 249 | tc17_sembar_LDADD = -lpthread |
| 250 | |
| 251 | tc18_semabuse_SOURCES = ../../helgrind/tests/tc18_semabuse.c |
| 252 | tc18_semabuse_LDADD = -lpthread |
| 253 | |
| 254 | tc19_shadowmem_SOURCES = ../../helgrind/tests/tc19_shadowmem.c |
| 255 | tc19_shadowmem_LDADD = -lpthread |
| 256 | |
| 257 | tc20_verifywrap_SOURCES = ../../helgrind/tests/tc20_verifywrap.c |
| 258 | tc20_verifywrap_LDADD = -lpthread |
| 259 | |
| 260 | tc21_pthonce_SOURCES = ../../helgrind/tests/tc21_pthonce.c |
| 261 | tc21_pthonce_LDADD = -lpthread |
| 262 | |
| 263 | tc22_exit_w_lock_SOURCES = ../../helgrind/tests/tc22_exit_w_lock.c |
| 264 | tc22_exit_w_lock_LDADD = -lpthread |
| 265 | |
| 266 | tc23_bogus_condwait_SOURCES = ../../helgrind/tests/tc23_bogus_condwait.c |
| 267 | tc23_bogus_condwait_LDADD = -lpthread |
| 268 | |
| 269 | tc24_nonzero_sem_SOURCES = ../../helgrind/tests/tc24_nonzero_sem.c |
| 270 | tc24_nonzero_sem_LDADD = -lpthread |
bart | 848fdf8 | 2008-03-02 19:03:19 +0000 | [diff] [blame^] | 271 | |
| 272 | trylock_SOURCES = trylock.c |
| 273 | trylock_LDADD = -lpthread -lrt |