projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Remove mass calloc() on memcached_st creation.
[awesomized/libmemcached]
/
tests
/
include.am
diff --git
a/tests/include.am
b/tests/include.am
index db6f23f6cb70da8db486bd35d92bbeb19a9f1d10..bbfaebd56ef412bc28af5b8b5942b212ad34c90d 100644
(file)
--- 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
DEBUG_COMMAND= $(LIBTOOL) --mode=execute gdb
+PAHOLE_COMMAND= $(LIBTOOL) --mode=execute pahole
+
if BUILD_LIBMEMCACHEDUTIL
TESTS_LDADDS+= libmemcached/libmemcachedutil.la
endif
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)
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
echo "Tests completed"
memcapable: clients/memcapable
@@
-212,6
+217,10
@@
test-plus: tests/testplus
test-hash: tests/testhashkit
$(HASH_COMMAND)
test-hash: tests/testhashkit
$(HASH_COMMAND)
+pahole-mem: tests/testapp
+ $(PAHOLE_COMMAND) $(MEM_COMMAND)
+
+
gdb-mem: tests/testapp
$(DEBUG_COMMAND) $(MEM_COMMAND)
gdb-mem: tests/testapp
$(DEBUG_COMMAND) $(MEM_COMMAND)