X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2Fsrc%2Ftest_gom;h=7cfd657c893d723105c96c262fa9ec80809c2233;hb=d7e1e0c33172af1165d3059f67d51ec099fa4e02;hp=5c20bba336392ebd385a736d6ba71e08198d6f35;hpb=64d436abd5d160aa9e0691a79cef1f4c7b1988d5;p=gedcom-parse.git diff --git a/t/src/test_gom b/t/src/test_gom index 5c20bba..7cfd657 100755 --- a/t/src/test_gom +++ b/t/src/test_gom @@ -52,17 +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=`which dmalloc` - dmalloc_tmp=dmalloc.env - $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 ]