diff options
Diffstat (limited to 'test-chill/runtests')
-rwxr-xr-x | test-chill/runtests | 17 |
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 + + |