This commit is contained in:
Dan Buch
2016-04-16 13:39:22 -04:00
parent 3ea457e797
commit 1aafac69cb
5 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
echo "Running unit tests:"
for i in tests/*_tests
do
if test -f $i
then
if $VALGRIND ./$i 2>> tests/tests.log
then
echo $i PASS
else
echo "ERROR in test $i: here's tests/tests.log"
echo "------"
tail tests/tests.log
exit 1
fi
fi
done
echo ""