summaryrefslogtreecommitdiff
path: root/tests/run-tests.sh
diff options
context:
space:
mode:
authorKyle Gunger <corechg@gmail.com>2020-07-04 03:16:10 -0400
committerKyle Gunger <corechg@gmail.com>2020-07-04 03:16:10 -0400
commit08fabe9627d89b9811b0fafe1c2bb11773d02bbc (patch)
tree8b9dfa1e7d13aeeb7d9f910b6c03205e84683e68 /tests/run-tests.sh
parent5a022193a96e72fa5144755938e6a575aba165b0 (diff)
Tests
+ Add initial tests ~ Some tests fail. These bugs will warrent a section in the readme.
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