Add init function for the lexer.
[gedcom-parse.git] / t / test_gom
index 9c0b0ceaba08315e5fa2fe611db72e2931b8c7bc..248b77e6ca96de02b0883f74be8ee8497ba40ab9 100755 (executable)
@@ -37,18 +37,18 @@ fi
 builddir=`pwd`
 export GCONV_PATH=.:$GCONV_PATH
 export LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$builddir/../gom/.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
 if [ "$GOM_DMALLOC_TEST" = "" ]
 then
-  $builddir/gomtest $options $testfile
+  $GEDCOM_TESTENV $builddir/gomtest $options $testfile
 else
   $dmalloc -b -l $GOM_DMALLOC_TEST -i 100 low > $dmalloc_tmp
   . $dmalloc_tmp
   rm $dmalloc_tmp
-  $builddir/gomtest_static $options $testfile
+  $GEDCOM_TESTENV $builddir/gomtest_static $options $testfile
 fi
 result=$?
 rm gedcom.enc