aboutsummaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorCamil Staps2018-12-24 23:54:26 +0100
committerCamil Staps2018-12-24 23:54:26 +0100
commit391c80e4df40ddc21641aa06aa0224460a53ba90 (patch)
tree617a099611e210b5290111a7ac4c44ef06a2842d /test.sh
parentDivide in modules (diff)
Add interactive shell
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/test.sh b/test.sh
new file mode 100755
index 0000000..6e0ed07
--- /dev/null
+++ b/test.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+GREEN="\033[0;32m"
+YELLOW="\033[0;33m"
+RESET="\033[0m"
+
+for f in test/*.test
+do
+ echo -e "$YELLOW$f...$RESET"
+ diff <(./isjit $f) "${f/.test/.result}" && echo -e "${GREEN}OK$RESET"
+done