3 # For use outside Makefile
10 export GCONV_PATH=.:$GCONV_PATH
11 ln -s $srcdir/../data/gedcom.enc .
12 ln -s $builddir/../iconv/glibc/.libs/ANSI_Z39.47.so .
13 ln -s $srcdir/../iconv/glibc/gconv-modules .
19 export PATH=$ICONV_PATH:$PATH
22 echo "Testing conversion from ANSEL to UTF-8" >> testgedcom.out
23 iconv -f ANSEL -t UTF-8 $srcdir/input/ansel.ged > anselutf8.out
24 if ! diff $srcdir/input/anselutf8.ged anselutf8.out >> testgedcom.out
28 echo "Testing conversion from UTF-8 to ANSEL" >> testgedcom.out
29 iconv -f UTF-8 -t ANSEL $srcdir/input/anselutf8.ged > ansel.out
30 if ! diff $srcdir/input/ansel.ged ansel.out >> testgedcom.out