shift
done
-file=$1
-test_name=$2
-expected_result=$3
+test_name=$1
+expected_result=$2
+file=$3
if [ -z "$test_name" ]
then
test_name=check
srcdir=.
options=$extra_options
else
- testfile=$srcdir/input/$file
+ case $file in
+ ./*) testfile=$file ;;
+ *) testfile=$srcdir/input/$file ;;
+ esac
options="$options $extra_options"
fi
ltcmd="$builddir/../libtool --mode=execute -dlopen $builddir/../gedcom/libgedcom.la -dlopen $builddir/../gom/libgedcom_gom.la"
GCONV_PATH=.:$GCONV_PATH
export GCONV_PATH
+LANG=C
+export LANG
ln -s $srcdir/../data/gedcom.enc .
ln -s $builddir/../iconv/glibc/.libs/ANSI_Z39.47.so .
ln -s $srcdir/../iconv/glibc/gconv-modules .