summaryrefslogtreecommitdiff
path: root/tests/run-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-tests.sh')
-rwxr-xr-xtests/run-tests.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/run-tests.sh b/tests/run-tests.sh
new file mode 100755
index 0000000..4b8d0b1
--- /dev/null
+++ b/tests/run-tests.sh
@@ -0,0 +1,13 @@
+PARSECMD=../build/parse
+PARSEFILE=" "
+
+parse () {
+ $PARSECMD -in $PARSEFILE.tnsl -out $PARSEFILE.tnp
+}
+
+PARSEFILE=block-test
+parse
+PARSEFILE=comment-test
+parse
+PARSEFILE=literal-test
+parse \ No newline at end of file