translations: Fix error abort
Query correct variable ERROR_ABORT instead of completely unused variable ERRORS - so that errors get reported. Change-Id: I81eaaf23440131a2d8f796fe4a30033e9d68cdff
This commit is contained in:
parent
ac85f8603d
commit
e8ca28a847
@ -63,7 +63,7 @@ function finish {
|
||||
|
||||
# Only run this if VENV is setup.
|
||||
if [ "$VENV" != "" ] ; then
|
||||
if [[ "$ERRORS" -eq 1 ]] ; then
|
||||
if [[ "$ERROR_ABORT" -eq 1 ]] ; then
|
||||
$VENV/bin/generate-subunit $TRANS_START_TIME $SECONDS \
|
||||
'fail' $JOBNAME >> $SUBUNIT_OUTPUT
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user