You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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 ""
|