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
16 tests/error_conditions.h \
19 tests/ketama_test_cases.h \
20 tests/ketama_test_cases_spy.h \
21 tests/libmemcached-1.0/dump.h \
22 tests/libmemcached-1.0/stat.h \
31 tests/virtual_buckets.h
34 tests_libmemcached_1_0_internals_SOURCES= tests/libmemcached-1.0/internals.cc
35 tests_libmemcached_1_0_internals_SOURCES+= tests/libmemcached-1.0/string.cc
36 tests_libmemcached_1_0_internals_CXXFLAGS = $(AM_CXXFLAGS) ${PTHREAD_CFLAGS}
37 tests_libmemcached_1_0_internals_DEPENDENCIES= libmemcachedinternal/libmemcachedinternal.la libtest/libtest.la libmemcachedinternal/libmemcachedutilinternal.la
38 tests_libmemcached_1_0_internals_LDADD= libmemcachedinternal/libmemcachedinternal.la
39 tests_libmemcached_1_0_internals_LDADD+= ${PTHREAD_LIBS}
40 tests_libmemcached_1_0_internals_LDADD+= libmemcachedinternal/libmemcachedutilinternal.la
41 tests_libmemcached_1_0_internals_LDADD+= libtest/libtest.la
42 check_PROGRAMS+= tests/libmemcached-1.0/internals
43 noinst_PROGRAMS+= tests/libmemcached-1.0/internals
46 tests_libmemcached_1_0_testapp_CXXFLAGS = $(AM_CXXFLAGS) ${PTHREAD_CFLAGS}
47 tests_libmemcached_1_0_testapp_CFLAGS= $(AM_CFLAGS) $(NO_CONVERSION) $(NO_STRICT_ALIASING)
48 tests_libmemcached_1_0_testapp_SOURCES= \
49 tests/libmemcached-1.0/pool.cc \
50 tests/libmemcached-1.0/print.cc \
51 tests/libmemcached-1.0/replication.cc \
52 tests/libmemcached-1.0/basic.cc \
53 tests/libmemcached-1.0/callbacks.cc \
54 tests/libmemcached-1.0/debug.cc \
55 tests/libmemcached-1.0/deprecated.cc \
56 tests/libmemcached-1.0/dump.cc \
57 tests/libmemcached-1.0/error_conditions.cc \
58 tests/libmemcached-1.0/exist.cc \
59 tests/libmemcached-1.0/ketama.cc \
60 tests/libmemcached-1.0/mem_functions.cc \
61 tests/libmemcached-1.0/namespace.cc \
62 tests/libmemcached-1.0/parser.cc \
63 tests/libmemcached-1.0/server_add.cc \
64 tests/libmemcached-1.0/stat.cc \
65 tests/libmemcached-1.0/touch.cc \
66 tests/libmemcached-1.0/virtual_buckets.cc
68 tests_libmemcached_1_0_testapp_SOURCES+= clients/generator.cc clients/execute.cc
69 tests_libmemcached_1_0_testapp_DEPENDENCIES= \
70 libmemcached/libmemcached.la \
72 libhashkit/libhashkit.la \
73 libmemcached/libmemcachedutil.la
75 tests_libmemcached_1_0_testapp_LDADD= \
77 libmemcached/libmemcached.la \
78 libmemcached/libmemcachedutil.la \
80 libhashkit/libhashkit.la
82 check_PROGRAMS+= tests/libmemcached-1.0/testapp
83 noinst_PROGRAMS+= tests/libmemcached-1.0/testapp
85 tests_libmemcached_1_0_sasl_CXXFLAGS = $(AM_CXXFLAGS) ${PTHREAD_CFLAGS}
86 tests_libmemcached_1_0_sasl_CFLAGS= $(AM_CFLAGS) $(NO_CONVERSION) $(NO_STRICT_ALIASING)
87 tests_libmemcached_1_0_sasl_SOURCES= \
88 tests/libmemcached-1.0/basic.cc \
89 tests/libmemcached-1.0/debug.cc \
90 tests/libmemcached-1.0/deprecated.cc \
91 tests/libmemcached-1.0/error_conditions.cc \
92 tests/libmemcached-1.0/ketama.cc \
93 tests/libmemcached-1.0/namespace.cc \
94 tests/libmemcached-1.0/parser.cc \
95 tests/libmemcached-1.0/pool.cc \
96 tests/libmemcached-1.0/print.cc \
97 tests/libmemcached-1.0/replication.cc \
98 tests/libmemcached-1.0/sasl.cc \
99 tests/libmemcached-1.0/virtual_buckets.cc
100 tests_libmemcached_1_0_sasl_SOURCES+= clients/generator.cc clients/execute.cc
101 tests_libmemcached_1_0_sasl_DEPENDENCIES= \
102 libmemcached/libmemcached.la \
104 tests_libmemcached_1_0_sasl_LDADD= \
106 libmemcached/libmemcached.la \
107 libmemcached/libmemcachedutil.la \
109 libhashkit/libhashkit.la
110 check_PROGRAMS+= tests/libmemcached-1.0/sasl
111 noinst_PROGRAMS+= tests/libmemcached-1.0/sasl
113 tests_atomsmasher_SOURCES= \
114 tests/libmemcached-1.0/atomsmasher.cc \
115 tests/libmemcached-1.0/debug.cc \
116 tests/libmemcached-1.0/print.cc \
117 clients/generator.cc \
119 tests_atomsmasher_DEPENDENCIES= $(TESTS_LDADDS)
120 tests_atomsmasher_LDADD= $(tests_atomsmasher_DEPENDENCIES)
121 noinst_PROGRAMS+= tests/atomsmasher
123 tests_testudp_CFLAGS= $(AM_CFLAGS) $(NO_CONVERSION) $(NO_STRICT_ALIASING)
124 tests_testudp_SOURCES= tests/mem_udp.cc
125 tests_testudp_DEPENDENCIES= $(TESTS_LDADDS)
126 tests_testudp_LDADD= $(tests_testudp_DEPENDENCIES)
127 check_PROGRAMS+= tests/testudp
128 noinst_PROGRAMS+= tests/testudp
130 test-udp: tests/testudp
133 tests_testplus_SOURCES= tests/libmemcached-1.0/plus.cpp
134 tests_testplus_CXXFLAGS = $(AM_CXXFLAGS) $(NO_EFF_CXX)
135 tests_testplus_DEPENDENCIES= $(TESTS_LDADDS)
136 tests_testplus_LDADD= $(tests_testplus_DEPENDENCIES)
137 check_PROGRAMS+= tests/testplus
138 noinst_PROGRAMS+= tests/testplus