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
|
"./$test" "$@") >> "$target" 2>&1
|
||||||
res=$?
|
res=$?
|
||||||
if [ $res -ne 0 ]; then
|
if [ $res -ne 0 ]; then
|
||||||
echo " FAILED (error $res)" 1>&2
|
echo " FAIL (error $res)" 1>&2
|
||||||
else
|
else
|
||||||
echo " PASS" 1>&2
|
echo " PASS" 1>&2
|
||||||
fi
|
fi
|
||||||
|
@ -52,7 +52,7 @@ _test()
|
||||||
"./$test" "$@") >> "$target" 2>&1
|
"./$test" "$@") >> "$target" 2>&1
|
||||||
res=$?
|
res=$?
|
||||||
if [ $res -ne 0 ]; then
|
if [ $res -ne 0 ]; then
|
||||||
echo " FAILED" 1>&2
|
echo " FAIL" 1>&2
|
||||||
FAILED="$FAILED $test(error $res)"
|
FAILED="$FAILED $test(error $res)"
|
||||||
return 2
|
return 2
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user