X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=libtest%2Finclude.am;h=7cda0f9b9fb91c4e744cf3b4a1bc708df101bee6;hb=aeb06adc2d73bd2e481c162e3ac162f93a006382;hp=b7cddea607ad3afcc35be7a359f041956ec4f5fa;hpb=e347c3ba4e8368833dfb4a6a4515c750adf1e38b;p=m6w6%2Flibmemcached diff --git a/libtest/include.am b/libtest/include.am index b7cddea6..7cda0f9b 100644 --- a/libtest/include.am +++ b/libtest/include.am @@ -12,9 +12,11 @@ LIBUTEST_TMP = ${abs_top_builddir}/tests/var/tmp/ VALGRIND_COMMAND= $(LIBTOOL) --mode=execute valgrind --error-exitcode=1 --leak-check=yes --show-reachable=yes --track-fds=yes --malloc-fill=A5 --free-fill=DE -HELGRIND_COMMAND= $(LIBTOOL) --mode=execute valgrind --tool=helgrind --read-var-info=yes --error-exitcode=1 +HELGRIND_COMMAND= $(LIBTOOL) --mode=execute valgrind --tool=helgrind --read-var-info=yes --error-exitcode=1 -v DRD_COMMAND= $(LIBTOOL) --mode=execute valgrind --tool=drd -GDB_COMMAND= $(LIBTOOL) --mode=execute gdb +GDB_COMMAND= $(LIBTOOL) --mode=execute gdb -f -x libtest/run.gdb + +EXTRA_DIST+= libtest/run.gdb CLEANFILES+= \ tests/var/log/* \ @@ -41,6 +43,7 @@ noinst_HEADERS+= \ libtest/stats.h \ libtest/stream.h \ libtest/strerror.h \ + libtest/string.hpp \ libtest/test.h \ libtest/test.hpp \ libtest/visibility.h \ @@ -96,6 +99,8 @@ tests/var/tmp: tests/var/run: $(mkdir_p) tests/var/run +.PHONY+= tests/var + libtest_unittest_CFLAGS= libtest_unittest_LDADD= ${LIBTEST_LDADD}