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"
|
||||
if [ ! -f $log ] ; then
|
||||
echo ERROR
|
||||
exit 1
|
||||
else
|
||||
FAIL=`grep "^FAIL: " $log | grep -v 'FAIL: 0$'`
|
||||
if [ x"$FAIL" != x ] ; then
|
||||
echo ERROR
|
||||
exit 1
|
||||
else
|
||||
echo PASS
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user