Removed support for testing with dmalloc (valgrind is better...).
[gedcom-parse.git] / t / src / test_gom
index 108f4981f2f7421b4a335c5b317cd4d4b69039fd..7cfd657c893d723105c96c262fa9ec80809c2233 100755 (executable)
@@ -4,8 +4,6 @@
 
 options="-q"
 extra_options=
-dmalloc=`which dmalloc`
-dmalloc_tmp=dmalloc.env
 
 while [ $# -gt 0 ]
 do
@@ -54,15 +52,7 @@ ln -s $srcdir/../iconv/glibc/gconv-modules .
 rm -f core
 echo "======================================================">> $logfile
 echo "Performing test '$test_name'" >> $logfile
-if [ "$GOM_DMALLOC_TEST" = "" ]
-then
-  $ltcmd $GEDCOM_TESTENV $builddir/src/gomtest $options $testfile
-else
-  $dmalloc -b -l $GOM_DMALLOC_TEST -i 100 low > $dmalloc_tmp
-  . $dmalloc_tmp
-  rm $dmalloc_tmp
-  $ltcmd $GEDCOM_TESTENV $builddir/src/gomtest_static $options $testfile
-fi
+$ltcmd $GEDCOM_TESTENV $builddir/src/gomtest $options $testfile
 result=$?
 rm gedcom.enc
 rm ANSI_Z39.47.so
@@ -71,6 +61,7 @@ rm gconv-modules
 echo "Result is $result (expected: $expected_result)" >> $logfile
 if [ "$result" -ne "$expected_result" ]
 then
+  echo "Not the expected return value!" >> $logfile
   exit 1
 else
   if [ -r core ]