2 # Copyright (C) 2011 Data Differential (http://datadifferential.com/)
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
12 LIBUTEST_TMP = ${abs_top_builddir}/tests/var/tmp/
14 VALGRIND_COMMAND= $(LIBTOOL) --mode=execute valgrind --error-exitcode=1 --leak-check=yes --show-reachable=yes --track-fds=yes --malloc-fill=A5 --free-fill=DE
23 libtest/collection.h \
37 libtest/visibility.h \
40 noinst_LTLIBRARIES+= libtest/libserver.la
41 libtest_libserver_la_SOURCES= \
43 libtest/memcached.cc \
46 noinst_LTLIBRARIES+= libtest/libtest.la
47 libtest_libtest_la_SOURCES=\
48 libtest/framework.cc \
50 libtest_libtest_la_CFLAGS= ${AM_CFLAGS} ${NO_CONVERSION} -DBUILDING_LIBTEST
51 libtest_libtest_la_CXXFLAGS= ${AM_CXXFLAGS} ${NO_CONVERSION} -DBUILDING_LIBTEST
54 @rm -f tests/var/log/*
55 @rm -f tests/var/run/*
56 @rm -f tests/var/tmp/*
59 tests/var: tests/var/log tests/var/tmp tests/var/run clearn-var
63 $(mkdir_p) tests/var/log
66 $(mkdir_p) tests/var/tmp
69 $(mkdir_p) tests/var/run
71 libtest_unittest_LDADD= \
73 libtest_unittest_SOURCES= \
75 noinst_PROGRAMS+= libtest/unittest
76 check_PROGRAMS+= libtest/unittest
78 libtest_wait_SOURCES= libtest/wait.cc
79 noinst_PROGRAMS+= libtest/wait