#!/bin/sh
-$srcdir/src/test_script -2 allged.ged 0
+$srcdir/src/test_script -2 allged.ged allged 0
#!/bin/sh
-$srcdir/src/test_gom allged.ged 0
+$srcdir/src/test_gom allged.ged allged_gom 0
#!/bin/sh
-$srcdir/src/test_script -2 ansel.ged 0
+$srcdir/src/test_script -2 ansel.ged ansel 0
#!/bin/sh
-$srcdir/src/test_gom ansel.ged 0
+$srcdir/src/test_gom ansel.ged ansel_gom 0
#!/bin/sh
+logfile=check.out
+
# For use outside Makefile
if [ -z "$srcdir" ]
then
export PATH
fi
-echo "Testing conversion from ANSEL to UTF-8" >> testgedcom.out
-iconv -f ANSEL -t UTF-8 $srcdir/input/ansel.ged > anselutf8.out
-if diff $srcdir/input/anselutf8.ged anselutf8.out >> testgedcom.out
+echo "======================================================">> $logfile
+echo "Performing test 'anselconv'" >> $logfile
+echo "Testing conversion from ANSEL to UTF-8" >> $logfile
+iconv -f ANSEL -t UTF-8 $srcdir/input/ansel.ged > anselconv_utf8.out
+if diff $srcdir/input/anselutf8.ged anselconv_utf8.out >/dev/null 2>> $logfile
then
- echo "Testing conversion from UTF-8 to ANSEL" >> testgedcom.out
- iconv -f UTF-8 -t ANSEL $srcdir/input/anselutf8.ged > ansel.out
- if diff $srcdir/input/ansel.ged ansel.out >> testgedcom.out
+ echo "Output agrees with reference output" >> $logfile
+ rm anselconv_utf8.out
+ echo "Testing conversion from UTF-8 to ANSEL" >> $logfile
+ iconv -f UTF-8 -t ANSEL $srcdir/input/anselutf8.ged > anselconv_ansel.out
+ if diff $srcdir/input/ansel.ged anselconv_ansel.out >dev/null 2>> $logfile
then
- :
+ echo "Output agrees with reference output" >> $logfile
+ rm anselconv_ansel.out
else
+ echo "Difference with reference output detected!" >> $logfile
retval=1
fi
else
+ echo "Difference with reference output detected!" >> $logfile
retval=1
fi
#!/bin/sh
-$srcdir/src/test_script -2 -b minimal.ged 0
+$srcdir/src/test_script -2 -b minimal.ged bogus 0
#!/bin/sh
-$srcdir/src/test_script -2 dates.ged 0
+$srcdir/src/test_script -2 dates.ged dates 0
#!/bin/sh
-$srcdir/src/test_gom dates.ged 0
+$srcdir/src/test_gom dates.ged dates_gom 0
#!/bin/sh
-$srcdir/src/test_script -2 -fn encoding_error.ged 0
+$srcdir/src/test_script -2 -fn encoding_error.ged encoding_error 0
#!/bin/sh
-$srcdir/src/test_script file_not_exist.ged 1
+$srcdir/src/test_script file_not_exist.ged file_not_exist 1
#!/bin/sh
-$srcdir/src/test_script -2 minimal.ged 0
+$srcdir/src/test_script -2 minimal.ged minimal 0
#!/bin/sh
-$srcdir/src/test_script -2 uhlbomcl.ged 0
+$srcdir/src/test_script -2 uhlbomcl.ged uhlbomcl 0
#!/bin/sh
-$srcdir/src/test_gom uhlbomcl.ged 0
+$srcdir/src/test_gom uhlbomcl.ged uhlbomcl_gom 0
#!/bin/sh
-$srcdir/src/test_script -2 uhlcl.ged 0
+$srcdir/src/test_script -2 uhlcl.ged uhlcl 0
#!/bin/sh
-$srcdir/src/test_gom uhlcl.ged 0
+$srcdir/src/test_gom uhlcl.ged uhlcl_gom 0
#!/bin/sh
-$srcdir/src/test_script -2 ulhbomcl.ged 0
+$srcdir/src/test_script -2 ulhbomcl.ged ulhbomcl 0
#!/bin/sh
-$srcdir/src/test_gom ulhbomcl.ged 0
+$srcdir/src/test_gom ulhbomcl.ged ulhbomcl_gom 0
#!/bin/sh
-$srcdir/src/test_script -2 ulhc.ged 0
+$srcdir/src/test_script -2 ulhc.ged ulhc 0
#!/bin/sh
-$srcdir/src/test_gom ulhc.ged 0
+$srcdir/src/test_gom ulhc.ged ulhc_gom 0
#!/bin/sh
-$srcdir/src/test_script -2 ulhcl.ged 0
+$srcdir/src/test_script -2 ulhcl.ged ulhcl 0
#!/bin/sh
-$srcdir/src/test_gom ulhcl.ged 0
+$srcdir/src/test_gom ulhcl.ged ulhcl_gom 0
#!/bin/sh
-$srcdir/src/test_script -2 ulhl.ged 0
+$srcdir/src/test_script -2 ulhl.ged ulhl 0
#!/bin/sh
-$srcdir/src/test_gom ulhl.ged 0
+$srcdir/src/test_gom ulhl.ged ulhl_gom 0
#!/bin/sh
-$srcdir/src/test_script -2 ulhlc.ged 0
+$srcdir/src/test_script -2 ulhlc.ged ulhlc 0
#!/bin/sh
-$srcdir/src/test_gom ulhlc.ged 0
+$srcdir/src/test_gom ulhlc.ged ulhlc_gom 0
#!/bin/sh
-$srcdir/src/test_script unknown.ged 1
+$srcdir/src/test_script unknown.ged unknown 1
#!/bin/sh
-$srcdir/src/test_script -fn unknown.ged 0
+$srcdir/src/test_script -fn unknown.ged unknown_ignore_errors 0
#!/bin/sh
-$srcdir/src/test_update 0
+$srcdir/src/test_update update_basic 0