|
...
|
...
|
@@ -509,7 +509,7 @@ function exit_trap {
|
|
509
|
509
|
|
|
510
|
510
|
if [[ $r -ne 0 ]]; then
|
|
511
|
511
|
echo "Error on exit"
|
|
512
|
|
- # If we error before we've installed os-testr, which will fail.
|
|
|
512
|
+ # If we error before we've installed os-testr, this will fail.
|
|
513
|
513
|
if type -p generate-subunit > /dev/null; then
|
|
514
|
514
|
generate-subunit $DEVSTACK_START_TIME $SECONDS 'fail' >> ${SUBUNIT_OUTPUT}
|
|
515
|
515
|
fi
|
|
...
|
...
|
@@ -519,7 +519,7 @@ function exit_trap {
|
|
519
|
519
|
$TOP_DIR/tools/worlddump.py -d $LOGDIR
|
|
520
|
520
|
fi
|
|
521
|
521
|
else
|
|
522
|
|
- # If we error before we've installed os-testr, which will fail.
|
|
|
522
|
+ # If we error before we've installed os-testr, this will fail.
|
|
523
|
523
|
if type -p generate-subunit > /dev/null; then
|
|
524
|
524
|
generate-subunit $DEVSTACK_START_TIME $SECONDS >> ${SUBUNIT_OUTPUT}
|
|
525
|
525
|
fi
|