From 803315e0199a2e8549abe31ccbc97dab7ae6349f Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Tue, 25 May 2021 13:16:55 -0700 Subject: [PATCH] Output verbose error for failed unit-test --- ci/do_ci.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/do_ci.sh b/ci/do_ci.sh index 2e581ea316..b1e580e2ea 100755 --- a/ci/do_ci.sh +++ b/ci/do_ci.sh @@ -26,6 +26,7 @@ mkdir -p "${PLUGIN_DIR}" BAZEL_OPTIONS="" BAZEL_TEST_OPTIONS="$BAZEL_OPTIONS --test_output=errors" BAZEL_STARTUP_OPTIONS="--output_user_root=$HOME/.cache/bazel" +CTEST_OUTPUT_ON_FAILURE=1 if [[ "$1" == "cmake.test" ]]; then install_prometheus_cpp_client