Skip to content

Commit

Permalink
Output verbose error for failed unit-test in CI (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan authored May 26, 2021
1 parent 6ab0f78 commit 4bb033f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/do_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ BAZEL_OPTIONS=""
BAZEL_TEST_OPTIONS="$BAZEL_OPTIONS --test_output=errors"
BAZEL_STARTUP_OPTIONS="--output_user_root=$HOME/.cache/bazel"

export CTEST_OUTPUT_ON_FAILURE=1

if [[ "$1" == "cmake.test" ]]; then
install_prometheus_cpp_client
cd "${BUILD_DIR}"
Expand Down

0 comments on commit 4bb033f

Please sign in to comment.