sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 1 | |
njn | 5304457 | 2009-02-19 09:52:05 +0000 | [diff] [blame] | 2 | include $(top_srcdir)/Makefile.tool-tests.am |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 3 | |
sewardj | c7f1b00 | 2008-12-18 08:27:32 +0000 | [diff] [blame] | 4 | noinst_SCRIPTS = filter_stderr |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 5 | |
| 6 | EXTRA_DIST = $(noinst_SCRIPTS) \ |
sewardj | b9622d5 | 2008-11-14 19:43:44 +0000 | [diff] [blame] | 7 | bar_bad.vgtest bar_bad.stdout.exp \ |
| 8 | bar_bad.stderr.exp-glibc28-amd64 \ |
| 9 | bar_trivial.vgtest bar_trivial.stdout.exp \ |
| 10 | bar_trivial.stderr.exp-glibc28-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 11 | hg01_all_ok.vgtest hg01_all_ok.stdout.exp \ |
| 12 | hg01_all_ok.stderr.exp-glibc25-amd64 \ |
| 13 | hg02_deadlock.vgtest hg02_deadlock.stdout.exp \ |
| 14 | hg02_deadlock.stderr.exp-glibc25-amd64 \ |
| 15 | hg02_deadlock.stderr.exp-glibc25-x86 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 16 | hg02_deadlock.stderr.exp-glibc27-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 17 | hg03_inherit.vgtest hg03_inherit.stdout.exp \ |
| 18 | hg03_inherit.stderr.exp-glibc25-amd64 \ |
| 19 | hg03_inherit.stderr.exp-glibc25-x86 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 20 | hg03_inherit.stderr.exp-glibc27-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 21 | hg04_race.vgtest hg04_race.stdout.exp \ |
| 22 | hg04_race.stderr.exp-glibc25-amd64 \ |
| 23 | hg04_race.stderr.exp-glibc25-x86 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 24 | hg04_race.stderr.exp-glibc27-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 25 | hg05_race2.vgtest hg05_race2.stdout.exp \ |
| 26 | hg05_race2.stderr.exp-glibc25-amd64 \ |
| 27 | hg05_race2.stderr.exp-glibc25-x86 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 28 | hg05_race2.stderr.exp-glibc27-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 29 | hg06_readshared.vgtest hg06_readshared.stdout.exp \ |
| 30 | hg06_readshared.stderr.exp-glibc25-amd64 \ |
sewardj | b9622d5 | 2008-11-14 19:43:44 +0000 | [diff] [blame] | 31 | pth_barrier1.vgtest pth_barrier1.stdout.exp \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 32 | pth_barrier1.stderr.exp-glibc27-amd64 \ |
sewardj | b9622d5 | 2008-11-14 19:43:44 +0000 | [diff] [blame] | 33 | pth_barrier1.stderr.exp-glibc28-amd64 \ |
| 34 | pth_barrier2.vgtest pth_barrier2.stdout.exp \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 35 | pth_barrier2.stderr.exp-glibc27-amd64 \ |
sewardj | b9622d5 | 2008-11-14 19:43:44 +0000 | [diff] [blame] | 36 | pth_barrier2.stderr.exp-glibc28-amd64 \ |
| 37 | pth_barrier3.vgtest pth_barrier3.stdout.exp \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 38 | pth_barrier3.stderr.exp-glibc27-amd64 \ |
sewardj | b9622d5 | 2008-11-14 19:43:44 +0000 | [diff] [blame] | 39 | pth_barrier3.stderr.exp-glibc28-amd64 \ |
sewardj | a1bf24f | 2008-11-10 02:01:17 +0000 | [diff] [blame] | 40 | rwlock_race.vgtest rwlock_race.stdout.exp \ |
| 41 | rwlock_race.stderr.exp-glibc25-amd64 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 42 | rwlock_race.stderr.exp-glibc27-amd64 \ |
sewardj | a1bf24f | 2008-11-10 02:01:17 +0000 | [diff] [blame] | 43 | rwlock_test.vgtest rwlock_test.stdout.exp \ |
| 44 | rwlock_test.stderr.exp-glibc25-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 45 | tc01_simple_race.vgtest tc01_simple_race.stdout.exp \ |
| 46 | tc01_simple_race.stderr.exp-glibc25-amd64 \ |
| 47 | tc01_simple_race.stderr.exp-glibc25-x86 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 48 | tc01_simple_race.stderr.exp-glibc27-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 49 | tc02_simple_tls.vgtest tc02_simple_tls.stdout.exp \ |
| 50 | tc02_simple_tls.stderr.exp-glibc25-amd64 \ |
| 51 | tc03_re_excl.vgtest tc03_re_excl.stdout.exp \ |
| 52 | tc03_re_excl.stderr.exp-glibc25-amd64 \ |
| 53 | tc04_free_lock.vgtest tc04_free_lock.stdout.exp \ |
| 54 | tc04_free_lock.stderr.exp-glibc25-amd64 \ |
| 55 | tc05_simple_race.vgtest tc05_simple_race.stdout.exp \ |
| 56 | tc05_simple_race.stderr.exp-glibc25-amd64 \ |
| 57 | tc05_simple_race.stderr.exp-glibc25-x86 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 58 | tc05_simple_race.stderr.exp-glibc27-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 59 | tc06_two_races.vgtest tc06_two_races.stdout.exp \ |
| 60 | tc06_two_races.stderr.exp-glibc25-amd64 \ |
| 61 | tc06_two_races.stderr.exp-glibc25-x86 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 62 | tc06_two_races.stderr.exp-glibc27-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 63 | tc07_hbl1.vgtest tc07_hbl1.stdout.exp \ |
| 64 | tc07_hbl1.stderr.exp-glibc25-amd64 \ |
| 65 | tc08_hbl2.vgtest tc08_hbl2.stdout.exp \ |
| 66 | tc08_hbl2.stderr.exp-glibc25-amd64 \ |
| 67 | tc09_bad_unlock.vgtest tc09_bad_unlock.stdout.exp \ |
| 68 | tc09_bad_unlock.stderr.exp-glibc23-amd64 \ |
| 69 | tc09_bad_unlock.stderr.exp-glibc25-amd64 \ |
| 70 | tc09_bad_unlock.stderr.exp-glibc25-x86 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 71 | tc09_bad_unlock.stderr.exp-glibc27-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 72 | tc10_rec_lock.vgtest tc10_rec_lock.stdout.exp \ |
| 73 | tc10_rec_lock.stderr.exp-glibc25-amd64 \ |
| 74 | tc11_XCHG.vgtest tc11_XCHG.stdout.exp \ |
| 75 | tc11_XCHG.stderr.exp-glibc25-amd64 \ |
| 76 | tc12_rwl_trivial.vgtest tc12_rwl_trivial.stdout.exp \ |
| 77 | tc12_rwl_trivial.stderr.exp-glibc25-amd64 \ |
| 78 | tc13_laog1.vgtest tc13_laog1.stdout.exp \ |
| 79 | tc13_laog1.stderr.exp-glibc25-amd64 \ |
| 80 | tc14_laog_dinphils.vgtest tc14_laog_dinphils.stdout.exp \ |
| 81 | tc14_laog_dinphils.stderr.exp-glibc25-amd64 \ |
| 82 | tc14_laog_dinphils.stderr.exp-glibc25-x86 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 83 | tc14_laog_dinphils.stderr.exp-glibc27-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 84 | tc15_laog_lockdel.vgtest tc15_laog_lockdel.stdout.exp \ |
| 85 | tc15_laog_lockdel.stderr.exp-glibc25-amd64 \ |
| 86 | tc16_byterace.vgtest tc16_byterace.stdout.exp \ |
| 87 | tc16_byterace.stderr.exp-glibc25-amd64 \ |
| 88 | tc16_byterace.stderr.exp-glibc25-x86 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 89 | tc16_byterace.stderr.exp-glibc27-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 90 | tc17_sembar.vgtest tc17_sembar.stdout.exp \ |
| 91 | tc17_sembar.stderr.exp-glibc25-amd64 \ |
| 92 | tc17_sembar.stderr.exp-glibc25-x86 \ |
| 93 | tc18_semabuse.vgtest tc18_semabuse.stdout.exp \ |
| 94 | tc18_semabuse.stderr.exp-glibc25-amd64 \ |
| 95 | tc18_semabuse.stderr.exp-glibc25-x86 \ |
sewardj | b83162d | 2008-11-10 00:46:52 +0000 | [diff] [blame] | 96 | tc18_semabuse.stderr.exp-glibc28-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 97 | tc19_shadowmem.vgtest tc19_shadowmem.stdout.exp \ |
| 98 | tc19_shadowmem.stderr.exp-glibc25-amd64 \ |
| 99 | tc19_shadowmem.stderr.exp-glibc25-x86 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 100 | tc19_shadowmem.stderr.exp-glibc27-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 101 | tc20_verifywrap.vgtest tc20_verifywrap.stdout.exp \ |
| 102 | tc20_verifywrap.stderr.exp-glibc23-amd64 \ |
| 103 | tc20_verifywrap.stderr.exp-glibc25-amd64 \ |
| 104 | tc20_verifywrap.stderr.exp-glibc25-x86 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 105 | tc20_verifywrap.stderr.exp-glibc27-amd64 \ |
sewardj | 5ff16a6 | 2008-11-10 00:55:21 +0000 | [diff] [blame] | 106 | tc20_verifywrap.stderr.exp-glibc28-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 107 | tc21_pthonce.vgtest tc21_pthonce.stdout.exp \ |
sewardj | b8b79ad | 2008-03-03 01:35:41 +0000 | [diff] [blame] | 108 | tc21_pthonce.stderr.exp-glibc23-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 109 | tc21_pthonce.stderr.exp-glibc25-amd64 \ |
| 110 | tc21_pthonce.stderr.exp-glibc25-x86 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 111 | tc21_pthonce.stderr.exp-glibc27-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 112 | tc22_exit_w_lock.vgtest tc22_exit_w_lock.stdout.exp \ |
| 113 | tc22_exit_w_lock.stderr.exp-glibc25-amd64 \ |
| 114 | tc22_exit_w_lock.stderr.exp-glibc25-x86 \ |
sewardj | 2d7cdb2 | 2008-12-23 11:07:59 +0000 | [diff] [blame] | 115 | tc22_exit_w_lock.stderr.exp-glibc27-amd64 \ |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 116 | tc23_bogus_condwait.vgtest tc23_bogus_condwait.stdout.exp \ |
| 117 | tc23_bogus_condwait.stderr.exp-glibc25-amd64 \ |
sewardj | 006f29f | 2007-11-30 11:22:35 +0000 | [diff] [blame] | 118 | tc23_bogus_condwait.stderr.exp-glibc25-x86 \ |
| 119 | tc24_nonzero_sem.vgtest tc24_nonzero_sem.stdout.exp \ |
| 120 | tc24_nonzero_sem.stderr.exp-glibc25-amd64 |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 121 | |
| 122 | check_PROGRAMS = \ |
| 123 | hg01_all_ok \ |
| 124 | hg02_deadlock \ |
| 125 | hg03_inherit \ |
| 126 | hg04_race \ |
| 127 | hg05_race2 \ |
| 128 | hg06_readshared \ |
| 129 | tc01_simple_race \ |
| 130 | tc02_simple_tls \ |
| 131 | tc03_re_excl \ |
| 132 | tc04_free_lock \ |
| 133 | tc05_simple_race \ |
| 134 | tc06_two_races \ |
| 135 | tc07_hbl1 \ |
| 136 | tc08_hbl2 \ |
| 137 | tc09_bad_unlock \ |
| 138 | tc10_rec_lock \ |
| 139 | tc11_XCHG \ |
| 140 | tc12_rwl_trivial \ |
| 141 | tc13_laog1 \ |
| 142 | tc14_laog_dinphils \ |
| 143 | tc15_laog_lockdel \ |
| 144 | tc16_byterace \ |
| 145 | tc17_sembar \ |
| 146 | tc18_semabuse \ |
| 147 | tc19_shadowmem \ |
| 148 | tc20_verifywrap \ |
| 149 | tc21_pthonce \ |
| 150 | tc22_exit_w_lock \ |
sewardj | 006f29f | 2007-11-30 11:22:35 +0000 | [diff] [blame] | 151 | tc23_bogus_condwait \ |
| 152 | tc24_nonzero_sem |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 153 | |
njn | 49db39e | 2009-01-23 03:40:09 +0000 | [diff] [blame] | 154 | if HAVE_PTHREAD_BARRIER |
bart | b5d3abd | 2009-02-20 19:00:18 +0000 | [diff] [blame^] | 155 | check_PROGRAMS += bar_bad bar_trivial |
njn | 49db39e | 2009-01-23 03:40:09 +0000 | [diff] [blame] | 156 | endif |
| 157 | |
| 158 | |
njn | 5304457 | 2009-02-19 09:52:05 +0000 | [diff] [blame] | 159 | LDADD = -lpthread |
sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame] | 160 | |