summaryrefslogtreecommitdiff
path: root/verify-chill/runtests
diff options
context:
space:
mode:
Diffstat (limited to 'verify-chill/runtests')
-rwxr-xr-xverify-chill/runtests17
1 files changed, 17 insertions, 0 deletions
diff --git a/verify-chill/runtests b/verify-chill/runtests
new file mode 100755
index 0000000..e5021f8
--- /dev/null
+++ b/verify-chill/runtests
@@ -0,0 +1,17 @@
+#/bin/sh
+for file in *.py; do
+ echo -n "Testing "
+ echo -n $file | sed 's/test_//g;s/.py//g'
+ echo -n " ... "
+ ../chill $file > /dev/null 2>&1
+ cmp -s rose_mm.c with/$file.out
+ if [ $? -eq 0 ]
+ then echo OK
+ else
+ cmp -s rose_mm.c without/$file.out
+ if [ $? -eq 0 ]; then echo OK; else echo failed; fi
+ fi
+done
+rm rose_mm.c
+
+