Add init function for the lexer.
[gedcom-parse.git] / t / test_script
index 0623403ac034204c30243a2731ccbad575fbfabb..9173bf7dbea91fdeabb26813c20672f36befbd62 100755 (executable)
@@ -35,11 +35,11 @@ fi
 builddir=`pwd`
 export GCONV_PATH=.:$GCONV_PATH
 export LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$LD_LIBRARY_PATH
-ln -s $srcdir/../gedcom.enc .
+ln -s $srcdir/../data/gedcom.enc .
 ln -s $builddir/../ansel/.libs/ANSI_Z39.47.so .
 ln -s $srcdir/../ansel/gconv-modules .
 rm -f core
-$builddir/testgedcom $options $testfile
+$GEDCOM_TESTENV $builddir/testgedcom $options $testfile
 result=$?
 rm gedcom.enc
 rm ANSI_Z39.47.so