diff options
Diffstat (limited to 'test/parser-test-func.sh')
-rwxr-xr-x | test/parser-test-func.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/parser-test-func.sh b/test/parser-test-func.sh new file mode 100755 index 0000000..f55c41e --- /dev/null +++ b/test/parser-test-func.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +exec_test() +{ + PROGDIR=`dirname $0` + SRCDIR=$PROGDIR/../src + + export PATH=$SRCDIR:$SRCDIR/.libs:$PATH + + ixion-parser -t $1 $PROGDIR/*.txt +} + |