X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2Fsrc%2Ftest_gom;h=7cfd657c893d723105c96c262fa9ec80809c2233;hb=a5bd4c3c89f5cb433a615c436947b8b0f44c3661;hp=108f4981f2f7421b4a335c5b317cd4d4b69039fd;hpb=cf73759d92858885e4e71f6fc85f6d4478593958;p=gedcom-parse.git diff --git a/t/src/test_gom b/t/src/test_gom index 108f498..7cfd657 100755 --- a/t/src/test_gom +++ b/t/src/test_gom @@ -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 ]