X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Finclude.am;h=bbfaebd56ef412bc28af5b8b5942b212ad34c90d;hb=a6d18834a85d2a65caae820ee426169af5aff800;hp=db6f23f6cb70da8db486bd35d92bbeb19a9f1d10;hpb=3ddd6cf2902491eab9d6ecf6e30b0b324c7a6f1f;p=m6w6%2Flibmemcached diff --git a/tests/include.am b/tests/include.am index db6f23f6..bbfaebd5 100644 --- a/tests/include.am +++ b/tests/include.am @@ -8,6 +8,8 @@ VALGRIND_COMMAND= $(LIBTOOL) --mode=execute valgrind --leak-check=yes --show-rea DEBUG_COMMAND= $(LIBTOOL) --mode=execute gdb +PAHOLE_COMMAND= $(LIBTOOL) --mode=execute pahole + if BUILD_LIBMEMCACHEDUTIL TESTS_LDADDS+= libmemcached/libmemcachedutil.la endif @@ -75,7 +77,10 @@ tests_testhashkit_SOURCES = tests/hashkit_functions.c tests_testhashkit_LDADD = tests/libtest.la libhashkit/libhashkit.la tests_testhashkit_DEPENDENCIES = $(tests_testhashkit_LDADD) -test: test-docs test-plus test-mem test-hash memcapable test-memcat test-memcp test-memrm test-memerror test-memdump test-memflush test-memstat +test: test-docs test-mem test-hash memcapable + echo "Tests completed" + +test-x: test-docs test-plus test-mem test-hash memcapable test-memcat test-memcp test-memrm test-memerror test-memdump test-memflush test-memstat echo "Tests completed" memcapable: clients/memcapable @@ -212,6 +217,10 @@ test-plus: tests/testplus test-hash: tests/testhashkit $(HASH_COMMAND) +pahole-mem: tests/testapp + $(PAHOLE_COMMAND) $(MEM_COMMAND) + + gdb-mem: tests/testapp $(DEBUG_COMMAND) $(MEM_COMMAND)