aboutsummaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
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