summaryrefslogtreecommitdiff
path: root/test-chill/runtests
diff options
context:
space:
mode:
authorDerick Huth <derickhuth@gmail.com>2015-09-24 12:22:41 -0600
committerDerick Huth <derickhuth@gmail.com>2015-09-24 12:22:41 -0600
commit4631ad76927d433da5d55c3c373a1dfd0f74c9d4 (patch)
treef8dcba88576ec95e403f0c14efd80e970f30a260 /test-chill/runtests
parent6eb2b89896da66a77d0dcdf2d72b98c122826949 (diff)
parent0cff3f9a3c4ccd434900162ebef4bd814850f481 (diff)
downloadchill-4631ad76927d433da5d55c3c373a1dfd0f74c9d4.tar.gz
chill-4631ad76927d433da5d55c3c373a1dfd0f74c9d4.tar.bz2
chill-4631ad76927d433da5d55c3c373a1dfd0f74c9d4.zip
Merge pull request #7 from dhuth/master
V0.2.1
Diffstat (limited to 'test-chill/runtests')
-rwxr-xr-xtest-chill/runtests17
1 files changed, 17 insertions, 0 deletions
diff --git a/test-chill/runtests b/test-chill/runtests
new file mode 100755
index 0000000..e5021f8
--- /dev/null
+++ b/test-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
+
+