From 0de8255fd5af6576f430ba90f841f9d61b597701 Mon Sep 17 00:00:00 2001 From: Clayton Coleman Date: Tue, 8 Sep 2015 13:29:52 -0400 Subject: [PATCH] Fail with stack trace in test bash --- hack/test-cmd.sh | 1 - hack/test-end-to-end-scenario.sh | 1 + hack/test-end-to-end.sh | 1 + hack/test-extended.sh | 1 + hack/test-integration.sh | 1 + 5 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hack/test-cmd.sh b/hack/test-cmd.sh index 6294869174ec..418cd5900771 100755 --- a/hack/test-cmd.sh +++ b/hack/test-cmd.sh @@ -9,7 +9,6 @@ set -o pipefail OS_ROOT=$(dirname "${BASH_SOURCE}")/.. source "${OS_ROOT}/hack/util.sh" - os::log::install_errexit function cleanup() diff --git a/hack/test-end-to-end-scenario.sh b/hack/test-end-to-end-scenario.sh index 76aa4e56de67..b9f0da399ec8 100755 --- a/hack/test-end-to-end-scenario.sh +++ b/hack/test-end-to-end-scenario.sh @@ -9,6 +9,7 @@ set -o pipefail OS_ROOT=$(dirname "${BASH_SOURCE}")/.. source "${OS_ROOT}/hack/util.sh" +os::log::install_errexit ROUTER_TESTS_ENABLED="${ROUTER_TESTS_ENABLED:-true}" TEST_ASSETS="${TEST_ASSETS:-false}" diff --git a/hack/test-end-to-end.sh b/hack/test-end-to-end.sh index 9c05158c9034..a2976f0db675 100755 --- a/hack/test-end-to-end.sh +++ b/hack/test-end-to-end.sh @@ -9,6 +9,7 @@ set -o pipefail OS_ROOT=$(dirname "${BASH_SOURCE}")/.. source "${OS_ROOT}/hack/util.sh" +os::log::install_errexit ensure_iptables_or_die diff --git a/hack/test-extended.sh b/hack/test-extended.sh index b2271fb6961b..d13ee142b865 100755 --- a/hack/test-extended.sh +++ b/hack/test-extended.sh @@ -7,6 +7,7 @@ set -o pipefail OS_ROOT=$(dirname "${BASH_SOURCE}")/.. source "${OS_ROOT}/hack/common.sh" source "${OS_ROOT}/hack/util.sh" +os::log::install_errexit # Go to the top of the tree. cd "${OS_ROOT}" diff --git a/hack/test-integration.sh b/hack/test-integration.sh index abda1e4843f8..c8aab5c5b951 100755 --- a/hack/test-integration.sh +++ b/hack/test-integration.sh @@ -7,6 +7,7 @@ set -o pipefail OS_ROOT=$(dirname "${BASH_SOURCE}")/.. source "${OS_ROOT}/hack/common.sh" source "${OS_ROOT}/hack/util.sh" +os::log::install_errexit # Go to the top of the tree. cd "${OS_ROOT}"