Merge lp:~tangent-org/libmemcached/1.0-build/ Build: jenkins-Libmemcached-187
[m6w6/libmemcached] / tests / cli.am
1 # vim:ft=automake
2 # Copyright (C) 2012 Data Differential
3 # All rights reserved.
4 #
5 # Use and distribution licensed under the BSD license. See
6 # the COPYING file in the parent directory for full text.
7 #
8 # included from Top Level Makefile.am
9 # All paths should be given relative to the root
10
11
12 tests_memcapable_SOURCES= tests/memcapable.cc
13 tests_memcapable_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
14 EXTRA_tests_memcapable_DEPENDENCIES= clients/memcapable
15 tests_memcapable_LDADD= libtest/libtest.la $(TESTS_LDADDS)
16 check_PROGRAMS+= tests/memcapable
17 noinst_PROGRAMS+= tests/memcapable
18
19 tests_memstat_SOURCES= tests/memstat.cc
20 tests_memstat_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
21 EXTRA_tests_memstat_DEPENDENCIES= clients/memstat
22 tests_memstat_LDADD= libtest/libtest.la $(TESTS_LDADDS)
23 check_PROGRAMS+= tests/memstat
24 noinst_PROGRAMS+= tests/memstat
25
26 tests_memcp_SOURCES= tests/memcp.cc
27 tests_memcp_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
28 EXTRA_tests_memcp_DEPENDENCIES= clients/memcp
29 tests_memcp_LDADD= libtest/libtest.la $(TESTS_LDADDS)
30 check_PROGRAMS+= tests/memcp
31 noinst_PROGRAMS+= tests/memcp
32
33 tests_memflush_SOURCES= tests/memflush.cc
34 tests_memflush_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
35 EXTRA_tests_memflush_DEPENDENCIES= clients/memflush
36 tests_memflush_LDADD= libtest/libtest.la $(TESTS_LDADDS)
37 check_PROGRAMS+= tests/memflush
38 noinst_PROGRAMS+= tests/memflush
39
40 tests_memrm_SOURCES= tests/memrm.cc
41 tests_memrm_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
42 EXTRA_tests_memrm_DEPENDENCIES= clients/memrm
43 tests_memrm_LDADD= libtest/libtest.la $(TESTS_LDADDS)
44 check_PROGRAMS+= tests/memrm
45 noinst_PROGRAMS+= tests/memrm
46
47 tests_memexist_SOURCES= tests/memexist.cc
48 tests_memexist_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
49 EXTRA_tests_memexist_DEPENDENCIES= clients/memexist
50 tests_memexist_LDADD= libtest/libtest.la $(TESTS_LDADDS)
51 check_PROGRAMS+= tests/memexist
52 noinst_PROGRAMS+= tests/memexist
53
54 tests_memtouch_SOURCES= tests/memtouch.cc
55 tests_memtouch_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
56 EXTRA_tests_memtouch_DEPENDENCIES= clients/memtouch
57 tests_memtouch_LDADD= libtest/libtest.la $(TESTS_LDADDS)
58 check_PROGRAMS+= tests/memtouch
59 noinst_PROGRAMS+= tests/memtouch
60
61 tests_memcat_SOURCES= tests/memcat.cc
62 tests_memcat_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
63 EXTRA_tests_memcat_DEPENDENCIES= clients/memcat
64 tests_memcat_LDADD= libtest/libtest.la $(TESTS_LDADDS)
65 check_PROGRAMS+= tests/memcat
66 noinst_PROGRAMS+= tests/memcat
67
68 tests_memerror_SOURCES= tests/memerror.cc
69 tests_memerror_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
70 EXTRA_tests_memerror_DEPENDENCIES= clients/memerror
71 tests_memerror_LDADD= libtest/libtest.la $(TESTS_LDADDS)
72 check_PROGRAMS+= tests/memerror
73 noinst_PROGRAMS+= tests/memerror
74
75 tests_memslap_SOURCES= tests/memslap.cc
76 tests_memslap_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
77 EXTRA_tests_memslap_DEPENDENCIES= clients/memslap
78 tests_memslap_LDADD= libtest/libtest.la $(TESTS_LDADDS)
79 check_PROGRAMS+= tests/memslap
80 noinst_PROGRAMS+= tests/memslap
81
82 test-memslap: tests/memslap
83 @tests/memslap
84
85 gdb-memslap: tests/memslap
86 @$(GDB_COMMAND) tests/memslap
87
88 tests_memdump_SOURCES= tests/memdump.cc
89 tests_memdump_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX)
90 EXTRA_tests_memdump_DEPENDENCIES= clients/memdump
91 tests_memdump_LDADD= libtest/libtest.la $(TESTS_LDADDS)
92 check_PROGRAMS+= tests/memdump
93 noinst_PROGRAMS+= tests/memdump
94
95 test-memstat: tests/memstat
96 tests/memstat
97
98 test-memerror: tests/memerror
99 tests/memerror
100
101 test-memtouch: tests/memtouch
102 tests/memtouch
103
104 valgrind-memerror: tests/memerror
105 @$(VALGRIND_COMMAND) tests/memerror
106
107 valgrind-memtouch: tests/memtouch
108 @$(VALGRIND_COMMAND) tests/memtouch