From 1f1d8f629abb83c4a54786e5d1ac36b26c70d4a9 Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Sun, 3 Nov 2002 13:21:26 +0000 Subject: [PATCH] Some support for testing with valgrind. --- t/Makefile.am | 2 +- t/test_valgrind | 1 + t/untest_valgrind | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 t/test_valgrind create mode 100755 t/untest_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 -- 2.30.2