njn | 5304457 | 2009-02-19 09:52:05 +0000 | [diff] [blame] | 1 | |
2 | include $(top_srcdir)/Makefile.tool-tests.am | ||||
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 3 | |
njn | 8b68b64 | 2009-06-24 00:37:09 +0000 | [diff] [blame] | 4 | dist_noinst_SCRIPTS = \ |
bart | 66f196d | 2009-08-15 10:50:35 +0000 | [diff] [blame] | 5 | compare_error_count_with \ |
bart | 33f6482 | 2011-10-22 16:29:11 +0000 | [diff] [blame] | 6 | filter_annotate_barrier_xml \ |
bart | b6230df | 2011-07-29 07:22:29 +0000 | [diff] [blame] | 7 | filter_error_count \ |
bart | 9e87dca | 2009-03-10 09:19:26 +0000 | [diff] [blame] | 8 | filter_error_summary \ |
9 | filter_stderr \ | ||||
10 | filter_stderr_and_thread_no \ | ||||
bart | e35e9d8 | 2011-07-13 16:46:18 +0000 | [diff] [blame] | 11 | filter_stderr_and_thread_no_and_offset \ |
bart | e708600 | 2011-10-11 19:08:39 +0000 | [diff] [blame] | 12 | filter_thread_no \ |
13 | filter_xml_and_thread_no \ | ||||
bart | 9e87dca | 2009-03-10 09:19:26 +0000 | [diff] [blame] | 14 | run_openmp_test \ |
njn | 26139fa | 2009-08-11 00:18:31 +0000 | [diff] [blame] | 15 | supported_libpthread \ |
16 | supported_sem_init | ||||
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 17 | |
njn | 8b68b64 | 2009-06-24 00:37:09 +0000 | [diff] [blame] | 18 | noinst_HEADERS = \ |
sewardj | 2840276 | 2010-07-15 15:09:38 +0000 | [diff] [blame] | 19 | tsan_thread_wrappers_pthread.h \ |
20 | unified_annotations.h | ||||
njn | 8b68b64 | 2009-06-24 00:37:09 +0000 | [diff] [blame] | 21 | |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 22 | EXTRA_DIST = \ |
bart | ea2a03c | 2010-03-21 17:24:47 +0000 | [diff] [blame] | 23 | annotate_barrier.stderr.exp \ |
24 | annotate_barrier.vgtest \ | ||||
bart | e708600 | 2011-10-11 19:08:39 +0000 | [diff] [blame] | 25 | annotate_barrier_xml.stderr.exp \ |
26 | annotate_barrier_xml.vgtest \ | ||||
bart | cf3eb1b | 2010-03-07 10:47:59 +0000 | [diff] [blame] | 27 | annotate_hb_err.stderr.exp \ |
28 | annotate_hb_err.vgtest \ | ||||
bart | b43825e | 2010-03-07 19:59:35 +0000 | [diff] [blame] | 29 | annotate_hb_race.stderr.exp \ |
30 | annotate_hb_race.vgtest \ | ||||
bart | f64a8aa | 2009-08-14 13:25:38 +0000 | [diff] [blame] | 31 | annotate_hbefore.stderr.exp \ |
32 | annotate_hbefore.vgtest \ | ||||
bart | d45d995 | 2009-05-31 18:53:54 +0000 | [diff] [blame] | 33 | annotate_order_1.stderr.exp \ |
34 | annotate_order_1.vgtest \ | ||||
bart | 3a6fff2 | 2009-08-14 06:45:16 +0000 | [diff] [blame] | 35 | annotate_order_2.stderr.exp \ |
36 | annotate_order_2.vgtest \ | ||||
37 | annotate_order_3.stderr.exp \ | ||||
38 | annotate_order_3.vgtest \ | ||||
bart | 66f196d | 2009-08-15 10:50:35 +0000 | [diff] [blame] | 39 | annotate_publish_hg.stderr.exp \ |
40 | annotate_publish_hg.vgtest \ | ||||
bart | cf3eb1b | 2010-03-07 10:47:59 +0000 | [diff] [blame] | 41 | annotate_smart_pointer.stderr.exp \ |
42 | annotate_smart_pointer.vgtest \ | ||||
bart | b6c51bf | 2011-07-13 10:43:49 +0000 | [diff] [blame] | 43 | annotate_smart_pointer2.stderr.exp \ |
44 | annotate_smart_pointer2.vgtest \ | ||||
bart | 2ffad9c | 2009-06-03 09:30:19 +0000 | [diff] [blame] | 45 | annotate_spinlock.stderr.exp \ |
46 | annotate_spinlock.vgtest \ | ||||
bart | d45d995 | 2009-05-31 18:53:54 +0000 | [diff] [blame] | 47 | annotate_rwlock.stderr.exp \ |
48 | annotate_rwlock.vgtest \ | ||||
bart | 66f196d | 2009-08-15 10:50:35 +0000 | [diff] [blame] | 49 | annotate_rwlock_hg.stderr.exp \ |
50 | annotate_rwlock_hg.vgtest \ | ||||
bart | d45d995 | 2009-05-31 18:53:54 +0000 | [diff] [blame] | 51 | annotate_ignore_read.stderr.exp \ |
52 | annotate_ignore_read.vgtest \ | ||||
bart | 5f3be75 | 2009-08-11 15:00:54 +0000 | [diff] [blame] | 53 | annotate_ignore_rw.stderr.exp \ |
54 | annotate_ignore_rw.vgtest \ | ||||
bart | a5225b8 | 2009-08-12 09:45:18 +0000 | [diff] [blame] | 55 | annotate_ignore_rw2.stderr.exp \ |
56 | annotate_ignore_rw2.vgtest \ | ||||
bart | e636136 | 2009-08-13 09:30:57 +0000 | [diff] [blame] | 57 | annotate_ignore_write.stderr.exp \ |
58 | annotate_ignore_write.vgtest \ | ||||
59 | annotate_ignore_write2.stderr.exp \ | ||||
60 | annotate_ignore_write2.vgtest \ | ||||
bart | ac0686d | 2011-12-14 07:30:05 +0000 | [diff] [blame] | 61 | annotate_trace_memory.stderr.exp-32bit \ |
62 | annotate_trace_memory.stderr.exp-64bit \ | ||||
bart | d45d995 | 2009-05-31 18:53:54 +0000 | [diff] [blame] | 63 | annotate_trace_memory.vgtest \ |
bart | ac0686d | 2011-12-14 07:30:05 +0000 | [diff] [blame] | 64 | annotate_trace_memory_xml.stderr.exp-32bit \ |
65 | annotate_trace_memory_xml.stderr.exp-64bit \ | ||||
bart | e708600 | 2011-10-11 19:08:39 +0000 | [diff] [blame] | 66 | annotate_trace_memory_xml.vgtest \ |
bart | ea2a03c | 2010-03-21 17:24:47 +0000 | [diff] [blame] | 67 | annotate_static.stderr.exp \ |
68 | annotate_static.vgtest \ | ||||
bart | 2ffad9c | 2009-06-03 09:30:19 +0000 | [diff] [blame] | 69 | atomic_var.stderr.exp \ |
bart | cca440b | 2008-07-10 11:58:08 +0000 | [diff] [blame] | 70 | atomic_var.vgtest \ |
bart | c4a9e0f | 2008-11-17 17:38:28 +0000 | [diff] [blame] | 71 | bar_bad.stderr.exp \ |
72 | bar_bad.vgtest \ | ||||
bart | e708600 | 2011-10-11 19:08:39 +0000 | [diff] [blame] | 73 | bar_bad_xml.stderr.exp \ |
74 | bar_bad_xml.vgtest \ | ||||
bart | c4a9e0f | 2008-11-17 17:38:28 +0000 | [diff] [blame] | 75 | bar_trivial.stderr.exp \ |
bart | 7f08c73 | 2009-05-16 06:24:40 +0000 | [diff] [blame] | 76 | bar_trivial.stdout.exp \ |
bart | c4a9e0f | 2008-11-17 17:38:28 +0000 | [diff] [blame] | 77 | bar_trivial.vgtest \ |
78 | boost_thread.stderr.exp \ | ||||
79 | boost_thread.vgtest \ | ||||
bart | 181b6bc | 2010-04-29 06:06:29 +0000 | [diff] [blame] | 80 | bug-235681.stderr.exp \ |
81 | bug-235681.vgtest \ | ||||
bart | 2ffad9c | 2009-06-03 09:30:19 +0000 | [diff] [blame] | 82 | circular_buffer.stderr.exp \ |
bart | 6fd7d74 | 2008-12-17 19:21:17 +0000 | [diff] [blame] | 83 | circular_buffer.vgtest \ |
bart | 6c7c76e | 2009-05-01 12:23:47 +0000 | [diff] [blame] | 84 | custom_alloc.stderr.exp \ |
bart | 7f08c73 | 2009-05-16 06:24:40 +0000 | [diff] [blame] | 85 | custom_alloc.vgtest \ |
bart | a3f7b50 | 2011-03-13 09:04:21 +0000 | [diff] [blame] | 86 | custom_alloc_fiw.stderr.exp \ |
87 | custom_alloc_fiw.vgtest \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 88 | fp_race.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 89 | fp_race.vgtest \ |
90 | fp_race2.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 91 | fp_race2.vgtest \ |
bart | e708600 | 2011-10-11 19:08:39 +0000 | [diff] [blame] | 92 | fp_race_xml.stderr.exp \ |
93 | fp_race_xml.vgtest \ | ||||
bart | f64ff03 | 2011-03-12 14:02:06 +0000 | [diff] [blame] | 94 | free_is_write.stderr.exp \ |
bart | 74a9bb0 | 2011-03-12 16:10:33 +0000 | [diff] [blame] | 95 | free_is_write.vgtest \ |
96 | free_is_write2.stderr.exp \ | ||||
97 | free_is_write2.vgtest \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 98 | hg01_all_ok.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 99 | hg01_all_ok.vgtest \ |
100 | hg02_deadlock.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 101 | hg02_deadlock.vgtest \ |
102 | hg03_inherit.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 103 | hg03_inherit.vgtest \ |
104 | hg04_race.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 105 | hg04_race.vgtest \ |
106 | hg05_race2.stderr.exp \ | ||||
bart | e65b4c6 | 2008-07-04 11:47:06 +0000 | [diff] [blame] | 107 | hg05_race2.stderr.exp-powerpc \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 108 | hg05_race2.vgtest \ |
109 | hg06_readshared.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 110 | hg06_readshared.vgtest \ |
bart | 1d4070d | 2008-05-14 12:22:15 +0000 | [diff] [blame] | 111 | hold_lock_1.stderr.exp \ |
112 | hold_lock_1.vgtest \ | ||||
113 | hold_lock_2.stderr.exp \ | ||||
114 | hold_lock_2.vgtest \ | ||||
bart | 96f892f | 2008-03-09 16:16:06 +0000 | [diff] [blame] | 115 | linuxthreads_det.stderr.exp \ |
116 | linuxthreads_det.stderr.exp-linuxthreads \ | ||||
117 | linuxthreads_det.stdout.exp \ | ||||
118 | linuxthreads_det.stdout.exp-linuxthreads \ | ||||
bart | e65b4c6 | 2008-07-04 11:47:06 +0000 | [diff] [blame] | 119 | linuxthreads_det.vgtest \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 120 | matinv.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 121 | matinv.stdout.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 122 | matinv.vgtest \ |
bart | 412efe5 | 2008-04-20 08:29:04 +0000 | [diff] [blame] | 123 | memory_allocation.stderr.exp \ |
124 | memory_allocation.vgtest \ | ||||
bart | e64f11d | 2008-10-05 17:37:06 +0000 | [diff] [blame] | 125 | monitor_example.stderr.exp \ |
126 | monitor_example.vgtest \ | ||||
bart | 3d4c332 | 2008-05-10 08:48:14 +0000 | [diff] [blame] | 127 | new_delete.stderr.exp \ |
128 | new_delete.vgtest \ | ||||
bart | 805043e | 2008-03-12 17:49:57 +0000 | [diff] [blame] | 129 | omp_matinv.stderr.exp \ |
130 | omp_matinv.stdout.exp \ | ||||
131 | omp_matinv.vgtest \ | ||||
bart | e8acf49 | 2008-03-12 17:27:20 +0000 | [diff] [blame] | 132 | omp_matinv_racy.stderr.exp \ |
133 | omp_matinv_racy.stdout.exp \ | ||||
134 | omp_matinv_racy.vgtest \ | ||||
bart | 805043e | 2008-03-12 17:49:57 +0000 | [diff] [blame] | 135 | omp_prime_racy.stderr.exp \ |
bart | 805043e | 2008-03-12 17:49:57 +0000 | [diff] [blame] | 136 | omp_prime_racy.vgtest \ |
bart | bbd3dcf | 2008-10-11 18:04:52 +0000 | [diff] [blame] | 137 | omp_printf.stderr.exp \ |
138 | omp_printf.vgtest \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 139 | pth_barrier.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 140 | pth_barrier.vgtest \ |
141 | pth_barrier2.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 142 | pth_barrier2.vgtest \ |
143 | pth_barrier3.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 144 | pth_barrier3.vgtest \ |
bart | b235a67 | 2009-02-22 09:26:22 +0000 | [diff] [blame] | 145 | pth_barrier_race.stderr.exp \ |
146 | pth_barrier_race.vgtest \ | ||||
bart | d9e39ec | 2008-06-28 15:03:26 +0000 | [diff] [blame] | 147 | pth_barrier_reinit.stderr.exp \ |
148 | pth_barrier_reinit.vgtest \ | ||||
bart | b56542a | 2011-07-29 12:32:53 +0000 | [diff] [blame] | 149 | pth_barrier_thr_cr.stderr.exp \ |
150 | pth_barrier_thr_cr.vgtest \ | ||||
bart | 47c7580 | 2011-07-30 09:29:20 +0000 | [diff] [blame] | 151 | pth_barrier_thr_cr.supp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 152 | pth_broadcast.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 153 | pth_broadcast.vgtest \ |
bart | 032424f | 2008-09-27 12:26:17 +0000 | [diff] [blame] | 154 | pth_cancel_locked.stderr.exp \ |
bart | dbaced0 | 2009-07-31 18:49:29 +0000 | [diff] [blame] | 155 | pth_cancel_locked.stderr.exp-darwin \ |
bart | 032424f | 2008-09-27 12:26:17 +0000 | [diff] [blame] | 156 | pth_cancel_locked.vgtest \ |
bart | 505a496 | 2009-07-04 12:20:04 +0000 | [diff] [blame] | 157 | pth_cleanup_handler.stderr.exp \ |
158 | pth_cleanup_handler.vgtest \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 159 | pth_cond_race.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 160 | pth_cond_race.vgtest \ |
161 | pth_cond_race2.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 162 | pth_cond_race2.vgtest \ |
bart | 46b5fce | 2008-06-28 13:01:30 +0000 | [diff] [blame] | 163 | pth_cond_race3.stderr.exp \ |
164 | pth_cond_race3.vgtest \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 165 | pth_create_chain.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 166 | pth_create_chain.vgtest \ |
bart | faec72f | 2009-04-26 07:14:15 +0000 | [diff] [blame] | 167 | pth_create_glibc_2_0.stderr.exp \ |
168 | pth_create_glibc_2_0.vgtest \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 169 | pth_detached.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 170 | pth_detached.stdout.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 171 | pth_detached.vgtest \ |
172 | pth_detached2.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 173 | pth_detached2.stdout.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 174 | pth_detached2.vgtest \ |
bart | 8ca1623 | 2011-03-09 18:27:25 +0000 | [diff] [blame] | 175 | pth_detached3.stderr.exp1 \ |
176 | pth_detached3.stderr.exp2 \ | ||||
bart | 3f5cc7e | 2011-03-09 17:50:34 +0000 | [diff] [blame] | 177 | pth_detached3.vgtest \ |
bart | 3b9f3bf | 2008-03-16 07:48:07 +0000 | [diff] [blame] | 178 | pth_detached_sem.stderr.exp \ |
bart | 178cc16 | 2008-05-10 12:52:02 +0000 | [diff] [blame] | 179 | pth_detached_sem.stdout.exp \ |
bart | 3b9f3bf | 2008-03-16 07:48:07 +0000 | [diff] [blame] | 180 | pth_detached_sem.vgtest \ |
bart | 5639ce1 | 2009-01-20 14:25:22 +0000 | [diff] [blame] | 181 | pth_inconsistent_cond_wait.stderr.exp1 \ |
182 | pth_inconsistent_cond_wait.stderr.exp2 \ | ||||
bart | e65b4c6 | 2008-07-04 11:47:06 +0000 | [diff] [blame] | 183 | pth_inconsistent_cond_wait.vgtest \ |
bart | 7f08c73 | 2009-05-16 06:24:40 +0000 | [diff] [blame] | 184 | pth_mutex_reinit.stderr.exp \ |
185 | pth_mutex_reinit.vgtest \ | ||||
bart | 7caef85 | 2009-07-26 15:27:27 +0000 | [diff] [blame] | 186 | pth_once.stderr.exp \ |
187 | pth_once.vgtest \ | ||||
njn | ff5bdd4 | 2009-05-18 23:24:26 +0000 | [diff] [blame] | 188 | pth_process_shared_mutex.stderr.exp \ |
bart | f1473ad | 2009-05-19 17:26:20 +0000 | [diff] [blame] | 189 | pth_process_shared_mutex.vgtest \ |
bart | 19c4260 | 2008-07-07 08:04:08 +0000 | [diff] [blame] | 190 | pth_spinlock.stderr.exp \ |
191 | pth_spinlock.vgtest \ | ||||
bart | 28d7738 | 2010-05-29 18:42:14 +0000 | [diff] [blame] | 192 | pth_uninitialized_cond.stderr.exp \ |
193 | pth_uninitialized_cond.vgtest \ | ||||
bart | 74a9bb0 | 2011-03-12 16:10:33 +0000 | [diff] [blame] | 194 | read_and_free_race.stderr.exp \ |
195 | read_and_free_race.vgtest \ | ||||
bart | 9e4efbf | 2009-07-22 19:04:23 +0000 | [diff] [blame] | 196 | recursive_mutex.stderr.exp-linux \ |
197 | recursive_mutex.stderr.exp-darwin \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 198 | recursive_mutex.vgtest \ |
199 | rwlock_race.stderr.exp \ | ||||
bart | b920b66 | 2008-04-09 17:44:28 +0000 | [diff] [blame] | 200 | rwlock_race.stderr.exp2 \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 201 | rwlock_race.vgtest \ |
bart | 178cc16 | 2008-05-10 12:52:02 +0000 | [diff] [blame] | 202 | rwlock_test.stderr.exp \ |
203 | rwlock_test.vgtest \ | ||||
bart | c844150 | 2009-07-27 16:03:51 +0000 | [diff] [blame] | 204 | rwlock_type_checking.stderr.exp \ |
205 | rwlock_type_checking.vgtest \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 206 | sem_as_mutex.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 207 | sem_as_mutex.vgtest \ |
208 | sem_as_mutex2.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 209 | sem_as_mutex2.vgtest \ |
bart | b20f69b | 2009-05-03 17:43:55 +0000 | [diff] [blame] | 210 | sem_as_mutex3.stderr.exp \ |
211 | sem_as_mutex3.vgtest \ | ||||
bart | 25f9f54 | 2009-07-23 16:31:39 +0000 | [diff] [blame] | 212 | sem_open.stderr.exp \ |
213 | sem_open.vgtest \ | ||||
214 | sem_open2.stderr.exp \ | ||||
215 | sem_open2.vgtest \ | ||||
216 | sem_open3.stderr.exp \ | ||||
217 | sem_open3.vgtest \ | ||||
bart | 0f83d48 | 2009-07-26 09:16:56 +0000 | [diff] [blame] | 218 | sem_open_traced.stderr.exp \ |
219 | sem_open_traced.vgtest \ | ||||
bart | eae1632 | 2012-08-24 17:57:44 +0000 | [diff] [blame] | 220 | sem_wait.stderr.exp \ |
221 | sem_wait.vgtest \ | ||||
bart | e8acf49 | 2008-03-12 17:27:20 +0000 | [diff] [blame] | 222 | sigalrm.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 223 | sigalrm.vgtest \ |
bart | 212534a | 2010-09-02 14:09:13 +0000 | [diff] [blame] | 224 | sigaltstack.stderr.exp \ |
225 | sigaltstack.vgtest \ | ||||
bart | f68af88 | 2011-12-10 19:42:05 +0000 | [diff] [blame] | 226 | std_thread.stderr.exp \ |
227 | std_thread.vgtest \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 228 | tc01_simple_race.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 229 | tc01_simple_race.vgtest \ |
230 | tc02_simple_tls.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 231 | tc02_simple_tls.vgtest \ |
232 | tc03_re_excl.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 233 | tc03_re_excl.vgtest \ |
bart | b4913ad | 2011-12-17 14:18:25 +0000 | [diff] [blame] | 234 | tc04_free_lock.stderr.exp-x86 \ |
235 | tc04_free_lock.stderr.exp-ppc \ | ||||
bart | 5c09e76 | 2012-06-30 18:00:08 +0000 | [diff] [blame] | 236 | tc04_free_lock.stderr.exp-s390 \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 237 | tc04_free_lock.vgtest \ |
238 | tc05_simple_race.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 239 | tc05_simple_race.vgtest \ |
240 | tc06_two_races.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 241 | tc06_two_races.vgtest \ |
bart | 8360df5 | 2008-03-07 17:34:22 +0000 | [diff] [blame] | 242 | tc07_hbl1.stderr.exp \ |
243 | tc07_hbl1.stdout.exp \ | ||||
244 | tc07_hbl1.vgtest \ | ||||
245 | tc08_hbl2.stderr.exp \ | ||||
bart | 43409c9 | 2008-03-07 19:29:03 +0000 | [diff] [blame] | 246 | tc08_hbl2.stdout.exp \ |
bart | 8360df5 | 2008-03-07 17:34:22 +0000 | [diff] [blame] | 247 | tc08_hbl2.vgtest \ |
bart | b4913ad | 2011-12-17 14:18:25 +0000 | [diff] [blame] | 248 | tc09_bad_unlock.stderr.exp-x86 \ |
249 | tc09_bad_unlock.stderr.exp-ppc \ | ||||
bart | df96197 | 2008-04-28 16:51:24 +0000 | [diff] [blame] | 250 | tc09_bad_unlock.stderr.exp-glibc2.8 \ |
bart | 5a18e7b | 2012-06-17 06:13:58 +0000 | [diff] [blame] | 251 | tc09_bad_unlock.stderr.exp-s390 \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 252 | tc09_bad_unlock.vgtest \ |
253 | tc10_rec_lock.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 254 | tc10_rec_lock.vgtest \ |
255 | tc11_XCHG.stderr.exp tc11_XCHG.stdout.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 256 | tc11_XCHG.vgtest \ |
257 | tc12_rwl_trivial.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 258 | tc12_rwl_trivial.vgtest \ |
259 | tc13_laog1.stderr.exp \ | ||||
260 | tc13_laog1.vgtest \ | ||||
261 | tc15_laog_lockdel.stderr.exp \ | ||||
262 | tc15_laog_lockdel.vgtest \ | ||||
263 | tc16_byterace.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 264 | tc16_byterace.vgtest \ |
265 | tc17_sembar.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 266 | tc17_sembar.vgtest \ |
267 | tc18_semabuse.stderr.exp \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 268 | tc18_semabuse.vgtest \ |
bart | f9d96e0 | 2009-05-03 17:54:47 +0000 | [diff] [blame] | 269 | tc19_shadowmem.stderr.exp-32bit \ |
270 | tc19_shadowmem.stderr.exp-64bit \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 271 | tc19_shadowmem.vgtest \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 272 | tc21_pthonce.stderr.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 273 | tc21_pthonce.stdout.exp \ |
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 274 | tc21_pthonce.vgtest \ |
275 | tc22_exit_w_lock.stderr.exp-32bit \ | ||||
276 | tc22_exit_w_lock.stderr.exp-64bit \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 277 | tc22_exit_w_lock.vgtest \ |
bart | b00ec8c | 2010-01-04 12:04:38 +0000 | [diff] [blame] | 278 | tc23_bogus_condwait.stderr.exp-linux-x86 \ |
279 | tc23_bogus_condwait.stderr.exp-linux-ppc \ | ||||
sewardj | 5730031 | 2011-03-07 16:42:02 +0000 | [diff] [blame] | 280 | tc23_bogus_condwait.stderr.exp-darwin-x86 \ |
281 | tc23_bogus_condwait.stderr.exp-darwin-amd64 \ | ||||
bart | 40605eb | 2008-03-04 18:37:20 +0000 | [diff] [blame] | 282 | tc23_bogus_condwait.vgtest \ |
283 | tc24_nonzero_sem.stderr.exp \ | ||||
284 | tc24_nonzero_sem.vgtest \ | ||||
bart | d45d995 | 2009-05-31 18:53:54 +0000 | [diff] [blame] | 285 | thread_name.stderr.exp \ |
286 | thread_name.vgtest \ | ||||
bart | e708600 | 2011-10-11 19:08:39 +0000 | [diff] [blame] | 287 | thread_name_xml.stderr.exp \ |
288 | thread_name_xml.vgtest \ | ||||
bart | 45bb8f6 | 2011-02-09 11:29:11 +0000 | [diff] [blame] | 289 | threaded-fork.stderr.exp \ |
290 | threaded-fork.vgtest \ | ||||
bart | e65b4c6 | 2008-07-04 11:47:06 +0000 | [diff] [blame] | 291 | trylock.stderr.exp \ |
bart | 8f822af | 2009-06-08 18:20:42 +0000 | [diff] [blame] | 292 | trylock.vgtest \ |
293 | unit_bitmap.stderr.exp \ | ||||
294 | unit_bitmap.vgtest \ | ||||
295 | unit_vc.stderr.exp \ | ||||
296 | unit_vc.vgtest | ||||
297 | |||||
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 298 | |
bart | cca440b | 2008-07-10 11:58:08 +0000 | [diff] [blame] | 299 | check_PROGRAMS = \ |
bart | cf3eb1b | 2010-03-07 10:47:59 +0000 | [diff] [blame] | 300 | annotate_hb_err \ |
bart | b43825e | 2010-03-07 19:59:35 +0000 | [diff] [blame] | 301 | annotate_hb_race \ |
bart | 5f3be75 | 2009-08-11 15:00:54 +0000 | [diff] [blame] | 302 | annotate_ignore_rw \ |
bart | e636136 | 2009-08-13 09:30:57 +0000 | [diff] [blame] | 303 | annotate_ignore_write \ |
bart | 66f196d | 2009-08-15 10:50:35 +0000 | [diff] [blame] | 304 | annotate_publish_hg \ |
bart | ea2a03c | 2010-03-21 17:24:47 +0000 | [diff] [blame] | 305 | annotate_static \ |
bart | 181b6bc | 2010-04-29 06:06:29 +0000 | [diff] [blame] | 306 | bug-235681 \ |
njn | 32f8d8c | 2009-07-15 02:31:45 +0000 | [diff] [blame] | 307 | custom_alloc \ |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 308 | fp_race \ |
bart | f64ff03 | 2011-03-12 14:02:06 +0000 | [diff] [blame] | 309 | free_is_write \ |
bart | 1d4070d | 2008-05-14 12:22:15 +0000 | [diff] [blame] | 310 | hold_lock \ |
bart | 96f892f | 2008-03-09 16:16:06 +0000 | [diff] [blame] | 311 | linuxthreads_det \ |
bart | 412efe5 | 2008-04-20 08:29:04 +0000 | [diff] [blame] | 312 | memory_allocation \ |
bart | e64f11d | 2008-10-05 17:37:06 +0000 | [diff] [blame] | 313 | monitor_example \ |
bart | 3d4c332 | 2008-05-10 08:48:14 +0000 | [diff] [blame] | 314 | new_delete \ |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 315 | pth_broadcast \ |
bart | 032424f | 2008-09-27 12:26:17 +0000 | [diff] [blame] | 316 | pth_cancel_locked \ |
bart | 505a496 | 2009-07-04 12:20:04 +0000 | [diff] [blame] | 317 | pth_cleanup_handler \ |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 318 | pth_cond_race \ |
319 | pth_create_chain \ | ||||
320 | pth_detached \ | ||||
bart | 3b9f3bf | 2008-03-16 07:48:07 +0000 | [diff] [blame] | 321 | pth_detached_sem \ |
bart | 3f5cc7e | 2011-03-09 17:50:34 +0000 | [diff] [blame] | 322 | pth_detached3 \ |
bart | 3bb1cec | 2008-06-28 16:01:43 +0000 | [diff] [blame] | 323 | pth_inconsistent_cond_wait \ |
bart | 7f08c73 | 2009-05-16 06:24:40 +0000 | [diff] [blame] | 324 | pth_mutex_reinit \ |
325 | pth_process_shared_mutex \ | ||||
bart | 28d7738 | 2010-05-29 18:42:14 +0000 | [diff] [blame] | 326 | pth_uninitialized_cond \ |
bart | 5357fcb | 2008-02-27 15:46:00 +0000 | [diff] [blame] | 327 | recursive_mutex \ |
njn | 6ab37c7 | 2009-02-23 01:33:40 +0000 | [diff] [blame] | 328 | rwlock_race \ |
329 | rwlock_test \ | ||||
bart | c844150 | 2009-07-27 16:03:51 +0000 | [diff] [blame] | 330 | rwlock_type_checking \ |
bart | 5bd9f2d | 2008-03-03 20:31:58 +0000 | [diff] [blame] | 331 | sem_as_mutex \ |
bart | 25f9f54 | 2009-07-23 16:31:39 +0000 | [diff] [blame] | 332 | sem_open \ |
bart | eae1632 | 2012-08-24 17:57:44 +0000 | [diff] [blame] | 333 | sem_wait \ |
bart | 60389da | 2008-02-25 19:58:25 +0000 | [diff] [blame] | 334 | sigalrm \ |
bart | d45d995 | 2009-05-31 18:53:54 +0000 | [diff] [blame] | 335 | thread_name \ |
bart | 45bb8f6 | 2011-02-09 11:29:11 +0000 | [diff] [blame] | 336 | threaded-fork \ |
bart | 8f822af | 2009-06-08 18:20:42 +0000 | [diff] [blame] | 337 | trylock \ |
338 | unit_bitmap \ | ||||
339 | unit_vc | ||||
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 340 | |
bart | 61e34a1 | 2008-11-10 18:54:46 +0000 | [diff] [blame] | 341 | if HAVE_BOOST_1_35 |
bart | c4a9e0f | 2008-11-17 17:38:28 +0000 | [diff] [blame] | 342 | check_PROGRAMS += boost_thread |
bart | da7c098 | 2008-07-28 11:36:11 +0000 | [diff] [blame] | 343 | endif |
bart | 29cc9db | 2008-03-09 15:59:30 +0000 | [diff] [blame] | 344 | |
bart | d45d995 | 2009-05-31 18:53:54 +0000 | [diff] [blame] | 345 | if HAVE_BUILTIN_ATOMIC |
bart | 21e49d7 | 2010-03-02 08:57:50 +0000 | [diff] [blame] | 346 | check_PROGRAMS += \ |
bart | ea2a03c | 2010-03-21 17:24:47 +0000 | [diff] [blame] | 347 | annotate_barrier \ |
bart | 21e49d7 | 2010-03-02 08:57:50 +0000 | [diff] [blame] | 348 | annotate_rwlock \ |
bart | 21e49d7 | 2010-03-02 08:57:50 +0000 | [diff] [blame] | 349 | atomic_var \ |
bart | e874042 | 2011-03-24 20:27:54 +0000 | [diff] [blame] | 350 | circular_buffer |
351 | endif | ||||
352 | |||||
bart | 1e856ea | 2011-12-17 12:53:23 +0000 | [diff] [blame] | 353 | if HAVE_BUILTIN_ATOMIC64 |
354 | check_PROGRAMS += \ | ||||
355 | annotate_trace_memory | ||||
356 | endif | ||||
357 | |||||
bart | e874042 | 2011-03-24 20:27:54 +0000 | [diff] [blame] | 358 | if HAVE_BUILTIN_ATOMIC_CXX |
359 | check_PROGRAMS += \ | ||||
360 | annotate_smart_pointer \ | ||||
bart | 21e49d7 | 2010-03-02 08:57:50 +0000 | [diff] [blame] | 361 | tsan_unittest |
bart | 0ae59c3 | 2009-06-03 06:25:04 +0000 | [diff] [blame] | 362 | endif |
bart | d45d995 | 2009-05-31 18:53:54 +0000 | [diff] [blame] | 363 | |
bart | f68af88 | 2011-12-10 19:42:05 +0000 | [diff] [blame] | 364 | if HAVE_SHARED_POINTER_ANNOTATION |
365 | check_PROGRAMS += \ | ||||
366 | std_thread | ||||
367 | endif | ||||
368 | |||||
bart | 4c85399 | 2008-07-07 16:53:45 +0000 | [diff] [blame] | 369 | if HAVE_OPENMP |
bart | bbd3dcf | 2008-10-11 18:04:52 +0000 | [diff] [blame] | 370 | check_PROGRAMS += omp_matinv omp_prime omp_printf |
bart | 4c85399 | 2008-07-07 16:53:45 +0000 | [diff] [blame] | 371 | endif |
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 372 | |
bart | 5a8c67f | 2009-01-20 14:02:22 +0000 | [diff] [blame] | 373 | if HAVE_PTHREAD_BARRIER |
bart | b56542a | 2011-07-29 12:32:53 +0000 | [diff] [blame] | 374 | check_PROGRAMS += matinv pth_barrier pth_barrier_race pth_barrier_reinit \ |
375 | pth_barrier_thr_cr | ||||
bart | 5a8c67f | 2009-01-20 14:02:22 +0000 | [diff] [blame] | 376 | endif |
377 | |||||
bart | faec72f | 2009-04-26 07:14:15 +0000 | [diff] [blame] | 378 | if HAVE_PTHREAD_CREATE_GLIBC_2_0 |
379 | check_PROGRAMS += pth_create_glibc_2_0 | ||||
380 | endif | ||||
381 | |||||
bart | 5a8c67f | 2009-01-20 14:02:22 +0000 | [diff] [blame] | 382 | if HAVE_PTHREAD_SPINLOCK |
383 | check_PROGRAMS += pth_spinlock | ||||
384 | endif | ||||
385 | |||||
sewardj | af44c82 | 2007-11-25 14:01:38 +0000 | [diff] [blame] | 386 | |
njn | 07891f9 | 2009-02-22 23:38:10 +0000 | [diff] [blame] | 387 | AM_CFLAGS += $(AM_FLAG_M3264_PRI) @FLAG_W_EXTRA@ -Wno-inline -Wno-unused-parameter |
388 | AM_CXXFLAGS += $(AM_FLAG_M3264_PRI) @FLAG_W_EXTRA@ -Wno-inline -Wno-unused-parameter | ||||
389 | |||||
njn | 5304457 | 2009-02-19 09:52:05 +0000 | [diff] [blame] | 390 | LDADD = -lpthread |
bart | cca440b | 2008-07-10 11:58:08 +0000 | [diff] [blame] | 391 | |
bart | 6fd7d74 | 2008-12-17 19:21:17 +0000 | [diff] [blame] | 392 | |
bart | e64f11d | 2008-10-05 17:37:06 +0000 | [diff] [blame] | 393 | monitor_example_SOURCES = monitor_example.cpp |
bart | 3d4c332 | 2008-05-10 08:48:14 +0000 | [diff] [blame] | 394 | new_delete_SOURCES = new_delete.cpp |
bart | 412efe5 | 2008-04-20 08:29:04 +0000 | [diff] [blame] | 395 | |
bart | 20009c1 | 2009-07-10 06:38:20 +0000 | [diff] [blame] | 396 | pth_cleanup_handler_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_EMPTY_BODY@ |
bart | 505a496 | 2009-07-04 12:20:04 +0000 | [diff] [blame] | 397 | |
bart | d45d995 | 2009-05-31 18:53:54 +0000 | [diff] [blame] | 398 | tsan_unittest_SOURCES = tsan_unittest.cpp |
bart | df5a1e2 | 2009-06-03 08:11:02 +0000 | [diff] [blame] | 399 | tsan_unittest_CXXFLAGS = $(AM_CXXFLAGS) \ |
bart | 962c72c | 2009-06-04 09:11:28 +0000 | [diff] [blame] | 400 | -DTHREAD_WRAPPERS='"tsan_thread_wrappers_pthread.h"' |
bart | d45d995 | 2009-05-31 18:53:54 +0000 | [diff] [blame] | 401 | |
bart | 8f822af | 2009-06-08 18:20:42 +0000 | [diff] [blame] | 402 | unit_bitmap_CFLAGS = $(AM_CFLAGS) -O2 \ |
403 | -DENABLE_DRD_CONSISTENCY_CHECKS \ | ||||
404 | @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@ | ||||
405 | unit_bitmap_LDADD = # nothing, i.e. not -lpthread | ||||
406 | |||||
407 | unit_vc_CFLAGS = $(AM_CFLAGS) -DENABLE_DRD_CONSISTENCY_CHECKS | ||||
408 | unit_vc_LDADD = # nothing, i.e. not -lpthread | ||||
409 | |||||
bart | 61e34a1 | 2008-11-10 18:54:46 +0000 | [diff] [blame] | 410 | if HAVE_BOOST_1_35 |
bart | c4a9e0f | 2008-11-17 17:38:28 +0000 | [diff] [blame] | 411 | boost_thread_SOURCES = boost_thread.cpp |
412 | boost_thread_CXXFLAGS = $(AM_CXXFLAGS) $(BOOST_CFLAGS) | ||||
413 | boost_thread_LDADD = $(BOOST_LIBS) | ||||
bart | 61e34a1 | 2008-11-10 18:54:46 +0000 | [diff] [blame] | 414 | endif |
415 | |||||
bart | 21e49d7 | 2010-03-02 08:57:50 +0000 | [diff] [blame] | 416 | if HAVE_BUILTIN_ATOMIC |
417 | annotate_smart_pointer_SOURCES = annotate_smart_pointer.cpp | ||||
418 | endif | ||||
419 | |||||
bart | ea2a03c | 2010-03-21 17:24:47 +0000 | [diff] [blame] | 420 | annotate_static_SOURCES = annotate_static.cpp |
421 | |||||
bart | 1f52b82 | 2008-03-12 17:11:48 +0000 | [diff] [blame] | 422 | if HAVE_OPENMP |
bart | f3b7285 | 2008-06-26 07:31:15 +0000 | [diff] [blame] | 423 | omp_matinv_CFLAGS = $(AM_CFLAGS) -fopenmp |
bart | 805043e | 2008-03-12 17:49:57 +0000 | [diff] [blame] | 424 | omp_matinv_LDFLAGS = -fopenmp |
njn | 5304457 | 2009-02-19 09:52:05 +0000 | [diff] [blame] | 425 | omp_matinv_LDADD = $(LDADD) -lm |
bart | 0aeb186 | 2008-03-10 19:26:42 +0000 | [diff] [blame] | 426 | |
bart | f3b7285 | 2008-06-26 07:31:15 +0000 | [diff] [blame] | 427 | omp_prime_CFLAGS = $(AM_CFLAGS) -fopenmp |
bart | baa3c2d | 2008-03-12 16:50:09 +0000 | [diff] [blame] | 428 | omp_prime_LDFLAGS = -fopenmp |
njn | 5304457 | 2009-02-19 09:52:05 +0000 | [diff] [blame] | 429 | omp_prime_LDADD = $(LDADD) -lm |
bart | bbd3dcf | 2008-10-11 18:04:52 +0000 | [diff] [blame] | 430 | |
bart | bbd3dcf | 2008-10-11 18:04:52 +0000 | [diff] [blame] | 431 | omp_printf_CFLAGS = $(AM_CFLAGS) -fopenmp |
432 | omp_printf_LDFLAGS = -fopenmp | ||||
njn | 5304457 | 2009-02-19 09:52:05 +0000 | [diff] [blame] | 433 | omp_printf_LDADD = $(LDADD) -lm |
bart | 0aeb186 | 2008-03-10 19:26:42 +0000 | [diff] [blame] | 434 | endif |
bart | 61e34a1 | 2008-11-10 18:54:46 +0000 | [diff] [blame] | 435 | |
bart | 5a8c67f | 2009-01-20 14:02:22 +0000 | [diff] [blame] | 436 | if HAVE_PTHREAD_BARRIER |
njn | 5304457 | 2009-02-19 09:52:05 +0000 | [diff] [blame] | 437 | matinv_LDADD = $(LDADD) -lm |
bart | 5a8c67f | 2009-01-20 14:02:22 +0000 | [diff] [blame] | 438 | endif |
bart | f68af88 | 2011-12-10 19:42:05 +0000 | [diff] [blame] | 439 | |
440 | std_thread_SOURCES = std_thread.cpp | ||||
441 | std_thread_CXXFLAGS = $(AM_CXXFLAGS) -std=c++0x | ||||
bart | eae1632 | 2012-08-24 17:57:44 +0000 | [diff] [blame] | 442 | |
443 | sem_wait_SOURCES = sem_wait.cpp |