From: Peter Verthez Date: Wed, 18 Sep 2002 19:19:32 +0000 (+0000) Subject: Provide a way to do memory debugging with e.g. valgrind. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=cd329aa5d2f77faf65a73c684d28d988e41e96a9;p=gedcom-parse.git Provide a way to do memory debugging with e.g. valgrind. --- 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