summaryrefslogtreecommitdiff
path: root/verify-chill/runtests
diff options
context:
space:
mode:
authorDerick Huth <derickhuth@gmail.com>2016-02-10 11:13:08 -0700
committerDerick Huth <derickhuth@gmail.com>2016-02-10 11:13:08 -0700
commit1dd03ee01bff2a70e758ce984476527f3ff42c68 (patch)
tree9731867c7019ec9b6ee111c8fa9f92a92119b5ec /verify-chill/runtests
parent4631ad76927d433da5d55c3c373a1dfd0f74c9d4 (diff)
parentd68532f2f3ba332199f84818cb047d69a3f33588 (diff)
downloadchill-1dd03ee01bff2a70e758ce984476527f3ff42c68.tar.gz
chill-1dd03ee01bff2a70e758ce984476527f3ff42c68.tar.bz2
chill-1dd03ee01bff2a70e758ce984476527f3ff42c68.zip
Merge pull request #8 from dhuth/master
w/ python test suite
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
+
+