Propage errors in post test hook

If prepare scripts fail, we don't want to run the tests. Add error
option to exit early.

Change-Id: I23a0f51f8252beee7c1cd7a9bdf2002884266a71
This commit is contained in:
Thomas Herve 2016-07-11 13:43:19 +02:00
parent da7823208f
commit 706cc04cf4
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
# This script is executed inside post_test_hook function in devstack gate.
set -x
set -ex
export DEST=${DEST:-/opt/stack/new}
source $DEST/devstack/openrc admin admin