summaryrefslogtreecommitdiffstats
path: root/test/parser-test-func.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:47:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:47:37 +0000
commit00e2eb4fd0266c5be01e3a527a66aaad5ab4b634 (patch)
treea6a58bd544eb0b76b9d3acc678ea88791acca045 /test/parser-test-func.sh
parentInitial commit. (diff)
downloadlibixion-00e2eb4fd0266c5be01e3a527a66aaad5ab4b634.tar.xz
libixion-00e2eb4fd0266c5be01e3a527a66aaad5ab4b634.zip
Adding upstream version 0.19.0.upstream/0.19.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/parser-test-func.sh')
-rwxr-xr-xtest/parser-test-func.sh12
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
+}
+