Some more documentation regarding development.
[gedcom-parse.git] / t / test_script
index fdef281fd7a660941217534e430e51cb0a8d0f0b..cec97924296073ea097f571ec8ddc43287fd77ff 100755 (executable)
@@ -6,9 +6,11 @@ file=$1
 
 builddir=`pwd`
 cd $srcdir/..
-export GCONV_PATH=./ansel
-export LD_LIBRARY_PATH=$builddir/../gedcom/.libs
+export GCONV_PATH=$GCONV_PATH:./ansel
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$builddir/../gedcom/.libs
 cp $builddir/../ansel/.libs/ANSI_Z39.47.so ansel
 echo "=== testing $file"
 $builddir/../testgedcom -2 t/$file
+result=$?
 rm ansel/ANSI_Z39.47.so
+exit $result