X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Finclude.am;h=bbfaebd56ef412bc28af5b8b5942b212ad34c90d;hb=118defb3246857a80d36ee1a8ee8b2b789fb6f09;hp=e1bf136884e84cb481d1666b1e4283c9567c0fd8;hpb=d753fca27268b2d3ab6bce64411c65287acbe25d;p=awesomized%2Flibmemcached diff --git a/tests/include.am b/tests/include.am index e1bf1368..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,7 @@ 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: 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 @@ -215,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)