2 # Copyright (C) 2011 Data Differential
5 # Use and distribution licensed under the BSD license. See
6 # the COPYING file in the parent directory for full text.
8 # included from Top Level Makefile.am
9 # All paths should be given relative to the root
11 noinst_HEADERS+= tests/basic.h
12 noinst_HEADERS+= tests/callbacks.h
13 noinst_HEADERS+= tests/debug.h
14 noinst_HEADERS+= tests/deprecated.h
15 noinst_HEADERS+= tests/error_conditions.h
16 noinst_HEADERS+= tests/exist.h
17 noinst_HEADERS+= tests/ketama.h
18 noinst_HEADERS+= tests/ketama_test_cases.h
19 noinst_HEADERS+= tests/ketama_test_cases_spy.h
20 noinst_HEADERS+= tests/libmemcached-1.0/all_tests.h
21 noinst_HEADERS+= tests/libmemcached-1.0/callback_counter.h
22 noinst_HEADERS+= tests/libmemcached-1.0/dump.h
23 noinst_HEADERS+= tests/libmemcached-1.0/fetch_all_results.h
24 noinst_HEADERS+= tests/libmemcached-1.0/generate.h
25 noinst_HEADERS+= tests/libmemcached-1.0/encoding_key.h
26 noinst_HEADERS+= tests/libmemcached-1.0/haldenbrand.h
27 noinst_HEADERS+= tests/libmemcached-1.0/mem_functions.h
28 noinst_HEADERS+= tests/libmemcached-1.0/memcached_get.h
29 noinst_HEADERS+= tests/libmemcached-1.0/setup_and_teardowns.h
30 noinst_HEADERS+= tests/libmemcached-1.0/stat.h
31 noinst_HEADERS+= tests/namespace.h
32 noinst_HEADERS+= tests/parser.h
33 noinst_HEADERS+= tests/pool.h
34 noinst_HEADERS+= tests/print.h
35 noinst_HEADERS+= tests/replication.h
36 noinst_HEADERS+= tests/server_add.h
37 noinst_HEADERS+= tests/string.h
38 noinst_HEADERS+= tests/touch.h
39 noinst_HEADERS+= tests/virtual_buckets.h
42 tests_libmemcached_1_0_internals_CXXFLAGS=
43 tests_libmemcached_1_0_internals_DEPENDENCIES=
44 tests_libmemcached_1_0_internals_LDADD=
45 tests_libmemcached_1_0_internals_SOURCES=
47 tests_libmemcached_1_0_internals_SOURCES+= tests/libmemcached-1.0/internals.cc
48 tests_libmemcached_1_0_internals_SOURCES+= tests/libmemcached-1.0/string.cc
49 tests_libmemcached_1_0_internals_CXXFLAGS+= $(AM_CXXFLAGS)
50 tests_libmemcached_1_0_internals_CXXFLAGS+= ${PTHREAD_CFLAGS}
51 tests_libmemcached_1_0_internals_DEPENDENCIES+= libmemcachedinternal/libmemcachedinternal.la
52 tests_libmemcached_1_0_internals_DEPENDENCIES+= libtest/libtest.la
53 tests_libmemcached_1_0_internals_DEPENDENCIES+= libmemcachedinternal/libmemcachedutilinternal.la
54 tests_libmemcached_1_0_internals_LDADD+= libmemcachedinternal/libmemcachedinternal.la
55 tests_libmemcached_1_0_internals_LDADD+= ${PTHREAD_LIBS}
56 tests_libmemcached_1_0_internals_LDADD+= libmemcachedinternal/libmemcachedutilinternal.la
57 tests_libmemcached_1_0_internals_LDADD+= libtest/libtest.la
58 check_PROGRAMS+= tests/libmemcached-1.0/internals
59 noinst_PROGRAMS+= tests/libmemcached-1.0/internals
62 tests_libmemcached_1_0_testapp_CXXFLAGS=
63 tests_libmemcached_1_0_testapp_CFLAGS=
64 tests_libmemcached_1_0_testapp_SOURCES=
65 tests_libmemcached_1_0_testapp_DEPENDENCIES=
66 tests_libmemcached_1_0_testapp_LDADD=
68 tests_libmemcached_1_0_testapp_CXXFLAGS+= $(AM_CXXFLAGS)
69 tests_libmemcached_1_0_testapp_CXXFLAGS+= ${PTHREAD_CFLAGS}
70 tests_libmemcached_1_0_testapp_CFLAGS+= $(AM_CFLAGS)
71 tests_libmemcached_1_0_testapp_CFLAGS+= $(NO_CONVERSION)
72 tests_libmemcached_1_0_testapp_CFLAGS+= $(NO_STRICT_ALIASING)
73 tests_libmemcached_1_0_testapp_SOURCES+= clients/generator.cc clients/execute.cc
74 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/all_tests.cc
75 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/basic.cc
76 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/callback_counter.cc
77 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/callbacks.cc
78 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/debug.cc
79 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/deprecated.cc
80 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/dump.cc
81 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/encoding_key.cc
82 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/error_conditions.cc
83 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/exist.cc
84 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/fetch_all_results.cc
85 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/generate.cc
86 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/haldenbrand.cc
87 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/ketama.cc
88 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/mem_functions.cc
89 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/memcached_get.cc
90 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/namespace.cc
91 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/parser.cc
92 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/pool.cc
93 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/print.cc
94 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/replication.cc
95 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/server_add.cc
96 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/setup_and_teardowns.cc
97 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/stat.cc
98 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/touch.cc
99 tests_libmemcached_1_0_testapp_SOURCES+= tests/libmemcached-1.0/virtual_buckets.cc
100 tests_libmemcached_1_0_testapp_DEPENDENCIES+= libmemcached/libmemcached.la
101 tests_libmemcached_1_0_testapp_DEPENDENCIES+= libtest/libtest.la
102 tests_libmemcached_1_0_testapp_DEPENDENCIES+= libhashkit/libhashkit.la
103 tests_libmemcached_1_0_testapp_DEPENDENCIES+= libmemcached/libmemcachedutil.la
105 tests_libmemcached_1_0_testapp_LDADD+= $(LIBUUID_LDFLAGS)
106 tests_libmemcached_1_0_testapp_LDADD+= ${PTHREAD_LIBS}
107 tests_libmemcached_1_0_testapp_LDADD+= libmemcached/libmemcached.la
108 tests_libmemcached_1_0_testapp_LDADD+= libmemcached/libmemcachedutil.la
109 tests_libmemcached_1_0_testapp_LDADD+= libtest/libtest.la
110 tests_libmemcached_1_0_testapp_LDADD+= libhashkit/libhashkit.la
112 check_PROGRAMS+= tests/libmemcached-1.0/testapp
113 noinst_PROGRAMS+= tests/libmemcached-1.0/testapp
115 tests_libmemcached_1_0_testsocket_CXXFLAGS=
116 tests_libmemcached_1_0_testsocket_CFLAGS=
117 tests_libmemcached_1_0_testsocket_SOURCES=
118 tests_libmemcached_1_0_testsocket_DEPENDENCIES=
119 tests_libmemcached_1_0_testsocket_LDADD=
121 tests_libmemcached_1_0_testsocket_CXXFLAGS+= ${PTHREAD_CFLAGS}
122 tests_libmemcached_1_0_testsocket_CXXFLAGS+= $(AM_CXXFLAGS)
123 tests_libmemcached_1_0_testsocket_CFLAGS+= $(AM_CFLAGS)
124 tests_libmemcached_1_0_testsocket_CFLAGS+= $(NO_CONVERSION)
125 tests_libmemcached_1_0_testsocket_CFLAGS+= $(NO_STRICT_ALIASING)
127 tests_libmemcached_1_0_testsocket_SOURCES+= clients/execute.cc
128 tests_libmemcached_1_0_testsocket_SOURCES+= clients/generator.cc
129 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/all_tests_socket.cc
130 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/basic.cc
131 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/callback_counter.cc
132 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/callbacks.cc
133 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/debug.cc
134 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/deprecated.cc
135 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/dump.cc
136 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/encoding_key.cc
137 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/error_conditions.cc
138 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/exist.cc
139 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/fetch_all_results.cc
140 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/generate.cc
141 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/haldenbrand.cc
142 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/ketama.cc
143 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/mem_functions.cc
144 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/memcached_get.cc
145 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/namespace.cc
146 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/parser.cc
147 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/pool.cc
148 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/print.cc
149 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/replication.cc
150 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/server_add.cc
151 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/setup_and_teardowns.cc
152 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/stat.cc
153 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/touch.cc
154 tests_libmemcached_1_0_testsocket_SOURCES+= tests/libmemcached-1.0/virtual_buckets.cc
156 tests_libmemcached_1_0_testsocket_DEPENDENCIES+= libmemcached/libmemcached.la
157 tests_libmemcached_1_0_testsocket_DEPENDENCIES+= libtest/libtest.la
158 tests_libmemcached_1_0_testsocket_DEPENDENCIES+= libhashkit/libhashkit.la
159 tests_libmemcached_1_0_testsocket_DEPENDENCIES+= libmemcached/libmemcachedutil.la
161 tests_libmemcached_1_0_testsocket_LDADD+= $(LIBUUID_LDFLAGS)
162 tests_libmemcached_1_0_testsocket_LDADD+= ${PTHREAD_LIBS}
163 tests_libmemcached_1_0_testsocket_LDADD+= libmemcached/libmemcached.la
164 tests_libmemcached_1_0_testsocket_LDADD+= libmemcached/libmemcachedutil.la
165 tests_libmemcached_1_0_testsocket_LDADD+= libtest/libtest.la
166 tests_libmemcached_1_0_testsocket_LDADD+= libhashkit/libhashkit.la
168 check_PROGRAMS+= tests/libmemcached-1.0/testsocket
169 noinst_PROGRAMS+= tests/libmemcached-1.0/testsocket
171 tests_libmemcached_1_0_sasl_SOURCES=
172 tests_libmemcached_1_0_sasl_DEPENDENCIES=
173 tests_libmemcached_1_0_sasl_LDADD=
174 tests_libmemcached_1_0_sasl_CXXFLAGS=
175 tests_libmemcached_1_0_sasl_CFLAGS=
177 tests_libmemcached_1_0_sasl_CXXFLAGS+= $(AM_CXXFLAGS)
178 tests_libmemcached_1_0_sasl_CXXFLAGS+= ${PTHREAD_CFLAGS}
179 tests_libmemcached_1_0_sasl_CFLAGS+= $(AM_CFLAGS)
180 tests_libmemcached_1_0_sasl_CFLAGS+= $(NO_CONVERSION)
181 tests_libmemcached_1_0_sasl_CFLAGS+= $(NO_STRICT_ALIASING)
182 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/basic.cc
183 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/debug.cc
184 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/deprecated.cc
185 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/error_conditions.cc
186 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/ketama.cc
187 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/namespace.cc
188 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/parser.cc
189 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/pool.cc
190 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/print.cc
191 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/replication.cc
192 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/sasl.cc
193 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/virtual_buckets.cc
194 tests_libmemcached_1_0_sasl_SOURCES+= clients/execute.cc
195 tests_libmemcached_1_0_sasl_SOURCES+= clients/generator.cc
196 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/callback_counter.cc
197 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/fetch_all_results.cc
198 tests_libmemcached_1_0_sasl_SOURCES+= tests/libmemcached-1.0/generate.cc
200 tests_libmemcached_1_0_sasl_DEPENDENCIES+= libmemcached/libmemcached.la
201 tests_libmemcached_1_0_sasl_DEPENDENCIES+= libtest/libtest.la
203 tests_libmemcached_1_0_sasl_LDADD+= ${PTHREAD_LIBS}
204 tests_libmemcached_1_0_sasl_LDADD+= libmemcached/libmemcached.la
205 tests_libmemcached_1_0_sasl_LDADD+= libmemcached/libmemcachedutil.la
206 tests_libmemcached_1_0_sasl_LDADD+= libtest/libtest.la
207 tests_libmemcached_1_0_sasl_LDADD+= libhashkit/libhashkit.la
209 check_PROGRAMS+= tests/libmemcached-1.0/sasl
210 noinst_PROGRAMS+= tests/libmemcached-1.0/sasl
212 tests_atomsmasher_SOURCES=
213 tests_atomsmasher_DEPENDENCIES=
214 tests_atomsmasher_LDADD=
216 tests_atomsmasher_DEPENDENCIES+= $(TESTS_LDADDS)
217 tests_atomsmasher_LDADD+= $(tests_atomsmasher_DEPENDENCIES)
218 tests_atomsmasher_SOURCES+= clients/execute.cc
219 tests_atomsmasher_SOURCES+= clients/generator.cc
220 tests_atomsmasher_SOURCES+= tests/libmemcached-1.0/atomsmasher.cc
221 tests_atomsmasher_SOURCES+= tests/libmemcached-1.0/callback_counter.cc
222 tests_atomsmasher_SOURCES+= tests/libmemcached-1.0/debug.cc
223 tests_atomsmasher_SOURCES+= tests/libmemcached-1.0/fetch_all_results.cc
224 tests_atomsmasher_SOURCES+= tests/libmemcached-1.0/generate.cc
225 tests_atomsmasher_SOURCES+= tests/libmemcached-1.0/print.cc
226 noinst_PROGRAMS+= tests/atomsmasher
228 tests_testudp_CFLAGS=
229 tests_testudp_SOURCES=
230 tests_testudp_DEPENDENCIES=
233 tests_testudp_CFLAGS+= $(AM_CFLAGS) $(NO_CONVERSION) $(NO_STRICT_ALIASING)
234 tests_testudp_SOURCES+= clients/execute.cc
235 tests_testudp_SOURCES+= clients/generator.cc
236 tests_testudp_SOURCES+= tests/libmemcached-1.0/callback_counter.cc
237 tests_testudp_SOURCES+= tests/libmemcached-1.0/fetch_all_results.cc
238 tests_testudp_SOURCES+= tests/libmemcached-1.0/generate.cc
239 tests_testudp_SOURCES+= tests/libmemcached-1.0/print.cc
240 tests_testudp_SOURCES+= tests/mem_udp.cc
241 tests_testudp_DEPENDENCIES+= $(TESTS_LDADDS)
242 tests_testudp_LDADD+= $(tests_testudp_DEPENDENCIES)
243 check_PROGRAMS+= tests/testudp
244 noinst_PROGRAMS+= tests/testudp
246 test-udp: tests/testudp
249 tests_testplus_SOURCES=
250 tests_testplus_CXXFLAGS=
251 tests_testplus_DEPENDENCIES=
252 tests_testplus_LDADD=
254 tests_testplus_SOURCES+= clients/execute.cc
255 tests_testplus_SOURCES+= clients/generator.cc
256 tests_testplus_SOURCES+= tests/libmemcached-1.0/callback_counter.cc
257 tests_testplus_SOURCES+= tests/libmemcached-1.0/fetch_all_results.cc
258 tests_testplus_SOURCES+= tests/libmemcached-1.0/generate.cc
259 tests_testplus_SOURCES+= tests/libmemcached-1.0/plus.cpp
260 tests_testplus_SOURCES+= tests/libmemcached-1.0/print.cc
262 tests_testplus_CXXFLAGS+= $(AM_CXXFLAGS) $(NO_EFF_CXX)
263 tests_testplus_DEPENDENCIES+= $(TESTS_LDADDS)
264 tests_testplus_LDADD+= $(tests_testplus_DEPENDENCIES)
265 check_PROGRAMS+= tests/testplus
266 noinst_PROGRAMS+= tests/testplus