Merge lp:~brianaker/gearmand/prove-patch1 into lp:gearmand
- prove-patch1
- Merge into 1.2
Proposed by
Brian Aker
Status: | Merged |
---|---|
Merged at revision: | 802 |
Proposed branch: | lp:~brianaker/gearmand/prove-patch1 |
Merge into: | lp:gearmand |
Diff against target: |
1451 lines (+631/-625) 16 files modified
.bzrignore (+30/-25) libtest/include.am (+44/-43) tests/ephemeral.am (+19/-19) tests/hostile.am (+58/-58) tests/httpd.am (+21/-21) tests/include.am (+158/-158) tests/libdrizzle.am (+29/-29) tests/libgearman-1.0/include.am (+121/-121) tests/libmemcached.am (+21/-21) tests/mysql.am (+20/-20) tests/postgres.am (+20/-20) tests/protocol.mk (+17/-17) tests/redis.am (+16/-16) tests/sqlite.am (+23/-23) tests/stress.am (+20/-20) tests/tokyocabinet.am (+14/-14) |
To merge this branch: | bzr merge lp:~brianaker/gearmand/prove-patch1 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tangent Trunk | Pending | ||
Review via email: mp+172726@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file '.bzrignore' |
2 | --- .bzrignore 2013-06-30 02:48:43 +0000 |
3 | +++ .bzrignore 2013-07-03 03:55:32 +0000 |
4 | @@ -57,8 +57,6 @@ |
5 | man/.doctrees/ |
6 | gearmand/gearmand |
7 | gearmand/hostile_gearmand |
8 | -libgearman-1.0/t/c_test |
9 | -libgearman-1.0/t/cc_test |
10 | libhostile/t/accept |
11 | libhostile/t/close |
12 | libhostile/t/hostile_accept |
13 | @@ -70,30 +68,7 @@ |
14 | libtest/abort |
15 | libtest/backtrace |
16 | libtest/core-count |
17 | -libtest/skiptest |
18 | -libtest/unittest |
19 | libtest/wait |
20 | -tests/blobslap_client |
21 | -tests/c_test |
22 | -tests/cli |
23 | -tests/cpp_test |
24 | -tests/cycle |
25 | -tests/drizzle_test |
26 | -tests/ephemeral_test |
27 | -tests/gearmand |
28 | -tests/hostile_gearmand |
29 | -tests/hostile_libgearman |
30 | -tests/httpd_test |
31 | -tests/memcached_test |
32 | -tests/mysql_test |
33 | -tests/postgres_test |
34 | -tests/redis_test |
35 | -tests/result |
36 | -tests/round_robin_test |
37 | -tests/sqlite_test |
38 | -tests/stress |
39 | -tests/tokyocabinet_test |
40 | -tests/vector |
41 | tests/libgearman-1.0/1077917 |
42 | tests/libgearman-1.0/client_test |
43 | tests/libgearman-1.0/internals_test |
44 | @@ -120,3 +95,33 @@ |
45 | libgearman/command.hpp |
46 | libgearman/error_code.hpp |
47 | TAGS |
48 | +t/1077917 |
49 | +t/blobslap_client |
50 | +t/c |
51 | +t/cli |
52 | +t/client |
53 | +t/cpp |
54 | +t/cycle |
55 | +t/drizzle |
56 | +t/ephemeral |
57 | +t/gearmand |
58 | +t/hostile_gearmand |
59 | +t/hostile_libgearman |
60 | +t/httpd |
61 | +t/internals |
62 | +t/libgearman-1.0 |
63 | +t/memcached |
64 | +t/multi_client |
65 | +t/mysql |
66 | +t/postgres |
67 | +t/protocol |
68 | +t/redis |
69 | +t/result |
70 | +t/round_robin |
71 | +t/skip |
72 | +t/sqlite |
73 | +t/stress |
74 | +t/tokyocabinet |
75 | +t/unittest |
76 | +t/vector |
77 | +t/worker |
78 | |
79 | === modified file 'libtest/include.am' |
80 | --- libtest/include.am 2013-05-30 17:08:58 +0000 |
81 | +++ libtest/include.am 2013-07-03 03:55:32 +0000 |
82 | @@ -113,6 +113,7 @@ |
83 | |
84 | libtest_libtest_la_CXXFLAGS= |
85 | EXTRA_libtest_libtest_la_DEPENDENCIES= |
86 | +libtest_libtest_la_LDFLAGS= |
87 | libtest_libtest_la_LIBADD= |
88 | libtest_libtest_la_SOURCES= |
89 | libtest_libtest_la_CXXFLAGS+= @LIBMEMCACHED_CFLAGS@ |
90 | @@ -165,11 +166,6 @@ |
91 | EXTRA_libtest_libtest_la_DEPENDENCIES+= libtest/abort |
92 | EXTRA_libtest_libtest_la_DEPENDENCIES+= libtest/wait |
93 | |
94 | -# Declare unittest so that we can append to it |
95 | -libtest_unittest_CXXFLAGS= |
96 | -libtest_unittest_LDADD= |
97 | -libtest_libtest_la_LDFLAGS= |
98 | - |
99 | # We are either building in tree, or with |
100 | libtest_libtest_la_SOURCES+= libtest/memcached.cc |
101 | |
102 | @@ -190,45 +186,50 @@ |
103 | $(TMP_DIR): |
104 | @$(mkdir_p) $(TMP_DIR) |
105 | |
106 | -libtest_unittest_LDADD+= libtest/libtest.la |
107 | -libtest_unittest_SOURCES= libtest/unittest.cc |
108 | -check_PROGRAMS+= libtest/unittest |
109 | -noinst_PROGRAMS+= libtest/unittest |
110 | -test-unittest: libtest/unittest |
111 | - @libtest/unittest |
112 | - |
113 | -valgrind-unittest: libtest/unittest |
114 | - @$(VALGRIND_COMMAND) libtest/unittest |
115 | - |
116 | -gdb-unittest: libtest/unittest |
117 | - @$(GDB_COMMAND) libtest/unittest |
118 | - |
119 | -helgrind-unittest: libtest/unittest |
120 | - @$(HELGRIND_COMMAND) libtest/unittest |
121 | - |
122 | -drd-unittest: libtest/unittest |
123 | - @$(DRD_COMMAND) libtest/unittest |
124 | - |
125 | -sgcheck-unittest: libtest/unittest |
126 | +# Declare unittest so that we can append to it |
127 | +t_unittest_CXXFLAGS= |
128 | +t_unittest_LDADD= |
129 | +t_unittest_SOURCES= |
130 | + |
131 | +t_unittest_LDADD+= libtest/libtest.la |
132 | +t_unittest_SOURCES+= libtest/unittest.cc |
133 | +check_PROGRAMS+= t/unittest |
134 | +noinst_PROGRAMS+= t/unittest |
135 | +test-unittest: t/unittest |
136 | + @t/unittest |
137 | + |
138 | +valgrind-unittest: t/unittest |
139 | + @$(VALGRIND_COMMAND) t/unittest |
140 | + |
141 | +gdb-unittest: t/unittest |
142 | + @$(GDB_COMMAND) t/unittest |
143 | + |
144 | +helgrind-unittest: t/unittest |
145 | + @$(HELGRIND_COMMAND) t/unittest |
146 | + |
147 | +drd-unittest: t/unittest |
148 | + @$(DRD_COMMAND) t/unittest |
149 | + |
150 | +sgcheck-unittest: t/unittest |
151 | echo $(SGCHECK_COMMAND) |
152 | - @$(SGCHECK_COMMAND) libtest/unittest |
153 | - |
154 | -libtest_skiptest_LDADD= libtest/libtest.la |
155 | -libtest_skiptest_SOURCES= libtest/skiptest.cc |
156 | -check_PROGRAMS+= libtest/skiptest |
157 | -noinst_PROGRAMS+= libtest/skiptest |
158 | - |
159 | -test-skiptest: libtest/skiptest |
160 | - @libtest/skiptest |
161 | - |
162 | -valgrind-skiptest: libtest/skiptest |
163 | - @$(VALGRIND_COMMAND) libtest/skiptest |
164 | - |
165 | -helgrind-skiptest: libtest/skiptest |
166 | - @$(HELGRIND_COMMAND) libtest/skiptest |
167 | - |
168 | -drd-skiptest: libtest/skiptest |
169 | - @$(DRD_COMMAND) libtest/skiptest |
170 | + @$(SGCHECK_COMMAND) t/unittest |
171 | + |
172 | +t_skip_LDADD= libtest/libtest.la |
173 | +t_skip_SOURCES= libtest/skiptest.cc |
174 | +check_PROGRAMS+= t/skip |
175 | +noinst_PROGRAMS+= t/skip |
176 | + |
177 | +test-skip: t/skip |
178 | + @t/skip |
179 | + |
180 | +valgrind-skip: t/skip |
181 | + @$(VALGRIND_COMMAND) t/skip |
182 | + |
183 | +helgrind-skip: libtest/skip |
184 | + @$(HELGRIND_COMMAND) t/skip |
185 | + |
186 | +drd-skip: t/skip |
187 | + @$(DRD_COMMAND) t/skip |
188 | |
189 | libtest_wait_SOURCES= |
190 | libtest_wait_SOURCES+= libtest/wait.cc |
191 | |
192 | === added directory 't' |
193 | === modified file 'tests/ephemeral.am' |
194 | --- tests/ephemeral.am 2012-12-17 06:25:48 +0000 |
195 | +++ tests/ephemeral.am 2013-07-03 03:55:32 +0000 |
196 | @@ -10,24 +10,24 @@ |
197 | # All paths should be given relative to the root |
198 | # |
199 | |
200 | -tests_ephemeral_test_SOURCES= |
201 | -tests_ephemeral_test_CXXFLAGS= |
202 | -tests_ephemeral_test_LDADD= ${CLIENT_LDADD} |
203 | - |
204 | -tests_ephemeral_test_SOURCES+= tests/basic.cc |
205 | -tests_ephemeral_test_SOURCES+= tests/ephemeral_test.cc |
206 | - |
207 | -check_PROGRAMS += tests/ephemeral_test |
208 | -noinst_PROGRAMS += tests/ephemeral_test |
209 | - |
210 | -test-ephemeral: tests/ephemeral_test gearmand/gearmand |
211 | +t_ephemeral_SOURCES= |
212 | +t_ephemeral_CXXFLAGS= |
213 | +t_ephemeral_LDADD= ${CLIENT_LDADD} |
214 | + |
215 | +t_ephemeral_SOURCES+= tests/basic.cc |
216 | +t_ephemeral_SOURCES+= tests/ephemeral_test.cc |
217 | + |
218 | +check_PROGRAMS += t/ephemeral |
219 | +noinst_PROGRAMS += t/ephemeral |
220 | + |
221 | +test-ephemeral: t/ephemeral gearmand/gearmand |
222 | @tests/ephemeral_test |
223 | |
224 | -gdb-ephemeral: tests/ephemeral_test gearmand/gearmand |
225 | - @$(GDB_COMMAND) tests/ephemeral_test |
226 | - |
227 | -helgrind-ephemeral: tests/ephemeral_test gearmand/gearmand |
228 | - @$(HELGRIND_COMMAND) tests/ephemeral_test |
229 | - |
230 | -valgrind-ephemeral: tests/ephemeral_test gearmand/gearmand |
231 | - @$(VALGRIND_COMMAND) tests/ephemeral_test |
232 | +gdb-ephemeral: t/ephemeral gearmand/gearmand |
233 | + @$(GDB_COMMAND) tests/ephemeral |
234 | + |
235 | +helgrind-ephemeral: t/ephemeral gearmand/gearmand |
236 | + @$(HELGRIND_COMMAND) t/ephemeral |
237 | + |
238 | +valgrind-ephemeral: t/ephemeral gearmand/gearmand |
239 | + @$(VALGRIND_COMMAND) t/ephemeral |
240 | |
241 | === modified file 'tests/hostile.am' |
242 | --- tests/hostile.am 2013-01-29 19:42:31 +0000 |
243 | +++ tests/hostile.am 2013-07-03 03:55:32 +0000 |
244 | @@ -10,65 +10,65 @@ |
245 | # All paths should be given relative to the root |
246 | # |
247 | |
248 | -tests_hostile_gearmand_CFLAGS= |
249 | -tests_hostile_gearmand_CXXFLAGS= |
250 | -tests_hostile_gearmand_LDADD= |
251 | -tests_hostile_gearmand_SOURCES= |
252 | - |
253 | -tests_hostile_gearmand_CXXFLAGS+= -DHAVE_LIBHOSTILE=1 |
254 | -tests_hostile_gearmand_CFLAGS+= -DHAVE_LIBHOSTILE=1 |
255 | -tests_hostile_gearmand_LDADD+= libhostile/libhostile.la |
256 | -if TARGET_LINUX |
257 | -tests_hostile_gearmand_LDADD+= @DL_LIB@ |
258 | -tests_hostile_gearmand_LDADD+= @RT_LIB@ |
259 | -endif |
260 | - |
261 | -tests_hostile_gearmand_SOURCES+= tests/hostile.cc |
262 | -tests_hostile_gearmand_LDADD+= libgearman/libgearman.la |
263 | -tests_hostile_gearmand_LDADD+= libtest/libtest.la |
264 | -tests_hostile_gearmand_LDADD+= tests/libstartworker.la |
265 | -check_PROGRAMS+=tests/hostile_gearmand |
266 | -noinst_PROGRAMS+=tests/hostile_gearmand |
267 | - |
268 | -test-hostile-gearmand: tests/hostile_gearmand gearmand/gearmand gearmand/hostile_gearmand |
269 | - @tests/hostile_gearmand |
270 | - |
271 | -valgrind-hostile-gearmand: tests/hostile_gearmand gearmand/gearmand gearmand/hostile_gearmand |
272 | - @$(VALGRIND_COMMAND) tests/hostile_gearmand |
273 | - |
274 | -gdb-hostile-gearmand: tests/hostile_gearmand gearmand/gearmand gearmand/hostile_gearmand |
275 | - @$(GDB_COMMAND) tests/hostile_gearmand |
276 | - |
277 | -tests_hostile_libgearman_CFLAGS= |
278 | -tests_hostile_libgearman_CXXFLAGS= |
279 | -tests_hostile_libgearman_LDADD= |
280 | -tests_hostile_libgearman_SOURCES= |
281 | - |
282 | -tests_hostile_libgearman_CXXFLAGS+= -DHAVE_LIBHOSTILE=1 |
283 | -tests_hostile_libgearman_CFLAGS+= -DHAVE_LIBHOSTILE=1 |
284 | -tests_hostile_libgearman_CXXFLAGS+= -DSERVER_TARGET="\"gearmand\"" |
285 | -tests_hostile_libgearman_CFLAGS+= -DSERVER_TARGET="\"gearmand\"" |
286 | -tests_hostile_libgearman_LDADD+= libhostile/libhostile.la |
287 | -if TARGET_LINUX |
288 | -tests_hostile_libgearman_LDADD+= @DL_LIB@ |
289 | -tests_hostile_libgearman_LDADD+= @RT_LIB@ |
290 | -endif |
291 | - |
292 | -tests_hostile_libgearman_SOURCES+= tests/hostile.cc |
293 | -tests_hostile_libgearman_LDADD+= libgearman/libgearman-hostile.la |
294 | -tests_hostile_libgearman_LDADD+= libtest/libtest.la |
295 | -tests_hostile_libgearman_LDADD+= tests/libstartworker.la |
296 | +t_hostile_gearmand_CFLAGS= |
297 | +t_hostile_gearmand_CXXFLAGS= |
298 | +t_hostile_gearmand_LDADD= |
299 | +t_hostile_gearmand_SOURCES= |
300 | + |
301 | +t_hostile_gearmand_CXXFLAGS+= -DHAVE_LIBHOSTILE=1 |
302 | +t_hostile_gearmand_CFLAGS+= -DHAVE_LIBHOSTILE=1 |
303 | +t_hostile_gearmand_LDADD+= libhostile/libhostile.la |
304 | +if TARGET_LINUX |
305 | +t_hostile_gearmand_LDADD+= @DL_LIB@ |
306 | +t_hostile_gearmand_LDADD+= @RT_LIB@ |
307 | +endif |
308 | + |
309 | +t_hostile_gearmand_SOURCES+= tests/hostile.cc |
310 | +t_hostile_gearmand_LDADD+= libgearman/libgearman.la |
311 | +t_hostile_gearmand_LDADD+= libtest/libtest.la |
312 | +t_hostile_gearmand_LDADD+= tests/libstartworker.la |
313 | +check_PROGRAMS+=t/hostile_gearmand |
314 | +noinst_PROGRAMS+=t/hostile_gearmand |
315 | + |
316 | +test-hostile-gearmand: t/hostile_gearmand gearmand/gearmand gearmand/hostile_gearmand |
317 | + @t/hostile_gearmand |
318 | + |
319 | +valgrind-hostile-gearmand: t/hostile_gearmand gearmand/gearmand gearmand/hostile_gearmand |
320 | + @$(VALGRIND_COMMAND) t/hostile_gearmand |
321 | + |
322 | +gdb-hostile-gearmand: t/hostile_gearmand gearmand/gearmand gearmand/hostile_gearmand |
323 | + @$(GDB_COMMAND) t/hostile_gearmand |
324 | + |
325 | +t_hostile_libgearman_CFLAGS= |
326 | +t_hostile_libgearman_CXXFLAGS= |
327 | +t_hostile_libgearman_LDADD= |
328 | +t_hostile_libgearman_SOURCES= |
329 | + |
330 | +t_hostile_libgearman_CXXFLAGS+= -DHAVE_LIBHOSTILE=1 |
331 | +t_hostile_libgearman_CFLAGS+= -DHAVE_LIBHOSTILE=1 |
332 | +t_hostile_libgearman_CXXFLAGS+= -DSERVER_TARGET="\"gearmand\"" |
333 | +t_hostile_libgearman_CFLAGS+= -DSERVER_TARGET="\"gearmand\"" |
334 | +t_hostile_libgearman_LDADD+= libhostile/libhostile.la |
335 | +if TARGET_LINUX |
336 | +t_hostile_libgearman_LDADD+= @DL_LIB@ |
337 | +t_hostile_libgearman_LDADD+= @RT_LIB@ |
338 | +endif |
339 | + |
340 | +t_hostile_libgearman_SOURCES+= tests/hostile.cc |
341 | +t_hostile_libgearman_LDADD+= libgearman/libgearman-hostile.la |
342 | +t_hostile_libgearman_LDADD+= libtest/libtest.la |
343 | +t_hostile_libgearman_LDADD+= tests/libstartworker.la |
344 | # check_PROGRAMS+=tests/hostile_libgearman |
345 | -noinst_PROGRAMS+=tests/hostile_libgearman |
346 | - |
347 | -test-hostile_libgearman: tests/hostile_libgearman gearmand/gearmand |
348 | - @tests/hostile_libgearman |
349 | - |
350 | -valgrind-hostile_libgearman: tests/hostile_libgearman gearmand/gearmand |
351 | - @$(VALGRIND_COMMAND) tests/hostile_libgearman |
352 | - |
353 | -gdb-hostile_libgearman: tests/hostile_libgearman gearmand/gearmand |
354 | - @$(GDB_COMMAND) tests/hostile_libgearman |
355 | +noinst_PROGRAMS+=t/hostile_libgearman |
356 | + |
357 | +test-hostile_libgearman: t/hostile_libgearman gearmand/gearmand |
358 | + @t/hostile_libgearman |
359 | + |
360 | +valgrind-hostile_libgearman: t/hostile_libgearman gearmand/gearmand |
361 | + @$(VALGRIND_COMMAND) t/hostile_libgearman |
362 | + |
363 | +gdb-hostile_libgearman: t/hostile_libgearman gearmand/gearmand |
364 | + @$(GDB_COMMAND) t/hostile_libgearman |
365 | |
366 | hostile: test-hostile-gearmand test-hostile_libgearman |
367 | |
368 | |
369 | === modified file 'tests/httpd.am' |
370 | --- tests/httpd.am 2012-12-17 06:25:48 +0000 |
371 | +++ tests/httpd.am 2013-07-03 03:55:32 +0000 |
372 | @@ -10,24 +10,24 @@ |
373 | # All paths should be given relative to the root |
374 | # |
375 | |
376 | -tests_httpd_test_SOURCES= |
377 | -tests_httpd_test_LDADD= |
378 | - |
379 | -tests_httpd_test_SOURCES+= tests/httpd_test.cc |
380 | - |
381 | -tests_httpd_test_LDADD+= $(CLIENT_LDADD) |
382 | - |
383 | -#check_PROGRAMS+= tests/httpd_test |
384 | -noinst_PROGRAMS+= tests/httpd_test |
385 | - |
386 | -test-httpd: tests/httpd_test gearmand/gearmand |
387 | - @tests/httpd_test |
388 | - |
389 | -gdb-httpd: tests/httpd_test gearmand/gearmand |
390 | - @$(GDB_COMMAND) tests/httpd_test |
391 | - |
392 | -helgrind-httpd: tests/httpd_test gearmand/gearmand |
393 | - @$(HELGRIND_COMMAND) tests/httpd_test |
394 | - |
395 | -valgrind-httpd: tests/httpd_test gearmand/gearmand |
396 | - @$(VALGRIND_COMMAND) tests/httpd_test |
397 | +t_httpd_SOURCES= |
398 | +t_httpd_LDADD= |
399 | + |
400 | +t_httpd_SOURCES+= tests/httpd_test.cc |
401 | + |
402 | +t_httpd_LDADD+= $(CLIENT_LDADD) |
403 | + |
404 | +#check_PROGRAMS+= t/httpd |
405 | +noinst_PROGRAMS+= t/httpd |
406 | + |
407 | +test-httpd: t/httpd gearmand/gearmand |
408 | + @t/httpd |
409 | + |
410 | +gdb-httpd: t/httpd gearmand/gearmand |
411 | + @$(GDB_COMMAND) tests/httpd |
412 | + |
413 | +helgrind-httpd: t/httpd gearmand/gearmand |
414 | + @$(HELGRIND_COMMAND) t/httpd |
415 | + |
416 | +valgrind-httpd: t/httpd gearmand/gearmand |
417 | + @$(VALGRIND_COMMAND) t/httpd |
418 | |
419 | === modified file 'tests/include.am' |
420 | --- tests/include.am 2013-06-27 04:56:49 +0000 |
421 | +++ tests/include.am 2013-07-03 03:55:32 +0000 |
422 | @@ -30,77 +30,77 @@ |
423 | CLIENT_LDADD+= libtest/libtest.la |
424 | CLIENT_LDADD+= tests/libstartworker.la |
425 | |
426 | -tests_cycle_SOURCES= |
427 | -tests_cycle_LDADD= |
428 | -EXTRA_tests_cycle_DEPENDENCIES= |
429 | - |
430 | -EXTRA_tests_cycle_DEPENDENCIES+= gearmand/gearmand |
431 | -tests_cycle_SOURCES+= tests/cycle.cc |
432 | -tests_cycle_LDADD+= ${CLIENT_LDADD} |
433 | -check_PROGRAMS+=tests/cycle |
434 | -noinst_PROGRAMS+=tests/cycle |
435 | - |
436 | -tests_blobslap_client_SOURCES= |
437 | -tests_blobslap_client_LDADD= |
438 | - |
439 | -tests_blobslap_client_SOURCES+= tests/blobslap_client.cc |
440 | -tests_blobslap_client_LDADD+= ${CLIENT_LDADD} |
441 | -noinst_PROGRAMS+= tests/blobslap_client |
442 | - |
443 | -# Vector tests |
444 | -tests_vector_SOURCES= |
445 | -tests_vector_LDADD= |
446 | - |
447 | -tests_vector_SOURCES+= tests/vector.cc |
448 | -tests_vector_LDADD+= libtest/libtest.la |
449 | -tests_vector_LDADD+= libgearman/libgearman-vector.la |
450 | -check_PROGRAMS+= tests/vector |
451 | -noinst_PROGRAMS+= tests/vector |
452 | - |
453 | -test-vector: tests/vector |
454 | - @tests/vector |
455 | - |
456 | -valgrind-vector: tests/vector |
457 | - @$(VALGRIND_COMMAND) tests/vector |
458 | - |
459 | -# Vector tests |
460 | -tests_result_SOURCES= |
461 | -tests_result_LDADD= |
462 | - |
463 | -tests_result_SOURCES+= tests/result.cc |
464 | -tests_result_LDADD+= libtest/libtest.la |
465 | -tests_result_LDADD+= libgearman/libgearman-result.la |
466 | -check_PROGRAMS+= tests/result |
467 | -noinst_PROGRAMS+= tests/result |
468 | - |
469 | -test-result: tests/result |
470 | - @tests/result |
471 | - |
472 | -valgrind-result: tests/result |
473 | - @$(VALGRIND_COMMAND) tests/result |
474 | - |
475 | - |
476 | -EXTRA_tests_cli_DEPENDENCIES= |
477 | -tests_cli_SOURCES= |
478 | -tests_cli_LDADD= |
479 | - |
480 | -tests_cli_SOURCES+= tests/cli.cc |
481 | -EXTRA_tests_cli_DEPENDENCIES+= bin/gearman |
482 | -EXTRA_tests_cli_DEPENDENCIES+= bin/gearadmin |
483 | -EXTRA_tests_cli_DEPENDENCIES+= gearmand/gearmand |
484 | -tests_cli_LDADD+= ${CLIENT_LDADD} |
485 | -check_PROGRAMS+= tests/cli |
486 | -noinst_PROGRAMS+= tests/cli |
487 | - |
488 | -EXTRA_tests_gearmand_DEPENDENCIES= |
489 | -tests_gearmand_LDADD= |
490 | -tests_gearmand_SOURCES= |
491 | - |
492 | -tests_gearmand_SOURCES+= tests/gearmand.cc |
493 | -tests_gearmand_LDADD+= ${CLIENT_LDADD} |
494 | -EXTRA_tests_gearmand_DEPENDENCIES+= gearmand/gearmand |
495 | -check_PROGRAMS+= tests/gearmand |
496 | -noinst_PROGRAMS+= tests/gearmand |
497 | +t_cycle_SOURCES= |
498 | +t_cycle_LDADD= |
499 | +EXTRA_t_cycle_DEPENDENCIES= |
500 | + |
501 | +EXTRA_t_cycle_DEPENDENCIES+= gearmand/gearmand |
502 | +t_cycle_SOURCES+= tests/cycle.cc |
503 | +t_cycle_LDADD+= ${CLIENT_LDADD} |
504 | +check_PROGRAMS+=t/cycle |
505 | +noinst_PROGRAMS+=t/cycle |
506 | + |
507 | +t_blobslap_client_SOURCES= |
508 | +t_blobslap_client_LDADD= |
509 | + |
510 | +t_blobslap_client_SOURCES+= tests/blobslap_client.cc |
511 | +t_blobslap_client_LDADD+= ${CLIENT_LDADD} |
512 | +noinst_PROGRAMS+= t/blobslap_client |
513 | + |
514 | +# Vector tests |
515 | +t_vector_SOURCES= |
516 | +t_vector_LDADD= |
517 | + |
518 | +t_vector_SOURCES+= tests/vector.cc |
519 | +t_vector_LDADD+= libtest/libtest.la |
520 | +t_vector_LDADD+= libgearman/libgearman-vector.la |
521 | +check_PROGRAMS+= t/vector |
522 | +noinst_PROGRAMS+= t/vector |
523 | + |
524 | +test-vector: t/vector |
525 | + @t/vector |
526 | + |
527 | +valgrind-vector: t/vector |
528 | + @$(VALGRIND_COMMAND) t/vector |
529 | + |
530 | +# Vector tests |
531 | +t_result_SOURCES= |
532 | +t_result_LDADD= |
533 | + |
534 | +t_result_SOURCES+= tests/result.cc |
535 | +t_result_LDADD+= libtest/libtest.la |
536 | +t_result_LDADD+= libgearman/libgearman-result.la |
537 | +check_PROGRAMS+= t/result |
538 | +noinst_PROGRAMS+= t/result |
539 | + |
540 | +test-result: t/result |
541 | + @t/result |
542 | + |
543 | +valgrind-result: t/result |
544 | + @$(VALGRIND_COMMAND) t/result |
545 | + |
546 | + |
547 | +EXTRA_t_cli_DEPENDENCIES= |
548 | +t_cli_SOURCES= |
549 | +t_cli_LDADD= |
550 | + |
551 | +t_cli_SOURCES+= tests/cli.cc |
552 | +EXTRA_t_cli_DEPENDENCIES+= bin/gearman |
553 | +EXTRA_t_cli_DEPENDENCIES+= bin/gearadmin |
554 | +EXTRA_t_cli_DEPENDENCIES+= gearmand/gearmand |
555 | +t_cli_LDADD+= ${CLIENT_LDADD} |
556 | +check_PROGRAMS+= t/cli |
557 | +noinst_PROGRAMS+= t/cli |
558 | + |
559 | +EXTRA_t_gearmand_DEPENDENCIES= |
560 | +t_gearmand_LDADD= |
561 | +t_gearmand_SOURCES= |
562 | + |
563 | +t_gearmand_SOURCES+= tests/gearmand.cc |
564 | +t_gearmand_LDADD+= ${CLIENT_LDADD} |
565 | +EXTRA_t_gearmand_DEPENDENCIES+= gearmand/gearmand |
566 | +check_PROGRAMS+= t/gearmand |
567 | +noinst_PROGRAMS+= t/gearmand |
568 | |
569 | include tests/libgearman-1.0/include.am |
570 | include tests/stress.am |
571 | @@ -108,100 +108,100 @@ |
572 | include tests/workers/include.am |
573 | include tests/protocol.mk |
574 | |
575 | -tests_round_robin_test_SOURCES= |
576 | -tests_round_robin_test_LDADD= |
577 | - |
578 | -tests_round_robin_test_SOURCES+= tests/round_robin.cc |
579 | -tests_round_robin_test_LDADD+= ${CLIENT_LDADD} |
580 | -tests_round_robin_test_LDADD+= libgearman/libgearmancore.la |
581 | -check_PROGRAMS+= tests/round_robin_test |
582 | -noinst_PROGRAMS+= tests/round_robin_test |
583 | - |
584 | -test-round-robin: tests/round_robin_test gearmand/gearmand |
585 | - @tests/round_robin_test |
586 | - |
587 | -gdb-round-robin: tests/round_robin_test gearmand/gearmand |
588 | - @$(GDB_COMMAND) tests/round_robin_test |
589 | - |
590 | -valgrind-round-robin: tests/round_robin_test gearmand/gearmand |
591 | - @$(VALGRIND_COMMAND) tests/round_robin_test |
592 | - |
593 | -helgrind-round-robin: tests/round_robin_test gearmand/gearmand |
594 | - @$(HELGRIND_COMMAND) tests/round_robin_test |
595 | +t_round_robin_SOURCES= |
596 | +t_round_robin_LDADD= |
597 | + |
598 | +t_round_robin_SOURCES+= tests/round_robin.cc |
599 | +t_round_robin_LDADD+= ${CLIENT_LDADD} |
600 | +t_round_robin_LDADD+= libgearman/libgearmancore.la |
601 | +check_PROGRAMS+= t/round_robin |
602 | +noinst_PROGRAMS+= t/round_robin |
603 | + |
604 | +test-round-robin: t/round_robin gearmand/gearmand |
605 | + @t/round_robin |
606 | + |
607 | +gdb-round-robin: t/round_robin gearmand/gearmand |
608 | + @$(GDB_COMMAND) t/round_robin |
609 | + |
610 | +valgrind-round-robin: t/round_robin gearmand/gearmand |
611 | + @$(VALGRIND_COMMAND) t/round_robin |
612 | + |
613 | +helgrind-round-robin: tests/round_robin gearmand/gearmand |
614 | + @$(HELGRIND_COMMAND) t/round_robin |
615 | |
616 | # Test linking with C++ application |
617 | -tests_cpp_test_SOURCES= |
618 | -tests_cpp_test_LDADD= |
619 | - |
620 | -tests_cpp_test_SOURCES+= tests/cpp_test.cc |
621 | -tests_cpp_test_LDADD+= ${CLIENT_LDADD} |
622 | -check_PROGRAMS+=tests/cpp_test |
623 | -noinst_PROGRAMS+=tests/cpp_test |
624 | - |
625 | -valgrind-cpp_test: tests/cpp_test |
626 | - @$(VALGRIND_COMMAND) tests/cpp_test |
627 | +t_cpp_SOURCES= |
628 | +t_cpp_LDADD= |
629 | + |
630 | +t_cpp_SOURCES+= tests/cpp_test.cc |
631 | +t_cpp_LDADD+= ${CLIENT_LDADD} |
632 | +check_PROGRAMS+=t/cpp |
633 | +noinst_PROGRAMS+=t/cpp |
634 | + |
635 | +valgrind-cpp: t/cpp |
636 | + @$(VALGRIND_COMMAND) t/cpp |
637 | |
638 | # Test linking with C application |
639 | -tests_c_test_SOURCES= |
640 | -tests_c_test_LDADD= |
641 | - |
642 | -tests_c_test_SOURCES+= tests/c_test.c |
643 | -tests_c_test_LDADD+= ${CLIENT_LDADD} |
644 | -check_PROGRAMS+=tests/c_test |
645 | -noinst_PROGRAMS+=tests/c_test |
646 | - |
647 | -valgrind-c_test: tests/c_test |
648 | - @$(VALGRIND_COMMAND) tests/c_test |
649 | - |
650 | -test-cycle: tests/cycle gearmand/gearmand |
651 | - @tests/cycle |
652 | - |
653 | -test-cli: tests/cli gearmand/gearmand |
654 | - @tests/cli |
655 | - |
656 | -test-gearmand: tests/gearmand gearmand/gearmand |
657 | - @tests/gearmand |
658 | - |
659 | -tests-blobslap_client: tests/blobslap_client gearmand/gearmand |
660 | - @tests/blobslap_client |
661 | +t_c_SOURCES= |
662 | +t_c_LDADD= |
663 | + |
664 | +t_c_SOURCES+= tests/c_test.c |
665 | +t_c_LDADD+= ${CLIENT_LDADD} |
666 | +check_PROGRAMS+=t/c |
667 | +noinst_PROGRAMS+=t/c |
668 | + |
669 | +valgrind-c: t/c |
670 | + @$(VALGRIND_COMMAND) t/c |
671 | + |
672 | +test-cycle: t/cycle gearmand/gearmand |
673 | + @t/cycle |
674 | + |
675 | +test-cli: t/cli gearmand/gearmand |
676 | + @t/cli |
677 | + |
678 | +test-gearmand: t/gearmand gearmand/gearmand |
679 | + @t/gearmand |
680 | + |
681 | +tests-blobslap_client: t/blobslap_client gearmand/gearmand |
682 | + @t/blobslap_client |
683 | |
684 | check-local: |
685 | |
686 | -gdb-cli: tests/cli gearmand/gearmand |
687 | - @$(GDB_COMMAND) tests/cli |
688 | - |
689 | -gdb-blobslap_client: tests/blobslap_client gearmand/gearmand |
690 | - @$(GDB_COMMAND) tests/blobslap_client |
691 | - |
692 | -gdb-cycle: tests/cycle gearmand/gearmand |
693 | - @$(GDB_COMMAND) tests/cycle |
694 | - |
695 | -gdb-gearmand: tests/gearmand gearmand/gearmand |
696 | - @$(GDB_COMMAND) tests/gearmand |
697 | - |
698 | -valgrind-cli: tests/cli gearmand/gearmand |
699 | - @$(VALGRIND_COMMAND) tests/cli |
700 | - |
701 | -valgrind-burnin: tests/burnin_test gearmand/gearmand |
702 | - @$(VALGRIND_COMMAND) tests/burnin_test |
703 | - |
704 | -valgrind-cycle: tests/cycle gearmand/gearmand |
705 | - @$(VALGRIND_COMMAND) tests/cycle |
706 | - |
707 | -valgrind-gearmand: tests/gearmand gearmand/gearmand |
708 | - @$(VALGRIND_COMMAND) tests/gearmand |
709 | - |
710 | -helgrind-client: tests/client_test gearmand/gearmand |
711 | - @$(HELGRIND_COMMAND) tests/client_test |
712 | - |
713 | -helgrind-burnin: tests/burnin_test gearmand/gearmand |
714 | - @$(HELGRIND_COMMAND) tests/burnin_test |
715 | - |
716 | -helgrind-cycle: tests/cycle gearmand/gearmand |
717 | - @$(HELGRIND_COMMAND) tests/cycle |
718 | - |
719 | -drd-cycle: tests/cycle gearmand/gearmand |
720 | - @$(DRD_COMMAND) tests/cycle |
721 | +gdb-cli: t/cli gearmand/gearmand |
722 | + @$(GDB_COMMAND) t/cli |
723 | + |
724 | +gdb-blobslap_client: t/blobslap_client gearmand/gearmand |
725 | + @$(GDB_COMMAND) t/blobslap_client |
726 | + |
727 | +gdb-cycle: t/cycle gearmand/gearmand |
728 | + @$(GDB_COMMAND) t/cycle |
729 | + |
730 | +gdb-gearmand: t/gearmand gearmand/gearmand |
731 | + @$(GDB_COMMAND) t/gearmand |
732 | + |
733 | +valgrind-cli: t/cli gearmand/gearmand |
734 | + @$(VALGRIND_COMMAND) t/cli |
735 | + |
736 | +valgrind-burnin: t/burnin_test gearmand/gearmand |
737 | + @$(VALGRIND_COMMAND) t/burnin_test |
738 | + |
739 | +valgrind-cycle: t/cycle gearmand/gearmand |
740 | + @$(VALGRIND_COMMAND) t/cycle |
741 | + |
742 | +valgrind-gearmand: t/gearmand gearmand/gearmand |
743 | + @$(VALGRIND_COMMAND) t/gearmand |
744 | + |
745 | +helgrind-client: t/client gearmand/gearmand |
746 | + @$(HELGRIND_COMMAND) t/client |
747 | + |
748 | +helgrind-burnin: t/burnin gearmand/gearmand |
749 | + @$(HELGRIND_COMMAND) t/burnin |
750 | + |
751 | +helgrind-cycle: t/cycle gearmand/gearmand |
752 | + @$(HELGRIND_COMMAND) t/cycle |
753 | + |
754 | +drd-cycle: t/cycle gearmand/gearmand |
755 | + @$(DRD_COMMAND) t/cycle |
756 | |
757 | include tests/ephemeral.am |
758 | include tests/libdrizzle.am |
759 | |
760 | === modified file 'tests/libdrizzle.am' |
761 | --- tests/libdrizzle.am 2013-01-09 00:23:55 +0000 |
762 | +++ tests/libdrizzle.am 2013-07-03 03:55:32 +0000 |
763 | @@ -10,32 +10,32 @@ |
764 | # All paths should be given relative to the root |
765 | # |
766 | |
767 | -tests_drizzle_test_CXXFLAGS= |
768 | -tests_drizzle_test_SOURCES= |
769 | -tests_drizzle_test_LDADD= |
770 | -tests_drizzle_test_LDFLAGS= |
771 | - |
772 | -tests_drizzle_test_SOURCES+= tests/basic.cc |
773 | -tests_drizzle_test_SOURCES+= tests/drizzle_test.cc |
774 | - |
775 | -tests_drizzle_test_LDADD+= libgearman/libgearman.la |
776 | -tests_drizzle_test_LDADD+= libtest/libtest.la |
777 | -tests_drizzle_test_LDADD+= tests/libstartworker.la |
778 | - |
779 | -tests_drizzle_test_LDFLAGS+= @LIBDRIZZLE_LDFLAGS@ |
780 | -tests_drizzle_test_LDADD+= @LIBDRIZZLE_LIB@ |
781 | - |
782 | -check_PROGRAMS += tests/drizzle_test |
783 | -noinst_PROGRAMS += tests/drizzle_test |
784 | - |
785 | -test-drizzle: tests/drizzle_test gearmand/gearmand |
786 | - @tests/drizzle_test |
787 | - |
788 | -gdb-drizzle: tests/drizzle_test gearmand/gearmand |
789 | - @$(GDB_COMMAND) tests/drizzle_test |
790 | - |
791 | -helgrind-drizzle: tests/drizzle_test gearmand/gearmand |
792 | - @$(HELGRIND_COMMAND) tests/drizzle_test |
793 | - |
794 | -valgrind-drizzle: tests/drizzle_test gearmand/gearmand |
795 | - @$(VALGRIND_COMMAND) tests/drizzle_test |
796 | +t_drizzle_CXXFLAGS= |
797 | +t_drizzle_SOURCES= |
798 | +t_drizzle_LDADD= |
799 | +t_drizzle_LDFLAGS= |
800 | + |
801 | +t_drizzle_SOURCES+= tests/basic.cc |
802 | +t_drizzle_SOURCES+= tests/drizzle_test.cc |
803 | + |
804 | +t_drizzle_LDADD+= libgearman/libgearman.la |
805 | +t_drizzle_LDADD+= libtest/libtest.la |
806 | +t_drizzle_LDADD+= tests/libstartworker.la |
807 | + |
808 | +t_drizzle_LDFLAGS+= @LIBDRIZZLE_LDFLAGS@ |
809 | +t_drizzle_LDADD+= @LIBDRIZZLE_LIB@ |
810 | + |
811 | +check_PROGRAMS += t/drizzle |
812 | +noinst_PROGRAMS += t/drizzle |
813 | + |
814 | +test-drizzle: t/drizzle gearmand/gearmand |
815 | + @tests/drizzle |
816 | + |
817 | +gdb-drizzle: t/drizzle gearmand/gearmand |
818 | + @$(GDB_COMMAND) tests/drizzle |
819 | + |
820 | +helgrind-drizzle: t/drizzle gearmand/gearmand |
821 | + @$(HELGRIND_COMMAND) tests/drizzle |
822 | + |
823 | +valgrind-drizzle: t/drizzle gearmand/gearmand |
824 | + @$(VALGRIND_COMMAND) tests/drizzle |
825 | |
826 | === modified file 'tests/libgearman-1.0/include.am' |
827 | --- tests/libgearman-1.0/include.am 2013-06-28 19:13:48 +0000 |
828 | +++ tests/libgearman-1.0/include.am 2013-07-03 03:55:32 +0000 |
829 | @@ -10,124 +10,124 @@ |
830 | LIBGEARMAN_1_0_CLIENT_LDADD+= libtest/libtest.la |
831 | LIBGEARMAN_1_0_CLIENT_LDADD+= tests/libstartworker.la |
832 | |
833 | -tests_libgearman_1_0_client_test_CXXFLAGS= |
834 | -tests_libgearman_1_0_client_test_SOURCES= |
835 | -tests_libgearman_1_0_client_test_LDADD= |
836 | - |
837 | -tests_libgearman_1_0_client_test_CXXFLAGS+= $(BOOST_CPPFLAGS) |
838 | -tests_libgearman_1_0_client_test_CXXFLAGS+= @PTHREAD_CFLAGS@ |
839 | -tests_libgearman_1_0_client_test_SOURCES+= tests/libgearman-1.0/client_test.cc |
840 | -tests_libgearman_1_0_client_test_SOURCES+= tests/libgearman-1.0/do.cc |
841 | -tests_libgearman_1_0_client_test_SOURCES+= tests/libgearman-1.0/do_background.cc |
842 | -tests_libgearman_1_0_client_test_SOURCES+= tests/libgearman-1.0/execute.cc |
843 | -tests_libgearman_1_0_client_test_SOURCES+= tests/libgearman-1.0/fork.cc |
844 | -tests_libgearman_1_0_client_test_SOURCES+= tests/libgearman-1.0/gearman_client_do_job_handle.cc |
845 | -tests_libgearman_1_0_client_test_SOURCES+= tests/libgearman-1.0/gearman_client_job_status_by_unique.cc |
846 | -tests_libgearman_1_0_client_test_SOURCES+= tests/libgearman-1.0/gearman_execute_partition.cc |
847 | -tests_libgearman_1_0_client_test_SOURCES+= tests/libgearman-1.0/limits.cc |
848 | -tests_libgearman_1_0_client_test_SOURCES+= tests/libgearman-1.0/protocol.cc |
849 | -tests_libgearman_1_0_client_test_SOURCES+= tests/libgearman-1.0/server_options.cc |
850 | -tests_libgearman_1_0_client_test_SOURCES+= tests/libgearman-1.0/task.cc |
851 | -tests_libgearman_1_0_client_test_SOURCES+= tests/libgearman-1.0/unique.cc |
852 | -tests_libgearman_1_0_client_test_SOURCES+= tests/workers/aggregator/cat.cc |
853 | -tests_libgearman_1_0_client_test_SOURCES+= tests/workers/v1/echo_or_react.cc |
854 | -tests_libgearman_1_0_client_test_SOURCES+= tests/workers/v1/echo_or_react_chunk.cc |
855 | -tests_libgearman_1_0_client_test_SOURCES+= tests/workers/v1/unique.cc |
856 | -tests_libgearman_1_0_client_test_SOURCES+= tests/workers/v2/call_exception.cc |
857 | -tests_libgearman_1_0_client_test_SOURCES+= tests/workers/v2/echo_or_react.cc |
858 | -tests_libgearman_1_0_client_test_SOURCES+= tests/workers/v2/echo_or_react_chunk.cc |
859 | -tests_libgearman_1_0_client_test_SOURCES+= tests/workers/v2/sleep_return_random.cc |
860 | -tests_libgearman_1_0_client_test_SOURCES+= tests/workers/v2/split.cc |
861 | -tests_libgearman_1_0_client_test_SOURCES+= tests/workers/v2/unique.cc |
862 | -tests_libgearman_1_0_client_test_LDADD+= ${LIBGEARMAN_1_0_CLIENT_LDADD} |
863 | -tests_libgearman_1_0_client_test_LDADD+= @PTHREAD_LIBS@ |
864 | -check_PROGRAMS+=tests/libgearman-1.0/client_test |
865 | -noinst_PROGRAMS+=tests/libgearman-1.0/client_test |
866 | - |
867 | -tests_libgearman_1_0_multi_client_test_CXXFLAGS= |
868 | -tests_libgearman_1_0_multi_client_test_SOURCES= |
869 | -tests_libgearman_1_0_multi_client_test_LDADD= |
870 | - |
871 | -tests_libgearman_1_0_multi_client_test_SOURCES+= tests/libgearman-1.0/multi_client_test.cc |
872 | -tests_libgearman_1_0_multi_client_test_LDADD+= ${LIBGEARMAN_1_0_CLIENT_LDADD} |
873 | -check_PROGRAMS+=tests/libgearman-1.0/multi_client_test |
874 | -noinst_PROGRAMS+=tests/libgearman-1.0/multi_client_test |
875 | - |
876 | -test-multi-client: tests/libgearman-1.0/multi_client_test gearmand/gearmand |
877 | - @tests/libgearman-1.0/multi_client_test |
878 | - |
879 | -gdb-multi-client: tests/libgearman-1.0/multi_client_test gearmand/gearmand |
880 | - @$(GDB_COMMAND) tests/libgearman-1.0/multi_client_test |
881 | - |
882 | -valgrind-multi-client: tests/libgearman-1.0/multi_client_test gearmand/gearmand |
883 | - @$(VALGRIND_COMMAND) tests/libgearman-1.0/multi_client_test |
884 | - |
885 | -tests_libgearman_1_0_internals_test_SOURCES= |
886 | -tests_libgearman_1_0_internals_test_LDADD= |
887 | - |
888 | -tests_libgearman_1_0_internals_test_SOURCES+= tests/libgearman-1.0/internals.cc |
889 | -tests_libgearman_1_0_internals_test_SOURCES+= tests/libgearman-1.0/regression.cc |
890 | -tests_libgearman_1_0_internals_test_LDADD+= ${LIBGEARMAN_1_0_CLIENT_LDADD} |
891 | -tests_libgearman_1_0_internals_test_LDADD+= libgearman/libgearmancore.la |
892 | -check_PROGRAMS+= tests/libgearman-1.0/internals_test |
893 | -noinst_PROGRAMS+= tests/libgearman-1.0/internals_test |
894 | - |
895 | -tests_libgearman_1_0_worker_test_LDADD= |
896 | -tests_libgearman_1_0_worker_test_SOURCES= |
897 | - |
898 | -tests_libgearman_1_0_worker_test_SOURCES+= tests/libgearman-1.0/worker_test.cc |
899 | -tests_libgearman_1_0_worker_test_SOURCES+= tests/workers/v2/call_exception.cc |
900 | -tests_libgearman_1_0_worker_test_SOURCES+= tests/workers/v2/echo_or_react.cc |
901 | -tests_libgearman_1_0_worker_test_SOURCES+= tests/workers/v2/echo_or_react_chunk.cc |
902 | -tests_libgearman_1_0_worker_test_LDADD+= ${LIBGEARMAN_1_0_CLIENT_LDADD} |
903 | -tests_libgearman_1_0_worker_test_LDADD+= libgearman/libgearmancore.la |
904 | -check_PROGRAMS+=tests/libgearman-1.0/worker_test |
905 | -noinst_PROGRAMS+=tests/libgearman-1.0/worker_test |
906 | - |
907 | -test-internals: tests/libgearman-1.0/internals_test gearmand/gearmand |
908 | - @tests/libgearman-1.0/internals_test |
909 | - |
910 | -gdb-internals: tests/libgearman-1.0/internals_test gearmand/gearmand |
911 | - @$(GDB_COMMAND) tests/libgearman-1.0/internals_test |
912 | - |
913 | -helgrind-internals: tests/internals_test gearmand/gearmand |
914 | - @$(HELGRIND_COMMAND) tests/libgearman-1.0/internals_test |
915 | - |
916 | - |
917 | -valgrind-internals: tests/libgearman-1.0/internals_test gearmand/gearmand |
918 | - @$(VALGRIND_COMMAND) tests/libgearman-1.0/internals_test |
919 | - |
920 | -valgrind-worker: tests/libgearman-1.0/worker_test gearmand/gearmand |
921 | - @$(VALGRIND_COMMAND) tests/libgearman-1.0/worker_test |
922 | - |
923 | -massif-worker: tests/libgearman-1.0/worker_test gearmand/gearmand |
924 | - @$(MASSIF_COMMAND) tests/libgearman-1.0/worker_test |
925 | - |
926 | -helgrind-worker: tests/libgearman-1.0/worker_test gearmand/gearmand |
927 | - @$(HELGRIND_COMMAND) tests/libgearman-1.0/worker_test |
928 | - |
929 | -gdb-worker: tests/libgearman-1.0/worker_test gearmand/gearmand |
930 | - @$(GDB_COMMAND) tests/libgearman-1.0/worker_test |
931 | - |
932 | -ptrdiff-worker: tests/libgearman-1.0/worker_test gearmand/gearmand |
933 | - @$(PTRCHECK_COMMAND) tests/libgearman-1.0/worker_test |
934 | - |
935 | -test-worker: tests/libgearman-1.0/worker_test gearmand/gearmand |
936 | - @tests/libgearman-1.0/worker_test |
937 | - |
938 | -test-client: tests/libgearman-1.0/client_test gearmand/gearmand |
939 | - @tests/libgearman-1.0/client_test |
940 | - |
941 | -gdb-client: tests/libgearman-1.0/client_test gearmand/gearmand |
942 | - @$(GDB_COMMAND) tests/libgearman-1.0/client_test |
943 | - |
944 | -valgrind-client: tests/libgearman-1.0/client_test gearmand/gearmand |
945 | - @$(VALGRIND_COMMAND) tests/libgearman-1.0/client_test |
946 | - |
947 | -tests_libgearman_1_0_1077917_SOURCES= tests/libgearman-1.0/1077917.c |
948 | -tests_libgearman_1_0_1077917_LDADD= libgearman/libgearman.la |
949 | -check_PROGRAMS+= tests/libgearman-1.0/1077917 |
950 | -noinst_PROGRAMS+= tests/libgearman-1.0/1077917 |
951 | - |
952 | -valgrind-1077917: tests/libgearman-1.0/1077917 |
953 | - @$(VALGRIND_COMMAND) --leak-check=full --show-reachable=yes --track-origins=yes tests/libgearman-1.0/1077917 |
954 | +t_client_CXXFLAGS= |
955 | +t_client_SOURCES= |
956 | +t_client_LDADD= |
957 | + |
958 | +t_client_CXXFLAGS+= $(BOOST_CPPFLAGS) |
959 | +t_client_CXXFLAGS+= @PTHREAD_CFLAGS@ |
960 | +t_client_SOURCES+= tests/libgearman-1.0/client_test.cc |
961 | +t_client_SOURCES+= tests/libgearman-1.0/do.cc |
962 | +t_client_SOURCES+= tests/libgearman-1.0/do_background.cc |
963 | +t_client_SOURCES+= tests/libgearman-1.0/execute.cc |
964 | +t_client_SOURCES+= tests/libgearman-1.0/fork.cc |
965 | +t_client_SOURCES+= tests/libgearman-1.0/gearman_client_do_job_handle.cc |
966 | +t_client_SOURCES+= tests/libgearman-1.0/gearman_client_job_status_by_unique.cc |
967 | +t_client_SOURCES+= tests/libgearman-1.0/gearman_execute_partition.cc |
968 | +t_client_SOURCES+= tests/libgearman-1.0/limits.cc |
969 | +t_client_SOURCES+= tests/libgearman-1.0/protocol.cc |
970 | +t_client_SOURCES+= tests/libgearman-1.0/server_options.cc |
971 | +t_client_SOURCES+= tests/libgearman-1.0/task.cc |
972 | +t_client_SOURCES+= tests/libgearman-1.0/unique.cc |
973 | +t_client_SOURCES+= tests/workers/aggregator/cat.cc |
974 | +t_client_SOURCES+= tests/workers/v1/echo_or_react.cc |
975 | +t_client_SOURCES+= tests/workers/v1/echo_or_react_chunk.cc |
976 | +t_client_SOURCES+= tests/workers/v1/unique.cc |
977 | +t_client_SOURCES+= tests/workers/v2/call_exception.cc |
978 | +t_client_SOURCES+= tests/workers/v2/echo_or_react.cc |
979 | +t_client_SOURCES+= tests/workers/v2/echo_or_react_chunk.cc |
980 | +t_client_SOURCES+= tests/workers/v2/sleep_return_random.cc |
981 | +t_client_SOURCES+= tests/workers/v2/split.cc |
982 | +t_client_SOURCES+= tests/workers/v2/unique.cc |
983 | +t_client_LDADD+= ${LIBGEARMAN_1_0_CLIENT_LDADD} |
984 | +t_client_LDADD+= @PTHREAD_LIBS@ |
985 | +check_PROGRAMS+=t/client |
986 | +noinst_PROGRAMS+=t/client |
987 | + |
988 | +t_multi_client_CXXFLAGS= |
989 | +t_multi_client_SOURCES= |
990 | +t_multi_client_LDADD= |
991 | + |
992 | +t_multi_client_SOURCES+= tests/libgearman-1.0/multi_client_test.cc |
993 | +t_multi_client_LDADD+= ${LIBGEARMAN_1_0_CLIENT_LDADD} |
994 | +check_PROGRAMS+= t/multi_client |
995 | +noinst_PROGRAMS+= t/multi_client |
996 | + |
997 | +test-multi-client: t/multi_client gearmand/gearmand |
998 | + @t/multi_client |
999 | + |
1000 | +gdb-multi-client: t/multi_client gearmand/gearmand |
1001 | + @$(GDB_COMMAND) t/multi_client |
1002 | + |
1003 | +valgrind-multi-client: t/multi_client gearmand/gearmand |
1004 | + @$(VALGRIND_COMMAND) t/multi_client |
1005 | + |
1006 | +t_internals_SOURCES= |
1007 | +t_internals_LDADD= |
1008 | + |
1009 | +t_internals_SOURCES+= tests/libgearman-1.0/internals.cc |
1010 | +t_internals_SOURCES+= tests/libgearman-1.0/regression.cc |
1011 | +t_internals_LDADD+= ${LIBGEARMAN_1_0_CLIENT_LDADD} |
1012 | +t_internals_LDADD+= libgearman/libgearmancore.la |
1013 | +check_PROGRAMS+= t/internals |
1014 | +noinst_PROGRAMS+= t/internals |
1015 | + |
1016 | +t_worker_LDADD= |
1017 | +t_worker_SOURCES= |
1018 | + |
1019 | +t_worker_SOURCES+= tests/libgearman-1.0/worker_test.cc |
1020 | +t_worker_SOURCES+= tests/workers/v2/call_exception.cc |
1021 | +t_worker_SOURCES+= tests/workers/v2/echo_or_react.cc |
1022 | +t_worker_SOURCES+= tests/workers/v2/echo_or_react_chunk.cc |
1023 | +t_worker_LDADD+= ${LIBGEARMAN_1_0_CLIENT_LDADD} |
1024 | +t_worker_LDADD+= libgearman/libgearmancore.la |
1025 | +check_PROGRAMS+=t/worker |
1026 | +noinst_PROGRAMS+=t/worker |
1027 | + |
1028 | +test-internals: t/internals gearmand/gearmand |
1029 | + @t/internals |
1030 | + |
1031 | +gdb-internals: t/internals gearmand/gearmand |
1032 | + @$(GDB_COMMAND) t/internals |
1033 | + |
1034 | +helgrind-internals: t/internals gearmand/gearmand |
1035 | + @$(HELGRIND_COMMAND) t/internals |
1036 | + |
1037 | + |
1038 | +valgrind-internals: t/internals gearmand/gearmand |
1039 | + @$(VALGRIND_COMMAND) t/internals |
1040 | + |
1041 | +valgrind-worker: t/worker gearmand/gearmand |
1042 | + @$(VALGRIND_COMMAND) t/worker |
1043 | + |
1044 | +massif-worker: t/worker gearmand/gearmand |
1045 | + @$(MASSIF_COMMAND) t/worker |
1046 | + |
1047 | +helgrind-worker: t/worker gearmand/gearmand |
1048 | + @$(HELGRIND_COMMAND) t/worker |
1049 | + |
1050 | +gdb-worker: t/libgearman-1.0/worker gearmand/gearmand |
1051 | + @$(GDB_COMMAND) t/worker |
1052 | + |
1053 | +ptrdiff-worker: t/worker gearmand/gearmand |
1054 | + @$(PTRCHECK_COMMAND) t/worker |
1055 | + |
1056 | +test-worker: t/worker gearmand/gearmand |
1057 | + @t/worker |
1058 | + |
1059 | +test-client: t/client gearmand/gearmand |
1060 | + @t/client |
1061 | + |
1062 | +gdb-client: t/client gearmand/gearmand |
1063 | + @$(GDB_COMMAND) t/client |
1064 | + |
1065 | +valgrind-client: t/client_test gearmand/gearmand |
1066 | + @$(VALGRIND_COMMAND) t/client |
1067 | + |
1068 | +t_1077917_SOURCES= tests/libgearman-1.0/1077917.c |
1069 | +t_1077917_LDADD= libgearman/libgearman.la |
1070 | +check_PROGRAMS+= t/1077917 |
1071 | +noinst_PROGRAMS+= t/1077917 |
1072 | + |
1073 | +valgrind-1077917: t/1077917 |
1074 | + @$(VALGRIND_COMMAND) --leak-check=full --show-reachable=yes --track-origins=yes t/1077917 |
1075 | |
1076 | === modified file 'tests/libmemcached.am' |
1077 | --- tests/libmemcached.am 2013-01-14 03:04:28 +0000 |
1078 | +++ tests/libmemcached.am 2013-07-03 03:55:32 +0000 |
1079 | @@ -10,31 +10,31 @@ |
1080 | # All paths should be given relative to the root |
1081 | # |
1082 | |
1083 | -tests_memcached_test_CXXFLAGS= |
1084 | -tests_memcached_test_SOURCES= |
1085 | -tests_memcached_test_LDADD= |
1086 | +t_memcached_CXXFLAGS= |
1087 | +t_memcached_SOURCES= |
1088 | +t_memcached_LDADD= |
1089 | |
1090 | -tests_memcached_test_SOURCES+= tests/basic.cc |
1091 | -tests_memcached_test_SOURCES+= tests/memcached_test.cc |
1092 | -tests_memcached_test_LDADD+= libgearman/libgearman.la |
1093 | -tests_memcached_test_LDADD+= libtest/libtest.la |
1094 | -tests_memcached_test_LDADD+= tests/libstartworker.la |
1095 | +t_memcached_SOURCES+= tests/basic.cc |
1096 | +t_memcached_SOURCES+= tests/memcached_test.cc |
1097 | +t_memcached_LDADD+= libgearman/libgearman.la |
1098 | +t_memcached_LDADD+= libtest/libtest.la |
1099 | +t_memcached_LDADD+= tests/libstartworker.la |
1100 | |
1101 | if HAVE_LIBMEMCACHED |
1102 | |
1103 | -tests_memcached_test_CXXFLAGS+= $(LIBMEMCACHED_CFLAGS) |
1104 | -tests_memcached_test_LDADD+= $(LIBMEMCACHED_UTIL_LIB) |
1105 | +t_memcached_CXXFLAGS+= $(LIBMEMCACHED_CFLAGS) |
1106 | +t_memcached_LDADD+= $(LIBMEMCACHED_UTIL_LIB) |
1107 | |
1108 | endif |
1109 | |
1110 | -check_PROGRAMS+= tests/memcached_test |
1111 | -noinst_PROGRAMS+= tests/memcached_test |
1112 | - |
1113 | -test-libmemcached: tests/memcached_test gearmand/gearmand |
1114 | - @tests/memcached_test |
1115 | - |
1116 | -valgrind-libmemcached: tests/memcached_test gearmand/gearmand |
1117 | - @$(VALGRIND_COMMAND) tests/memcached_test |
1118 | - |
1119 | -gdb-libmemcached: tests/memcached_test gearmand/gearmand |
1120 | - @$(GDB_COMMAND) tests/memcached_test |
1121 | +check_PROGRAMS+= t/memcached |
1122 | +noinst_PROGRAMS+= t/memcached |
1123 | + |
1124 | +test-libmemcached: t/memcached gearmand/gearmand |
1125 | + @t/memcached |
1126 | + |
1127 | +valgrind-libmemcached: t/memcached gearmand/gearmand |
1128 | + @$(VALGRIND_COMMAND) t/memcached |
1129 | + |
1130 | +gdb-libmemcached: t/memcached gearmand/gearmand |
1131 | + @$(GDB_COMMAND) tests/memcached |
1132 | |
1133 | === modified file 'tests/mysql.am' |
1134 | --- tests/mysql.am 2012-12-17 06:25:48 +0000 |
1135 | +++ tests/mysql.am 2013-07-03 03:55:32 +0000 |
1136 | @@ -9,23 +9,23 @@ |
1137 | # Included from Top Level Makefile.am |
1138 | # All paths should be given relative to the root |
1139 | # |
1140 | -tests_mysql_test_SOURCES= |
1141 | -tests_mysql_test_CXXFLAGS= |
1142 | -tests_mysql_test_LDADD= |
1143 | - |
1144 | -tests_mysql_test_SOURCES+= tests/basic.cc |
1145 | -tests_mysql_test_SOURCES+= tests/mysql_test.cc |
1146 | - |
1147 | -tests_mysql_test_LDADD+= ${CLIENT_LDADD} |
1148 | - |
1149 | -check_PROGRAMS+= tests/mysql_test |
1150 | -noinst_PROGRAMS+= tests/mysql_test |
1151 | - |
1152 | -test-mysql: tests/mysql_test gearmand/gearmand |
1153 | - @tests/mysql_test |
1154 | - |
1155 | -gdb-mysql: tests/mysql_test gearmand/gearmand |
1156 | - @$(GDB_COMMAND) tests/mysql_test |
1157 | - |
1158 | -valgrind-mysql: tests/mysql_test gearmand/gearmand |
1159 | - @$(VALGRIND_COMMAND) tests/mysql_test |
1160 | +t_mysql_SOURCES= |
1161 | +t_mysql_CXXFLAGS= |
1162 | +t_mysql_LDADD= |
1163 | + |
1164 | +t_mysql_SOURCES+= tests/basic.cc |
1165 | +t_mysql_SOURCES+= tests/mysql_test.cc |
1166 | + |
1167 | +t_mysql_LDADD+= ${CLIENT_LDADD} |
1168 | + |
1169 | +check_PROGRAMS+= t/mysql |
1170 | +noinst_PROGRAMS+= t/mysql |
1171 | + |
1172 | +test-mysql: t/mysql gearmand/gearmand |
1173 | + @t/mysql |
1174 | + |
1175 | +gdb-mysql: t/mysql gearmand/gearmand |
1176 | + @$(GDB_COMMAND) t/mysql |
1177 | + |
1178 | +valgrind-mysql: t/mysql gearmand/gearmand |
1179 | + @$(VALGRIND_COMMAND) t/mysql |
1180 | |
1181 | === modified file 'tests/postgres.am' |
1182 | --- tests/postgres.am 2012-12-17 06:25:48 +0000 |
1183 | +++ tests/postgres.am 2013-07-03 03:55:32 +0000 |
1184 | @@ -10,23 +10,23 @@ |
1185 | # All paths should be given relative to the root |
1186 | # |
1187 | |
1188 | -tests_postgres_test_SOURCES= |
1189 | -tests_postgres_test_CXXFLAGS= |
1190 | -tests_postgres_test_LDADD= |
1191 | - |
1192 | -tests_postgres_test_SOURCES+= tests/basic.cc |
1193 | -tests_postgres_test_SOURCES+= tests/postgres_test.cc |
1194 | - |
1195 | -tests_postgres_test_LDADD+= ${CLIENT_LDADD} |
1196 | - |
1197 | -check_PROGRAMS += tests/postgres_test |
1198 | -noinst_PROGRAMS += tests/postgres_test |
1199 | - |
1200 | -test-postgres: tests/postgres_test gearmand/gearmand |
1201 | - @tests/postgres_test |
1202 | - |
1203 | -gdb-postgres: tests/postgres_test gearmand/gearmand |
1204 | - @$(GDB_COMMAND) tests/postgres_test |
1205 | - |
1206 | -valgrind-postgres: tests/postgres_test gearmand/gearmand |
1207 | - @$(VALGRIND_COMMAND) tests/postgres_test |
1208 | +t_postgres_SOURCES= |
1209 | +t_postgres_CXXFLAGS= |
1210 | +t_postgres_LDADD= |
1211 | + |
1212 | +t_postgres_SOURCES+= tests/basic.cc |
1213 | +t_postgres_SOURCES+= tests/postgres_test.cc |
1214 | + |
1215 | +t_postgres_LDADD+= ${CLIENT_LDADD} |
1216 | + |
1217 | +check_PROGRAMS += t/postgres |
1218 | +noinst_PROGRAMS += t/postgres |
1219 | + |
1220 | +test-postgres: t/postgres gearmand/gearmand |
1221 | + @t/postgres |
1222 | + |
1223 | +gdb-postgres: t/postgres gearmand/gearmand |
1224 | + @$(GDB_COMMAND) t/postgres |
1225 | + |
1226 | +valgrind-postgres: t/postgres gearmand/gearmand |
1227 | + @$(VALGRIND_COMMAND) t/postgres |
1228 | |
1229 | === modified file 'tests/protocol.mk' |
1230 | --- tests/protocol.mk 2013-06-27 21:23:13 +0000 |
1231 | +++ tests/protocol.mk 2013-07-03 03:55:32 +0000 |
1232 | @@ -7,21 +7,21 @@ |
1233 | # Use and distribution licensed under the BSD license. See |
1234 | # the COPYING file in the parent directory for full text. |
1235 | |
1236 | -tests_protocol_SOURCES= |
1237 | -tests_protocol_LDADD= |
1238 | - |
1239 | -tests_protocol_SOURCES+= tests/protocol.cc |
1240 | -tests_protocol_LDADD+= ${LIBGEARMAN_1_0_CLIENT_LDADD} |
1241 | -tests_protocol_LDADD+= libgearman/libgearmancore.la |
1242 | -check_PROGRAMS+= tests/protocol |
1243 | -noinst_PROGRAMS+= tests/protocol |
1244 | - |
1245 | -test-protocol: tests/protocol gearmand/gearmand |
1246 | - @tests/protocol |
1247 | - |
1248 | -gdb-protocol: tests/protocol gearmand/gearmand |
1249 | - @$(GDB_COMMAND) tests/protocol |
1250 | - |
1251 | -valgrind-protocol: tests/protocol gearmand/gearmand |
1252 | - @$(VALGRIND_COMMAND) tests/protocol |
1253 | +t_protocol_SOURCES= |
1254 | +t_protocol_LDADD= |
1255 | + |
1256 | +t_protocol_SOURCES+= tests/protocol.cc |
1257 | +t_protocol_LDADD+= ${LIBGEARMAN_1_0_CLIENT_LDADD} |
1258 | +t_protocol_LDADD+= libgearman/libgearmancore.la |
1259 | +check_PROGRAMS+= t/protocol |
1260 | +noinst_PROGRAMS+= t/protocol |
1261 | + |
1262 | +test-protocol: t/protocol gearmand/gearmand |
1263 | + @t/protocol |
1264 | + |
1265 | +gdb-protocol: t/protocol gearmand/gearmand |
1266 | + @$(GDB_COMMAND) t/protocol |
1267 | + |
1268 | +valgrind-protocol: t/protocol gearmand/gearmand |
1269 | + @$(VALGRIND_COMMAND) t/protocol |
1270 | |
1271 | |
1272 | === modified file 'tests/redis.am' |
1273 | --- tests/redis.am 2012-12-17 06:25:48 +0000 |
1274 | +++ tests/redis.am 2013-07-03 03:55:32 +0000 |
1275 | @@ -9,19 +9,19 @@ |
1276 | # Included from Top Level Makefile.am |
1277 | # All paths should be given relative to the root |
1278 | # |
1279 | -tests_redis_test_CXXFLAGS= |
1280 | -tests_redis_test_SOURCES= |
1281 | -tests_redis_test_LDADD= |
1282 | - |
1283 | -tests_redis_test_LDADD+= ${CLIENT_LDADD} |
1284 | -tests_redis_test_SOURCES+= tests/basic.cc |
1285 | -tests_redis_test_SOURCES+= tests/redis.cc |
1286 | - |
1287 | -#check_PROGRAMS += tests/redis_test |
1288 | -noinst_PROGRAMS += tests/redis_test |
1289 | - |
1290 | -test-redis: tests/redis_test gearmand/gearmand |
1291 | - @tests/redis_test |
1292 | - |
1293 | -gdb-redis: tests/redis_test gearmand/gearmand |
1294 | - @$(GDB_COMMAND) tests/redis_test |
1295 | +t_redis_CXXFLAGS= |
1296 | +t_redis_SOURCES= |
1297 | +t_redis_LDADD= |
1298 | + |
1299 | +t_redis_LDADD+= ${CLIENT_LDADD} |
1300 | +t_redis_SOURCES+= tests/basic.cc |
1301 | +t_redis_SOURCES+= tests/redis.cc |
1302 | + |
1303 | +#check_PROGRAMS += t/redis |
1304 | +noinst_PROGRAMS += t/redis |
1305 | + |
1306 | +test-redis: tests/redis gearmand/gearmand |
1307 | + @tests/redis |
1308 | + |
1309 | +gdb-redis: tests/redis gearmand/gearmand |
1310 | + @$(GDB_COMMAND) tests/redis |
1311 | |
1312 | === modified file 'tests/sqlite.am' |
1313 | --- tests/sqlite.am 2012-12-17 06:25:48 +0000 |
1314 | +++ tests/sqlite.am 2013-07-03 03:55:32 +0000 |
1315 | @@ -13,29 +13,29 @@ |
1316 | CLEANFILES+= tests/gearman.sql tests/gearman.sql-journal tests/gearmand.log* |
1317 | |
1318 | if HAVE_LIBSQLITE3 |
1319 | -tests_sqlite_test_CFLAGS= |
1320 | -tests_sqlite_test_CXXFLAGS= |
1321 | -tests_sqlite_test_LDADD= |
1322 | -tests_sqlite_test_SOURCES= |
1323 | - |
1324 | -tests_sqlite_test_CFLAGS+= @SQLITE3_CFLAGS@ |
1325 | -tests_sqlite_test_CXXFLAGS+= @SQLITE3_CFLAGS@ |
1326 | -tests_sqlite_test_LDADD+= @SQLITE3_LDFLAGS@ |
1327 | -tests_sqlite_test_SOURCES+= tests/basic.cc |
1328 | -tests_sqlite_test_SOURCES+= tests/sqlite_test.cc |
1329 | -tests_sqlite_test_LDADD+= $(CLIENT_LDADD) |
1330 | -check_PROGRAMS+= tests/sqlite_test |
1331 | -noinst_PROGRAMS+= tests/sqlite_test |
1332 | - |
1333 | -test-sqlite: tests/sqlite_test gearmand/gearmand |
1334 | +t_sqlite_CFLAGS= |
1335 | +t_sqlite_CXXFLAGS= |
1336 | +t_sqlite_LDADD= |
1337 | +t_sqlite_SOURCES= |
1338 | + |
1339 | +t_sqlite_CFLAGS+= @SQLITE3_CFLAGS@ |
1340 | +t_sqlite_CXXFLAGS+= @SQLITE3_CFLAGS@ |
1341 | +t_sqlite_LDADD+= @SQLITE3_LDFLAGS@ |
1342 | +t_sqlite_SOURCES+= tests/basic.cc |
1343 | +t_sqlite_SOURCES+= tests/sqlite_test.cc |
1344 | +t_sqlite_LDADD+= $(CLIENT_LDADD) |
1345 | +check_PROGRAMS+= t/sqlite |
1346 | +noinst_PROGRAMS+= t/sqlite |
1347 | + |
1348 | +test-sqlite: t/sqlite gearmand/gearmand |
1349 | @tests/sqlite_test |
1350 | |
1351 | -gdb-sqlite: tests/sqlite_test gearmand/gearmand |
1352 | - @$(GDB_COMMAND) tests/sqlite_test |
1353 | - |
1354 | -helgrind-sqlite: tests/sqlite_test gearmand/gearmand |
1355 | - @$(HELGRIND_COMMAND) tests/sqlite_test |
1356 | - |
1357 | -valgrind-sqlite: tests/sqlite_test gearmand/gearmand |
1358 | - @$(VALGRIND_COMMAND) tests/sqlite_test |
1359 | +gdb-sqlite: t/sqlite gearmand/gearmand |
1360 | + @$(GDB_COMMAND) t/sqlite |
1361 | + |
1362 | +helgrind-sqlite: t/sqlite gearmand/gearmand |
1363 | + @$(HELGRIND_COMMAND) t/sqlite |
1364 | + |
1365 | +valgrind-sqlite: t/sqlite gearmand/gearmand |
1366 | + @$(VALGRIND_COMMAND) t/sqlite |
1367 | endif |
1368 | |
1369 | === modified file 'tests/stress.am' |
1370 | --- tests/stress.am 2013-05-07 09:45:37 +0000 |
1371 | +++ tests/stress.am 2013-07-03 03:55:32 +0000 |
1372 | @@ -10,23 +10,23 @@ |
1373 | # All paths should be given relative to the root |
1374 | # |
1375 | |
1376 | -tests_stress_CFLAGS= |
1377 | -tests_stress_CXXFLAGS= |
1378 | -tests_stress_LDADD= |
1379 | -tests_stress_SOURCES= |
1380 | - |
1381 | -tests_stress_SOURCES+= tests/burnin.cc |
1382 | -tests_stress_LDADD+= libgearman/libgearman.la |
1383 | -tests_stress_LDADD+= libtest/libtest.la |
1384 | -tests_stress_LDADD+= tests/libstartworker.la |
1385 | -check_PROGRAMS+=tests/stress |
1386 | -noinst_PROGRAMS+=tests/stress |
1387 | - |
1388 | -test-stress: tests/stress gearmand/gearmand |
1389 | - @tests/stress |
1390 | - |
1391 | -valgrind-stress: tests/stress gearmand/gearmand |
1392 | - @$(VALGRIND_COMMAND) tests/stress |
1393 | - |
1394 | -gdb-stress: tests/stress gearmand/gearmand |
1395 | - @$(GDB_COMMAND) tests/stress |
1396 | +t_stress_CFLAGS= |
1397 | +t_stress_CXXFLAGS= |
1398 | +t_stress_LDADD= |
1399 | +t_stress_SOURCES= |
1400 | + |
1401 | +t_stress_SOURCES+= tests/burnin.cc |
1402 | +t_stress_LDADD+= libgearman/libgearman.la |
1403 | +t_stress_LDADD+= libtest/libtest.la |
1404 | +t_stress_LDADD+= tests/libstartworker.la |
1405 | +check_PROGRAMS+=t/stress |
1406 | +noinst_PROGRAMS+=t/stress |
1407 | + |
1408 | +test-stress: t/stress gearmand/gearmand |
1409 | + @t/stress |
1410 | + |
1411 | +valgrind-stress: t/stress gearmand/gearmand |
1412 | + @$(VALGRIND_COMMAND) t/stress |
1413 | + |
1414 | +gdb-stress: t/stress gearmand/gearmand |
1415 | + @$(GDB_COMMAND) t/stress |
1416 | |
1417 | === modified file 'tests/tokyocabinet.am' |
1418 | --- tests/tokyocabinet.am 2012-12-17 06:25:48 +0000 |
1419 | +++ tests/tokyocabinet.am 2013-07-03 03:55:32 +0000 |
1420 | @@ -10,17 +10,17 @@ |
1421 | # All paths should be given relative to the root |
1422 | # |
1423 | |
1424 | -tests_tokyocabinet_test_SOURCES= |
1425 | -tests_tokyocabinet_test_LDADD= |
1426 | - |
1427 | -tests_tokyocabinet_test_LDADD+= $(CLIENT_LDADD) |
1428 | -tests_tokyocabinet_test_SOURCES+= tests/tokyocabinet_test.cc |
1429 | -tests_tokyocabinet_test_SOURCES+= tests/basic.cc |
1430 | -check_PROGRAMS+= tests/tokyocabinet_test |
1431 | -noinst_PROGRAMS+= tests/tokyocabinet_test |
1432 | - |
1433 | -test-tokyocabinet: tests/tokyocabinet_test gearmand/gearmand |
1434 | - @tests/tokyocabinet_test |
1435 | - |
1436 | -valgrind-tokyocabinet: tests/tokyocabinet_test gearmand/gearmand |
1437 | - @$(VALGRIND_COMMAND) tests/tokyocabinet_test |
1438 | +t_tokyocabinet_SOURCES= |
1439 | +t_tokyocabinet_LDADD= |
1440 | + |
1441 | +t_tokyocabinet_LDADD+= $(CLIENT_LDADD) |
1442 | +t_tokyocabinet_SOURCES+= tests/tokyocabinet_test.cc |
1443 | +t_tokyocabinet_SOURCES+= tests/basic.cc |
1444 | +check_PROGRAMS+= t/tokyocabinet |
1445 | +noinst_PROGRAMS+= t/tokyocabinet |
1446 | + |
1447 | +test-tokyocabinet: t/tokyocabinet gearmand/gearmand |
1448 | + @tests/tokyocabinet |
1449 | + |
1450 | +valgrind-tokyocabinet: t/tokyocabinet gearmand/gearmand |
1451 | + @$(VALGRIND_COMMAND) t/tokyocabinet |