Now output "FAIL" instead of "FAILED" in case of failures
This commit is contained in:
parent
7ade6f79d4
commit
66b833cf2a
|
@ -33,7 +33,7 @@ _fail()
|
|||
"./$test" "$@") >> "$target" 2>&1
|
||||
res=$?
|
||||
if [ $res -ne 0 ]; then
|
||||
echo " FAILED (error $res)" 1>&2
|
||||
echo " FAIL (error $res)" 1>&2
|
||||
else
|
||||
echo " PASS" 1>&2
|
||||
fi
|
||||
|
@ -52,7 +52,7 @@ _test()
|
|||
"./$test" "$@") >> "$target" 2>&1
|
||||
res=$?
|
||||
if [ $res -ne 0 ]; then
|
||||
echo " FAILED" 1>&2
|
||||
echo " FAIL" 1>&2
|
||||
FAILED="$FAILED $test(error $res)"
|
||||
return 2
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user