1 INCLUDES = -I$(top_builddir)/include
2 LDADDS = ../lib/libmemcached.la
4 EXTRA_DIST = output.res output2.res\
18 noinst_PROGRAMS = testapp
20 testapp_SOURCES = test.c
21 testapp_LDADD = $(LDADDS)
24 ./testapp > output.res
25 sh t/memcat.test > r/memcat.res
26 sh t/memcp.test > r/memcp.res
27 sh t/memrm.test > r/memrm.res
28 sh t/memslap.test > r/memslap.res
29 sh t/memstat.test > r/memstat.res
32 ./testapp extended > output2.res
35 ./testapp > output.cmp
36 diff output.res output.cmp
37 sh t/memcat.test > r/memcat.cmp
38 diff r/memcat.res r/memcat.cmp
39 sh t/memcp.test > r/memcp.cmp
40 diff r/memcp.res r/memcp.cmp
41 sh t/memrm.test > r/memrm.cmp
42 diff r/memrm.res r/memrm.cmp
43 sh t/memslap.test > r/memslap.cmp
44 diff r/memslap.res r/memslap.cmp
45 sh t/memstat.test > r/memstat.cmp
46 diff r/memstat.res r/memstat.cmp
48 test-extended: testapp
49 ./testapp extended > output.cmp
50 diff output2.res output.cmp
53 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes testapp
56 libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes testapp extended