summaryrefslogtreecommitdiff
path: root/test-chill/runtests
diff options
context:
space:
mode:
authorDerick Huth <derickhuth@gmail.com>2015-09-24 12:11:49 -0600
committerDerick Huth <derickhuth@gmail.com>2015-09-24 12:11:49 -0600
commit0cff3f9a3c4ccd434900162ebef4bd814850f481 (patch)
treef8dcba88576ec95e403f0c14efd80e970f30a260 /test-chill/runtests
parentf925ba20c06d619d8c5825d6d859a1d2185795ee (diff)
downloadchill-0cff3f9a3c4ccd434900162ebef4bd814850f481.tar.gz
chill-0cff3f9a3c4ccd434900162ebef4bd814850f481.tar.bz2
chill-0cff3f9a3c4ccd434900162ebef4bd814850f481.zip
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
+
+