1 INCLUDES = -I$(top_builddir)/include -I$(top_builddir)/lib
2 LDADDS = ../lib/libmemcached.la
4 EXTRA_DIST = output.res output2.res\
18 noinst_HEADERS = test.h
19 noinst_PROGRAMS = testapp
21 testapp_SOURCES = test.c function.c ../src/generator.c ../src/execute.c
22 testapp_LDADD = $(LDADDS)
25 ./testapp > output.res
26 sh t/memcat.test > r/memcat.res
27 sh t/memcp.test > r/memcp.res
28 sh t/memrm.test > r/memrm.res
29 sh t/memslap.test > r/memslap.res
30 sh t/memstat.test > r/memstat.res
33 ./testapp extended > output2.res
36 ./testapp > output.cmp
37 diff output.res output.cmp
38 sh t/memcat.test > r/memcat.cmp
39 diff r/memcat.res r/memcat.cmp
40 sh t/memcp.test > r/memcp.cmp
41 diff r/memcp.res r/memcp.cmp
42 sh t/memrm.test > r/memrm.cmp
43 diff r/memrm.res r/memrm.cmp
44 sh t/memslap.test > r/memslap.cmp
45 diff r/memslap.res r/memslap.cmp
46 sh t/memstat.test > r/memstat.cmp
47 diff r/memstat.res r/memstat.cmp
49 test-extended: testapp
50 ./testapp extended > output.cmp
51 diff output2.res output.cmp
54 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes testapp