From cd329aa5d2f77faf65a73c684d28d988e41e96a9 Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Wed, 18 Sep 2002 19:19:32 +0000 Subject: [PATCH] Provide a way to do memory debugging with e.g. valgrind. --- t/test_gom | 4 ++-- t/test_script | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/t/test_gom b/t/test_gom index a334750..248b77e 100755 --- a/t/test_gom +++ b/t/test_gom @@ -43,12 +43,12 @@ ln -s $srcdir/../ansel/gconv-modules . rm -f core if [ "$GOM_DMALLOC_TEST" = "" ] then - $builddir/gomtest $options $testfile + $GEDCOM_TESTENV $builddir/gomtest $options $testfile else $dmalloc -b -l $GOM_DMALLOC_TEST -i 100 low > $dmalloc_tmp . $dmalloc_tmp rm $dmalloc_tmp - $builddir/gomtest_static $options $testfile + $GEDCOM_TESTENV $builddir/gomtest_static $options $testfile fi result=$? rm gedcom.enc diff --git a/t/test_script b/t/test_script index acb499e..9173bf7 100755 --- a/t/test_script +++ b/t/test_script @@ -39,7 +39,7 @@ ln -s $srcdir/../data/gedcom.enc . ln -s $builddir/../ansel/.libs/ANSI_Z39.47.so . ln -s $srcdir/../ansel/gconv-modules . rm -f core -$builddir/testgedcom $options $testfile +$GEDCOM_TESTENV $builddir/testgedcom $options $testfile result=$? rm gedcom.enc rm ANSI_Z39.47.so -- 2.30.2