Add “exit 1” after “echo ERROR” in tests/roles/ibus-desktop-testing-role/tasks/main.yml
This commit is contained in:
parent
6e1efec89f
commit
e6e2aea2ca
@ -77,10 +77,12 @@
|
|||||||
log="{{ remote_artifacts }}/test.log"
|
log="{{ remote_artifacts }}/test.log"
|
||||||
if [ ! -f $log ] ; then
|
if [ ! -f $log ] ; then
|
||||||
echo ERROR
|
echo ERROR
|
||||||
|
exit 1
|
||||||
else
|
else
|
||||||
FAIL=`grep "^FAIL: " $log | grep -v 'FAIL: 0$'`
|
FAIL=`grep "^FAIL: " $log | grep -v 'FAIL: 0$'`
|
||||||
if [ x"$FAIL" != x ] ; then
|
if [ x"$FAIL" != x ] ; then
|
||||||
echo ERROR
|
echo ERROR
|
||||||
|
exit 1
|
||||||
else
|
else
|
||||||
echo PASS
|
echo PASS
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user