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 \ |
bart | 3b9f3bf | 2008-03-16 07:48:07 +0000 | [diff] [blame] | 14 | filter_stderr \ |
bart | 80e3580 | 2008-03-19 17:02:26 +0000 | [diff] [blame] | 15 | run_openmp_test \ |
| 16 | supported_libpthread |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 17 | |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 18 | EXTRA_DIST = \ |
| 19 | $(noinst_SCRIPTS) \ |
bart | 1d07a38 | 2008-07-29 15:27:48 +0000 | [diff] [blame] | 20 | atomic_var.stderr.exp-with-atomic-builtins \ |
| 21 | atomic_var.stderr.exp-without-atomic-builtins \ |
bart | cca440b | 2008-07-10 11:58:08 +0000 | [diff] [blame] | 22 | atomic_var.vgtest \ |
bart | c4a9e0f | 2008-11-17 17:38:28 +0000 | [diff] [blame^] | 23 | bar_bad.stderr.exp \ |
| 24 | bar_bad.vgtest \ |
| 25 | bar_trivial.stderr.exp \ |
| 26 | bar_trivial.vgtest \ |
| 27 | boost_thread.stderr.exp \ |
| 28 | boost_thread.vgtest \ |
bart | 34eff98 | 2008-05-01 13:50:20 +0000 | [diff] [blame] | 29 | drd_bitmap_test.stderr.exp \ |
bart | e65b4c6 | 2008-07-04 11:47:06 +0000 | [diff] [blame] | 30 | drd_bitmap_test.stdout.exp \ |
| 31 | drd_bitmap_test.vgtest \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 32 | fp_race.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 33 | fp_race.vgtest \ |
| 34 | fp_race2.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 35 | fp_race2.vgtest \ |
| 36 | hg01_all_ok.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 37 | hg01_all_ok.vgtest \ |
| 38 | hg02_deadlock.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 39 | hg02_deadlock.vgtest \ |
| 40 | hg03_inherit.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 41 | hg03_inherit.vgtest \ |
| 42 | hg04_race.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 43 | hg04_race.vgtest \ |
| 44 | hg05_race2.stderr.exp \ |
bart | e65b4c6 | 2008-07-04 11:47:06 +0000 | [diff] [blame] | 45 | hg05_race2.stderr.exp-powerpc \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 46 | hg05_race2.vgtest \ |
| 47 | hg06_readshared.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 48 | hg06_readshared.vgtest \ |
bart | 1d4070d | 2008-05-14 12:22:15 +0000 | [diff] [blame] | 49 | hold_lock_1.stderr.exp \ |
| 50 | hold_lock_1.vgtest \ |
| 51 | hold_lock_2.stderr.exp \ |
| 52 | hold_lock_2.vgtest \ |
bart | 96f892f | 2008-03-09 16:16:06 +0000 | [diff] [blame] | 53 | linuxthreads_det.stderr.exp \ |
| 54 | linuxthreads_det.stderr.exp-linuxthreads \ |
| 55 | linuxthreads_det.stdout.exp \ |
| 56 | linuxthreads_det.stdout.exp-linuxthreads \ |
bart | e65b4c6 | 2008-07-04 11:47:06 +0000 | [diff] [blame] | 57 | linuxthreads_det.vgtest \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 58 | matinv.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 59 | matinv.stdout.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 60 | matinv.vgtest \ |
bart | 412efe5 | 2008-04-20 08:29:04 +0000 | [diff] [blame] | 61 | memory_allocation.stderr.exp \ |
| 62 | memory_allocation.vgtest \ |
bart | e64f11d | 2008-10-05 17:37:06 +0000 | [diff] [blame] | 63 | monitor_example.stderr.exp \ |
| 64 | monitor_example.vgtest \ |
bart | 3d4c332 | 2008-05-10 08:48:14 +0000 | [diff] [blame] | 65 | new_delete.stderr.exp \ |
| 66 | new_delete.vgtest \ |
bart | 805043e | 2008-03-12 17:49:57 +0000 | [diff] [blame] | 67 | omp_matinv.stderr.exp \ |
| 68 | omp_matinv.stdout.exp \ |
| 69 | omp_matinv.vgtest \ |
bart | e8acf49 | 2008-03-12 17:27:20 +0000 | [diff] [blame] | 70 | omp_matinv_racy.stderr.exp \ |
| 71 | omp_matinv_racy.stdout.exp \ |
| 72 | omp_matinv_racy.vgtest \ |
bart | 805043e | 2008-03-12 17:49:57 +0000 | [diff] [blame] | 73 | omp_prime_racy.stderr.exp \ |
bart | 805043e | 2008-03-12 17:49:57 +0000 | [diff] [blame] | 74 | omp_prime_racy.vgtest \ |
bart | bbd3dcf | 2008-10-11 18:04:52 +0000 | [diff] [blame] | 75 | omp_printf.stderr.exp \ |
| 76 | omp_printf.vgtest \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 77 | pth_barrier.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 78 | pth_barrier.vgtest \ |
| 79 | pth_barrier2.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 80 | pth_barrier2.vgtest \ |
| 81 | pth_barrier3.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 82 | pth_barrier3.vgtest \ |
bart | d9e39ec | 2008-06-28 15:03:26 +0000 | [diff] [blame] | 83 | pth_barrier_reinit.stderr.exp \ |
| 84 | pth_barrier_reinit.vgtest \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 85 | pth_broadcast.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 86 | pth_broadcast.vgtest \ |
bart | 032424f | 2008-09-27 12:26:17 +0000 | [diff] [blame] | 87 | pth_cancel_locked.stderr.exp \ |
| 88 | pth_cancel_locked.vgtest \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 89 | pth_cond_race.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 90 | pth_cond_race.vgtest \ |
| 91 | pth_cond_race2.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 92 | pth_cond_race2.vgtest \ |
bart | 46b5fce | 2008-06-28 13:01:30 +0000 | [diff] [blame] | 93 | pth_cond_race3.stderr.exp \ |
| 94 | pth_cond_race3.vgtest \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 95 | pth_create_chain.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 96 | pth_create_chain.vgtest \ |
| 97 | pth_detached.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 98 | pth_detached.stdout.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 99 | pth_detached.vgtest \ |
| 100 | pth_detached2.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 101 | pth_detached2.stdout.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 102 | pth_detached2.vgtest \ |
bart | 3b9f3bf | 2008-03-16 07:48:07 +0000 | [diff] [blame] | 103 | pth_detached_sem.stderr.exp \ |
bart | 178cc16 | 2008-05-10 12:52:02 +0000 | [diff] [blame] | 104 | pth_detached_sem.stdout.exp \ |
bart | 3b9f3bf | 2008-03-16 07:48:07 +0000 | [diff] [blame] | 105 | pth_detached_sem.vgtest \ |
bart | e65b4c6 | 2008-07-04 11:47:06 +0000 | [diff] [blame] | 106 | pth_inconsistent_cond_wait.stderr.exp \ |
| 107 | pth_inconsistent_cond_wait.vgtest \ |
bart | 19c4260 | 2008-07-07 08:04:08 +0000 | [diff] [blame] | 108 | pth_spinlock.stderr.exp \ |
| 109 | pth_spinlock.vgtest \ |
bart | 4c85399 | 2008-07-07 16:53:45 +0000 | [diff] [blame] | 110 | qt4_mutex.stderr.exp \ |
| 111 | qt4_mutex.vgtest \ |
bart | 4f578bf | 2008-07-07 18:35:13 +0000 | [diff] [blame] | 112 | qt4_rwlock.stderr.exp \ |
| 113 | qt4_rwlock.vgtest \ |
bart | ef9603e | 2008-07-07 17:22:41 +0000 | [diff] [blame] | 114 | qt4_semaphore.stderr.exp \ |
| 115 | qt4_semaphore.vgtest \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 116 | recursive_mutex.stderr.exp \ |
bart | e8acf49 | 2008-03-12 17:27:20 +0000 | [diff] [blame] | 117 | recursive_mutex.stdout.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 118 | recursive_mutex.vgtest \ |
| 119 | rwlock_race.stderr.exp \ |
bart | b920b66 | 2008-04-09 17:44:28 +0000 | [diff] [blame] | 120 | rwlock_race.stderr.exp2 \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 121 | rwlock_race.vgtest \ |
bart | 178cc16 | 2008-05-10 12:52:02 +0000 | [diff] [blame] | 122 | rwlock_test.stderr.exp \ |
| 123 | rwlock_test.vgtest \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 124 | sem_as_mutex.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 125 | sem_as_mutex.vgtest \ |
| 126 | sem_as_mutex2.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 127 | sem_as_mutex2.vgtest \ |
bart | e8acf49 | 2008-03-12 17:27:20 +0000 | [diff] [blame] | 128 | sigalrm.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 129 | sigalrm.vgtest \ |
| 130 | tc01_simple_race.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 131 | tc01_simple_race.vgtest \ |
| 132 | tc02_simple_tls.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 133 | tc02_simple_tls.vgtest \ |
| 134 | tc03_re_excl.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 135 | tc03_re_excl.vgtest \ |
| 136 | tc04_free_lock.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 137 | tc04_free_lock.vgtest \ |
| 138 | tc05_simple_race.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 139 | tc05_simple_race.vgtest \ |
| 140 | tc06_two_races.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 141 | tc06_two_races.vgtest \ |
bart | 8360df5 | 2008-03-07 17:34:22 +0000 | [diff] [blame] | 142 | tc07_hbl1.stderr.exp \ |
| 143 | tc07_hbl1.stdout.exp \ |
| 144 | tc07_hbl1.vgtest \ |
| 145 | tc08_hbl2.stderr.exp \ |
bart | 43409c9 | 2008-03-07 19:29:03 +0000 | [diff] [blame] | 146 | tc08_hbl2.stdout.exp \ |
bart | 8360df5 | 2008-03-07 17:34:22 +0000 | [diff] [blame] | 147 | tc08_hbl2.vgtest \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 148 | tc09_bad_unlock.stderr.exp \ |
bart | df96197 | 2008-04-28 16:51:24 +0000 | [diff] [blame] | 149 | tc09_bad_unlock.stderr.exp-glibc2.8 \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 150 | tc09_bad_unlock.vgtest \ |
| 151 | tc10_rec_lock.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 152 | tc10_rec_lock.vgtest \ |
| 153 | tc11_XCHG.stderr.exp tc11_XCHG.stdout.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 154 | tc11_XCHG.vgtest \ |
| 155 | tc12_rwl_trivial.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 156 | tc12_rwl_trivial.vgtest \ |
| 157 | tc13_laog1.stderr.exp \ |
| 158 | tc13_laog1.vgtest \ |
| 159 | tc15_laog_lockdel.stderr.exp \ |
| 160 | tc15_laog_lockdel.vgtest \ |
| 161 | tc16_byterace.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 162 | tc16_byterace.vgtest \ |
| 163 | tc17_sembar.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 164 | tc17_sembar.vgtest \ |
| 165 | tc18_semabuse.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 166 | tc18_semabuse.vgtest \ |
| 167 | tc19_shadowmem.stderr.exp \ |
| 168 | tc19_shadowmem.vgtest \ |
bart | 4ff230a | 2008-03-08 15:04:25 +0000 | [diff] [blame] | 169 | tc20_verifywrap.stderr.exp-glibc2.3 \ |
bart | 02aed96 | 2008-07-06 07:48:35 +0000 | [diff] [blame] | 170 | tc20_verifywrap.stderr.exp-glibc2.5 \ |
| 171 | tc20_verifywrap.stderr.exp-glibc2.5-ppc \ |
bart | e65b4c6 | 2008-07-04 11:47:06 +0000 | [diff] [blame] | 172 | tc20_verifywrap.stderr.exp-glibc2.8 \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 173 | tc20_verifywrap.vgtest \ |
bart | 4ff230a | 2008-03-08 15:04:25 +0000 | [diff] [blame] | 174 | tc20_verifywrap2.stderr.exp-glibc2.3 \ |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 175 | tc20_verifywrap2.stderr.exp-glibc2.3-b \ |
bart | 02aed96 | 2008-07-06 07:48:35 +0000 | [diff] [blame] | 176 | tc20_verifywrap2.stderr.exp-glibc2.5 \ |
| 177 | tc20_verifywrap2.stderr.exp-glibc2.5-ppc \ |
bart | e65b4c6 | 2008-07-04 11:47:06 +0000 | [diff] [blame] | 178 | tc20_verifywrap2.stderr.exp-glibc2.8 \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 179 | tc20_verifywrap2.vgtest \ |
| 180 | tc21_pthonce.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 181 | tc21_pthonce.stdout.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 182 | tc21_pthonce.vgtest \ |
| 183 | tc22_exit_w_lock.stderr.exp-32bit \ |
| 184 | tc22_exit_w_lock.stderr.exp-64bit \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 185 | tc22_exit_w_lock.vgtest \ |
| 186 | tc23_bogus_condwait.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 187 | tc23_bogus_condwait.vgtest \ |
| 188 | tc24_nonzero_sem.stderr.exp \ |
| 189 | tc24_nonzero_sem.vgtest \ |
bart | e65b4c6 | 2008-07-04 11:47:06 +0000 | [diff] [blame] | 190 | trylock.stderr.exp \ |
| 191 | trylock.vgtest |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 192 | |
bart | 7bf86f3 | 2008-05-11 18:39:18 +0000 | [diff] [blame] | 193 | AM_CFLAGS = $(WERROR) -Wall @FLAG_W_EXTRA@ -Wno-inline -Wno-unused-parameter\ |
sewardj | e95d94f | 2008-09-19 09:02:19 +0000 | [diff] [blame] | 194 | -g $(AM_FLAG_M3264_PRI) -DVGA_$(VG_ARCH_PRI)=1 -DVGO_$(VG_OS)=1 \ |
| 195 | -DVGP_$(VG_ARCH_PRI)_$(VG_OS)=1 |
bart | ad292b5 | 2008-05-01 14:11:45 +0000 | [diff] [blame] | 196 | AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ |
| 197 | -I$(top_builddir)/include -I$(top_srcdir)/VEX/pub |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 198 | AM_CXXFLAGS = $(AM_CFLAGS) |
| 199 | |
bart | cca440b | 2008-07-10 11:58:08 +0000 | [diff] [blame] | 200 | check_PROGRAMS = \ |
| 201 | atomic_var \ |
bart | c4a9e0f | 2008-11-17 17:38:28 +0000 | [diff] [blame^] | 202 | bar_bad \ |
| 203 | bar_trivial \ |
bart | ad292b5 | 2008-05-01 14:11:45 +0000 | [diff] [blame] | 204 | drd_bitmap_test \ |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 205 | fp_race \ |
| 206 | hg01_all_ok \ |
| 207 | hg02_deadlock \ |
| 208 | hg03_inherit \ |
| 209 | hg04_race \ |
| 210 | hg05_race2 \ |
| 211 | hg06_readshared \ |
bart | 1d4070d | 2008-05-14 12:22:15 +0000 | [diff] [blame] | 212 | hold_lock \ |
bart | 96f892f | 2008-03-09 16:16:06 +0000 | [diff] [blame] | 213 | linuxthreads_det \ |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 214 | matinv \ |
bart | 412efe5 | 2008-04-20 08:29:04 +0000 | [diff] [blame] | 215 | memory_allocation \ |
bart | e64f11d | 2008-10-05 17:37:06 +0000 | [diff] [blame] | 216 | monitor_example \ |
bart | 3d4c332 | 2008-05-10 08:48:14 +0000 | [diff] [blame] | 217 | new_delete \ |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 218 | pth_barrier \ |
bart | d9e39ec | 2008-06-28 15:03:26 +0000 | [diff] [blame] | 219 | pth_barrier_reinit \ |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 220 | pth_broadcast \ |
bart | 032424f | 2008-09-27 12:26:17 +0000 | [diff] [blame] | 221 | pth_cancel_locked \ |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 222 | pth_cond_race \ |
| 223 | pth_create_chain \ |
| 224 | pth_detached \ |
bart | 3b9f3bf | 2008-03-16 07:48:07 +0000 | [diff] [blame] | 225 | pth_detached_sem \ |
bart | 3bb1cec | 2008-06-28 16:01:43 +0000 | [diff] [blame] | 226 | pth_inconsistent_cond_wait \ |
bart | 19c4260 | 2008-07-07 08:04:08 +0000 | [diff] [blame] | 227 | pth_spinlock \ |
bart | 5357fcb | 2008-02-27 15:46:00 +0000 | [diff] [blame] | 228 | recursive_mutex \ |
bart | 5bd9f2d | 2008-03-03 20:31:58 +0000 | [diff] [blame] | 229 | rwlock_race \ |
bart | 178cc16 | 2008-05-10 12:52:02 +0000 | [diff] [blame] | 230 | rwlock_test \ |
bart | 5bd9f2d | 2008-03-03 20:31:58 +0000 | [diff] [blame] | 231 | sem_as_mutex \ |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 232 | sigalrm \ |
| 233 | tc01_simple_race \ |
| 234 | tc02_simple_tls \ |
| 235 | tc03_re_excl \ |
| 236 | tc04_free_lock \ |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 237 | tc05_simple_race \ |
| 238 | tc06_two_races \ |
bart | 8360df5 | 2008-03-07 17:34:22 +0000 | [diff] [blame] | 239 | tc07_hbl1 \ |
| 240 | tc08_hbl2 \ |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 241 | tc09_bad_unlock \ |
| 242 | tc10_rec_lock \ |
| 243 | tc11_XCHG \ |
| 244 | tc12_rwl_trivial \ |
| 245 | tc13_laog1 \ |
| 246 | tc15_laog_lockdel \ |
| 247 | tc16_byterace \ |
| 248 | tc17_sembar \ |
| 249 | tc18_semabuse \ |
| 250 | tc19_shadowmem \ |
| 251 | tc20_verifywrap \ |
| 252 | tc21_pthonce \ |
| 253 | tc22_exit_w_lock \ |
| 254 | tc23_bogus_condwait \ |
bart | 848fdf8 | 2008-03-02 19:03:19 +0000 | [diff] [blame] | 255 | tc24_nonzero_sem \ |
| 256 | trylock |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 257 | |
bart | 61e34a1 | 2008-11-10 18:54:46 +0000 | [diff] [blame] | 258 | if HAVE_BOOST_1_35 |
bart | c4a9e0f | 2008-11-17 17:38:28 +0000 | [diff] [blame^] | 259 | check_PROGRAMS += boost_thread |
bart | da7c098 | 2008-07-28 11:36:11 +0000 | [diff] [blame] | 260 | endif |
bart | 29cc9db | 2008-03-09 15:59:30 +0000 | [diff] [blame] | 261 | |
bart | 4c85399 | 2008-07-07 16:53:45 +0000 | [diff] [blame] | 262 | if HAVE_OPENMP |
bart | bbd3dcf | 2008-10-11 18:04:52 +0000 | [diff] [blame] | 263 | check_PROGRAMS += omp_matinv omp_prime omp_printf |
bart | 4c85399 | 2008-07-07 16:53:45 +0000 | [diff] [blame] | 264 | endif |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 265 | |
bart | 61e34a1 | 2008-11-10 18:54:46 +0000 | [diff] [blame] | 266 | if HAVE_QTCORE |
| 267 | check_PROGRAMS += qt4_mutex qt4_rwlock qt4_semaphore |
| 268 | endif |
| 269 | |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 270 | |
bart | cca440b | 2008-07-10 11:58:08 +0000 | [diff] [blame] | 271 | atomic_var_SOURCES = atomic_var.c |
| 272 | atomic_var_LDADD = -lpthread |
| 273 | |
bart | c4a9e0f | 2008-11-17 17:38:28 +0000 | [diff] [blame^] | 274 | bar_bad_SOURCES = ../../helgrind/tests/bar_bad.c |
| 275 | bar_bad_LDADD = -lpthread |
| 276 | |
| 277 | bar_trivial_SOURCES = ../../helgrind/tests/bar_trivial.c |
| 278 | bar_trivial_LDADD = -lpthread |
| 279 | |
bart | 34eff98 | 2008-05-01 13:50:20 +0000 | [diff] [blame] | 280 | drd_bitmap_test_SOURCES = drd_bitmap_test.c |
bart | dc1e91c | 2008-05-11 06:44:30 +0000 | [diff] [blame] | 281 | drd_bitmap_test_CFLAGS = $(AM_CFLAGS) -O2 \ |
bart | 8b4b2ee | 2008-06-11 13:17:56 +0000 | [diff] [blame] | 282 | -DENABLE_DRD_CONSISTENCY_CHECKS\ |
bart | dc1e91c | 2008-05-11 06:44:30 +0000 | [diff] [blame] | 283 | @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@ |
bart | 34eff98 | 2008-05-01 13:50:20 +0000 | [diff] [blame] | 284 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 285 | fp_race_SOURCES = fp_race.c |
| 286 | fp_race_LDADD = -lpthread |
sewardj | 347eeba | 2008-01-21 14:19:07 +0000 | [diff] [blame] | 287 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 288 | hg01_all_ok_SOURCES = ../../helgrind/tests/hg01_all_ok.c |
| 289 | hg01_all_ok_LDADD = -lpthread |
sewardj | 8564292 | 2008-01-14 11:54:56 +0000 | [diff] [blame] | 290 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 291 | hg02_deadlock_SOURCES = ../../helgrind/tests/hg02_deadlock.c |
| 292 | hg02_deadlock_LDADD = -lpthread |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 293 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 294 | hg03_inherit_SOURCES = ../../helgrind/tests/hg03_inherit.c |
| 295 | hg03_inherit_LDADD = -lpthread |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 296 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 297 | hg04_race_SOURCES = ../../helgrind/tests/hg04_race.c |
| 298 | hg04_race_LDADD = -lpthread |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 299 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 300 | hg05_race2_SOURCES = ../../helgrind/tests/hg05_race2.c |
| 301 | hg05_race2_LDADD = -lpthread |
sewardj | 8564292 | 2008-01-14 11:54:56 +0000 | [diff] [blame] | 302 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 303 | hg06_readshared_SOURCES = ../../helgrind/tests/hg06_readshared.c |
| 304 | hg06_readshared_LDADD = -lpthread |
sewardj | 8564292 | 2008-01-14 11:54:56 +0000 | [diff] [blame] | 305 | |
bart | 1d4070d | 2008-05-14 12:22:15 +0000 | [diff] [blame] | 306 | hold_lock_SOURCES = hold_lock.c |
| 307 | hold_lock_LDADD = -lpthread |
| 308 | |
bart | 96f892f | 2008-03-09 16:16:06 +0000 | [diff] [blame] | 309 | linuxthreads_det_SOURCES = linuxthreads_det.c |
| 310 | linuxthreads_det_LDADD = -lpthread |
| 311 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 312 | matinv_SOURCES = matinv.c |
| 313 | matinv_LDADD = -lpthread -lm |
sewardj | 8564292 | 2008-01-14 11:54:56 +0000 | [diff] [blame] | 314 | |
bart | 412efe5 | 2008-04-20 08:29:04 +0000 | [diff] [blame] | 315 | memory_allocation_SOURCES = memory_allocation.c |
bart | 3d4c332 | 2008-05-10 08:48:14 +0000 | [diff] [blame] | 316 | |
bart | e64f11d | 2008-10-05 17:37:06 +0000 | [diff] [blame] | 317 | monitor_example_SOURCES = monitor_example.cpp |
| 318 | monitor_example_LDADD = -lpthread |
| 319 | |
bart | 3d4c332 | 2008-05-10 08:48:14 +0000 | [diff] [blame] | 320 | new_delete_SOURCES = new_delete.cpp |
bart | 412efe5 | 2008-04-20 08:29:04 +0000 | [diff] [blame] | 321 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 322 | pth_barrier_SOURCES = pth_barrier.c |
| 323 | pth_barrier_LDADD = -lpthread |
| 324 | |
bart | d9e39ec | 2008-06-28 15:03:26 +0000 | [diff] [blame] | 325 | pth_barrier_reinit_SOURCES = pth_barrier_reinit.c |
| 326 | pth_barrier_reinit_LDADD = -lpthread |
| 327 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 328 | pth_broadcast_SOURCES = pth_broadcast.c |
| 329 | pth_broadcast_LDADD = -lpthread |
| 330 | |
bart | 032424f | 2008-09-27 12:26:17 +0000 | [diff] [blame] | 331 | pth_cancel_locked_SOURCES = pth_cancel_locked.c |
| 332 | pth_cancel_locked_LDADD = -lpthread |
| 333 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 334 | pth_cond_race_SOURCES = pth_cond_race.c |
| 335 | pth_cond_race_LDADD = -lpthread |
| 336 | |
| 337 | pth_create_chain_SOURCES = pth_create_chain.c |
| 338 | pth_create_chain_LDADD = -lpthread |
| 339 | |
| 340 | pth_detached_SOURCES = pth_detached.c |
| 341 | pth_detached_LDADD = -lpthread |
| 342 | |
bart | 3b9f3bf | 2008-03-16 07:48:07 +0000 | [diff] [blame] | 343 | pth_detached_sem_SOURCES = pth_detached_sem.c |
| 344 | pth_detached_sem_LDADD = -lpthread |
| 345 | |
bart | 3bb1cec | 2008-06-28 16:01:43 +0000 | [diff] [blame] | 346 | pth_inconsistent_cond_wait_SOURCES = pth_inconsistent_cond_wait.c |
| 347 | pth_inconsistent_cond_wait_LDADD = -lpthread |
| 348 | |
bart | 19c4260 | 2008-07-07 08:04:08 +0000 | [diff] [blame] | 349 | pth_spinlock_SOURCES = pth_spinlock.c |
| 350 | pth_spinlock_LDADD = -lpthread |
| 351 | |
bart | 5357fcb | 2008-02-27 15:46:00 +0000 | [diff] [blame] | 352 | recursive_mutex_SOURCES = recursive_mutex.c |
| 353 | recursive_mutex_LDADD = -lpthread |
| 354 | |
bart | 5bd9f2d | 2008-03-03 20:31:58 +0000 | [diff] [blame] | 355 | rwlock_race_SOURCES = rwlock_race.c |
| 356 | rwlock_race_LDADD = -lpthread |
| 357 | |
bart | 178cc16 | 2008-05-10 12:52:02 +0000 | [diff] [blame] | 358 | rwlock_test_SOURCES = rwlock_test.c |
| 359 | rwlock_test_LDADD = -lpthread |
| 360 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 361 | sem_as_mutex_SOURCES = sem_as_mutex.c |
| 362 | sem_as_mutex_LDADD = -lpthread |
| 363 | |
| 364 | sigalrm_SOURCES = sigalrm.c |
| 365 | sigalrm_LDADD = -lpthread |
| 366 | |
| 367 | tc01_simple_race_SOURCES = ../../helgrind/tests/tc01_simple_race.c |
| 368 | tc01_simple_race_LDADD = -lpthread |
| 369 | |
| 370 | tc02_simple_tls_SOURCES = ../../helgrind/tests/tc02_simple_tls.c |
| 371 | tc02_simple_tls_LDADD = -lpthread |
| 372 | |
| 373 | tc03_re_excl_SOURCES = ../../helgrind/tests/tc03_re_excl.c |
| 374 | tc03_re_excl_LDADD = -lpthread |
| 375 | |
| 376 | tc04_free_lock_SOURCES = ../../helgrind/tests/tc04_free_lock.c |
| 377 | tc04_free_lock_LDADD = -lpthread |
| 378 | |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 379 | tc05_simple_race_SOURCES = ../../helgrind/tests/tc05_simple_race.c |
| 380 | tc05_simple_race_LDADD = -lpthread |
| 381 | |
| 382 | tc06_two_races_SOURCES = ../../helgrind/tests/tc06_two_races.c |
| 383 | tc06_two_races_LDADD = -lpthread |
| 384 | |
bart | 8360df5 | 2008-03-07 17:34:22 +0000 | [diff] [blame] | 385 | tc07_hbl1_SOURCES = ../../helgrind/tests/tc07_hbl1.c |
| 386 | tc07_hbl1_LDADD = -lpthread |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 387 | |
bart | 8360df5 | 2008-03-07 17:34:22 +0000 | [diff] [blame] | 388 | tc08_hbl2_SOURCES = ../../helgrind/tests/tc08_hbl2.c |
| 389 | tc08_hbl2_LDADD = -lpthread |
bart | 5976fdd | 2008-02-26 16:06:33 +0000 | [diff] [blame] | 390 | |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 391 | tc09_bad_unlock_SOURCES = ../../helgrind/tests/tc09_bad_unlock.c |
| 392 | tc09_bad_unlock_LDADD = -lpthread |
| 393 | |
| 394 | tc10_rec_lock_SOURCES = ../../helgrind/tests/tc10_rec_lock.c |
| 395 | tc10_rec_lock_LDADD = -lpthread |
| 396 | |
| 397 | tc11_XCHG_SOURCES = ../../helgrind/tests/tc11_XCHG.c |
| 398 | tc11_XCHG_LDADD = -lpthread |
| 399 | |
| 400 | tc12_rwl_trivial_SOURCES = ../../helgrind/tests/tc12_rwl_trivial.c |
| 401 | tc12_rwl_trivial_LDADD = -lpthread |
| 402 | |
| 403 | tc13_laog1_SOURCES = ../../helgrind/tests/tc13_laog1.c |
| 404 | tc13_laog1_LDADD = -lpthread |
| 405 | |
| 406 | tc15_laog_lockdel_SOURCES = ../../helgrind/tests/tc15_laog_lockdel.c |
| 407 | tc15_laog_lockdel_LDADD = -lpthread |
| 408 | |
| 409 | tc16_byterace_SOURCES = ../../helgrind/tests/tc16_byterace.c |
| 410 | tc16_byterace_LDADD = -lpthread |
| 411 | |
| 412 | tc17_sembar_SOURCES = ../../helgrind/tests/tc17_sembar.c |
| 413 | tc17_sembar_LDADD = -lpthread |
| 414 | |
| 415 | tc18_semabuse_SOURCES = ../../helgrind/tests/tc18_semabuse.c |
| 416 | tc18_semabuse_LDADD = -lpthread |
| 417 | |
| 418 | tc19_shadowmem_SOURCES = ../../helgrind/tests/tc19_shadowmem.c |
| 419 | tc19_shadowmem_LDADD = -lpthread |
| 420 | |
| 421 | tc20_verifywrap_SOURCES = ../../helgrind/tests/tc20_verifywrap.c |
| 422 | tc20_verifywrap_LDADD = -lpthread |
| 423 | |
| 424 | tc21_pthonce_SOURCES = ../../helgrind/tests/tc21_pthonce.c |
| 425 | tc21_pthonce_LDADD = -lpthread |
| 426 | |
| 427 | tc22_exit_w_lock_SOURCES = ../../helgrind/tests/tc22_exit_w_lock.c |
| 428 | tc22_exit_w_lock_LDADD = -lpthread |
| 429 | |
| 430 | tc23_bogus_condwait_SOURCES = ../../helgrind/tests/tc23_bogus_condwait.c |
| 431 | tc23_bogus_condwait_LDADD = -lpthread |
| 432 | |
| 433 | tc24_nonzero_sem_SOURCES = ../../helgrind/tests/tc24_nonzero_sem.c |
| 434 | tc24_nonzero_sem_LDADD = -lpthread |
bart | 848fdf8 | 2008-03-02 19:03:19 +0000 | [diff] [blame] | 435 | |
| 436 | trylock_SOURCES = trylock.c |
| 437 | trylock_LDADD = -lpthread -lrt |
bart | 0aeb186 | 2008-03-10 19:26:42 +0000 | [diff] [blame] | 438 | |
bart | 61e34a1 | 2008-11-10 18:54:46 +0000 | [diff] [blame] | 439 | if HAVE_BOOST_1_35 |
bart | c4a9e0f | 2008-11-17 17:38:28 +0000 | [diff] [blame^] | 440 | boost_thread_SOURCES = boost_thread.cpp |
| 441 | boost_thread_CXXFLAGS = $(AM_CXXFLAGS) $(BOOST_CFLAGS) |
| 442 | boost_thread_LDADD = $(BOOST_LIBS) |
bart | 61e34a1 | 2008-11-10 18:54:46 +0000 | [diff] [blame] | 443 | endif |
| 444 | |
bart | 1f52b82 | 2008-03-12 17:11:48 +0000 | [diff] [blame] | 445 | if HAVE_OPENMP |
bart | 805043e | 2008-03-12 17:49:57 +0000 | [diff] [blame] | 446 | omp_matinv_SOURCES = omp_matinv.c |
bart | f3b7285 | 2008-06-26 07:31:15 +0000 | [diff] [blame] | 447 | omp_matinv_CFLAGS = $(AM_CFLAGS) -fopenmp |
bart | 805043e | 2008-03-12 17:49:57 +0000 | [diff] [blame] | 448 | omp_matinv_LDFLAGS = -fopenmp |
| 449 | omp_matinv_LDADD = -lm |
bart | 0aeb186 | 2008-03-10 19:26:42 +0000 | [diff] [blame] | 450 | |
| 451 | omp_prime_SOURCES = omp_prime.c |
bart | f3b7285 | 2008-06-26 07:31:15 +0000 | [diff] [blame] | 452 | omp_prime_CFLAGS = $(AM_CFLAGS) -fopenmp |
bart | baa3c2d | 2008-03-12 16:50:09 +0000 | [diff] [blame] | 453 | omp_prime_LDFLAGS = -fopenmp |
bart | 0aeb186 | 2008-03-10 19:26:42 +0000 | [diff] [blame] | 454 | omp_prime_LDADD = -lm |
bart | bbd3dcf | 2008-10-11 18:04:52 +0000 | [diff] [blame] | 455 | |
| 456 | omp_printf_SOURCES = omp_printf.c |
| 457 | omp_printf_CFLAGS = $(AM_CFLAGS) -fopenmp |
| 458 | omp_printf_LDFLAGS = -fopenmp |
| 459 | omp_printf_LDADD = -lm |
bart | 0aeb186 | 2008-03-10 19:26:42 +0000 | [diff] [blame] | 460 | endif |
bart | 61e34a1 | 2008-11-10 18:54:46 +0000 | [diff] [blame] | 461 | |
| 462 | if HAVE_QTCORE |
| 463 | qt4_mutex_SOURCES = qt4_mutex.cpp |
| 464 | qt4_mutex_CXXFLAGS = $(AM_CXXFLAGS) $(QTCORE_CFLAGS) |
| 465 | qt4_mutex_LDADD = $(QTCORE_LIBS) |
| 466 | |
| 467 | qt4_rwlock_SOURCES = qt4_rwlock.cpp |
| 468 | qt4_rwlock_CXXFLAGS = $(AM_CXXFLAGS) $(QTCORE_CFLAGS) |
| 469 | qt4_rwlock_LDADD = $(QTCORE_LIBS) |
| 470 | |
| 471 | qt4_semaphore_SOURCES = qt4_semaphore.cpp |
| 472 | qt4_semaphore_CXXFLAGS = $(AM_CXXFLAGS) $(QTCORE_CFLAGS) |
| 473 | qt4_semaphore_LDADD = $(QTCORE_LIBS) |
| 474 | endif |