Print "FAIL" instead of "FAILED" for consistency with other projects

This commit is contained in:
Pierre Pronchery 2014-08-31 15:32:09 +02:00
parent 11b9f90cf4
commit e9a4adbcf8

View File

@ -45,7 +45,7 @@ _fail()
res=$?
if [ $res -ne 0 ]; then
echo "./$test: $name: Failed with error code $res" >> "$target"
echo " FAILED ($name, error $res)" 1>&2
echo " FAIL ($name, error $res)" 1>&2
else
echo " PASS" 1>&2
fi
@ -67,7 +67,7 @@ _test()
res=$?
if [ $res -ne 0 ]; then
echo "./$test: $name: Failed with error code $res" >> "$target"
echo " FAILED" 1>&2
echo " FAIL" 1>&2
FAILED="$FAILED $test($name, error $res)"
return 2
fi