Enable running test suite via run script

This commit is contained in:
Bruno Sutic
2014-07-17 22:36:09 +02:00
parent 8cc27247b6
commit 8f8664c969
2 changed files with 20 additions and 6 deletions

View File

@ -44,12 +44,12 @@ fail_helper() {
exit_value_helper() {
local fail="$1"
if [ "$FAIL" == "true" ]; then
echo "FAIL!"
echo
echo "Test failed"
exit 1
else
echo "SUCCESS"
echo
echo "Test finished successfully"
exit 0
fi
}