Provide a way to do memory debugging with e.g. valgrind.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Wed, 18 Sep 2002 19:19:32 +0000 (19:19 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Wed, 18 Sep 2002 19:19:32 +0000 (19:19 +0000)
t/test_gom
t/test_script

index a3347502dee4e15760724dcd88ba02a0fbe627ec..248b77e6ca96de02b0883f74be8ee8497ba40ab9 100755 (executable)
@@ -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
index acb499e6d7801b0b0092fe79081a6f9358ac3a0e..9173bf7dbea91fdeabb26813c20672f36befbd62 100755 (executable)
@@ -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