Test script for gedcom library.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 9 Dec 2001 17:27:20 +0000 (17:27 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 9 Dec 2001 17:27:20 +0000 (17:27 +0000)
t/test_script [new file with mode: 0755]

diff --git a/t/test_script b/t/test_script
new file mode 100755 (executable)
index 0000000..fdef281
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh
+# $Id$
+# $Name$
+
+file=$1
+
+builddir=`pwd`
+cd $srcdir/..
+export GCONV_PATH=./ansel
+export LD_LIBRARY_PATH=$builddir/../gedcom/.libs
+cp $builddir/../ansel/.libs/ANSI_Z39.47.so ansel
+echo "=== testing $file"
+$builddir/../testgedcom -2 t/$file
+rm ansel/ANSI_Z39.47.so