From: Peter Verthez Date: Sun, 3 Nov 2002 13:21:26 +0000 (+0000) Subject: Some support for testing with valgrind. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;ds=inline;h=1f1d8f629abb83c4a54786e5d1ac36b26c70d4a9;p=gedcom-parse.git Some support for testing with valgrind. --- diff --git a/t/Makefile.am b/t/Makefile.am index 469f53c..f898e03 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -6,7 +6,7 @@ SUBDIRS=src input output . TESTS := $(wildcard $(srcdir)/*.test) -EXTRA_DIST=$(TESTS) +EXTRA_DIST=$(TESTS) test_valgrind untest_valgrind TESTS_ENVIRONMENT=ICONV_PATH=@ICONV_PATH@ diff --git a/t/test_valgrind b/t/test_valgrind new file mode 100755 index 0000000..a857276 --- /dev/null +++ b/t/test_valgrind @@ -0,0 +1 @@ +export GEDCOM_TESTENV='valgrind --leak-check=yes --show-reachable=yes --num-callers=20' diff --git a/t/untest_valgrind b/t/untest_valgrind new file mode 100755 index 0000000..992b560 --- /dev/null +++ b/t/untest_valgrind @@ -0,0 +1 @@ +unset GEDCOM_TESTENV