Definition of SUB_MAKEFUNC, SUB_ADDFUNC and SUB_DELETEFUNC.
[gedcom-parse.git] / t / src / test_bulk.sh
index c4f29e6464c7dfab459f765c9515ec6fdc94c808..1c2fee2412ea2e5a50a63c678dec041f2408cf8f 100644 (file)
@@ -3,7 +3,7 @@
 # Common test part for the test scripts
 
 ltcmd="$builddir/../libtool --mode=execute"
-for lib in $test_libs
+for lib in $test_libs $builddir/../utf8/libutf8tools.la
 do
   ltcmd="$ltcmd -dlopen $lib"
 done
@@ -32,6 +32,18 @@ else
     then
       echo "Output agrees with reference output" >> $logfile
       rm $outfile
+      if [ "$gedcom_out" ]
+      then
+        if diff $gedfile $gedreffile >/dev/null 2>>$logfile
+       then
+         echo "Gedcom output agrees with reference output" >> $logfile
+         rm $gedfile
+         exit 0
+       else
+         echo "Differences with reference gedcom output detected!" >> $logfile
+         exit 1
+       fi
+      fi
       exit 0
     else
       echo "Differences with reference output detected!" >> $logfile