Updated repository

This commit is contained in:
Veit Heller
2014-12-04 16:05:29 +01:00
parent 279ee60d9d
commit 06cb8a39b1
22 changed files with 103 additions and 398 deletions

31
test.sh Executable file
View File

@@ -0,0 +1,31 @@
#!/bin/bash
for i in `ls test | grep -v fail` ; do
echo Running test $i:
echo ---------------------
bin/vvm test/$i
return=$?
if [ $return != 0 ] ; then
echo Test $i failed.
exit 1
fi
echo
echo ---------------------
echo End of test $i
echo
done
for i in `ls test/*fail*` ; do
echo Running expected fail test $i:
echo ---------------------
bin/vvm $i
return=$?
if [ $return != 127 ] ; then
echo Test $i failed.
exit 1
fi
echo
echo ---------------------
echo End of test $i
echo
done