Print "FAIL" instead of "FAILED" for consistency with other projects
This commit is contained in:
parent
11b9f90cf4
commit
e9a4adbcf8
|
@ -45,7 +45,7 @@ _fail()
|
||||||
res=$?
|
res=$?
|
||||||
if [ $res -ne 0 ]; then
|
if [ $res -ne 0 ]; then
|
||||||
echo "./$test: $name: Failed with error code $res" >> "$target"
|
echo "./$test: $name: Failed with error code $res" >> "$target"
|
||||||
echo " FAILED ($name, error $res)" 1>&2
|
echo " FAIL ($name, error $res)" 1>&2
|
||||||
else
|
else
|
||||||
echo " PASS" 1>&2
|
echo " PASS" 1>&2
|
||||||
fi
|
fi
|
||||||
|
@ -67,7 +67,7 @@ _test()
|
||||||
res=$?
|
res=$?
|
||||||
if [ $res -ne 0 ]; then
|
if [ $res -ne 0 ]; then
|
||||||
echo "./$test: $name: Failed with error code $res" >> "$target"
|
echo "./$test: $name: Failed with error code $res" >> "$target"
|
||||||
echo " FAILED" 1>&2
|
echo " FAIL" 1>&2
|
||||||
FAILED="$FAILED $test($name, error $res)"
|
FAILED="$FAILED $test($name, error $res)"
|
||||||
return 2
|
return 2
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user