3 # Common prologue for the test scripts
10 -*) extra_options="$extra_options $1";;
16 test_name=`echo $1 | sed "s:.*/::" | sed "s:.test::"`
20 if [ -z "$test_name" ]
24 if [ -z "$expected_result" ]
28 if [ -z "$GEDCOM_LANG" ]
33 # For use outside Makefile
38 options="-q $extra_options"
41 outfile=$test_name.out
43 reffile=$srcdir/output/$test_name.ref
44 options="$options -o $outfile"
48 gedfile=$test_name.ged
49 gedreffile=$srcdir/output/$test_name.ged
50 options="$options -w $gedfile"
53 GCONV_PATH=.:$GCONV_PATH
57 ln -s $srcdir/../data/gedcom.enc .
58 ln -s $builddir/../data/new.ged .
59 ln -s $builddir/../iconv/glibc/.libs/ANSI_Z39.47.so .
60 ln -s $srcdir/../iconv/glibc/gconv-modules .