Skip to content

Commit

Permalink
Display failed test output in the build log
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 495917124
  • Loading branch information
kanglant authored and copybara-github committed Dec 16, 2022
1 parent dc4a482 commit 6f24785
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .kokoro/linux/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ docker exec tsl bazel test \
--nocheck_visibility \
--keep_going \
--flaky_test_attempts=3 \
--test_output=errors \
--build_tests_only \
--verbose_failures=true \
-- //tsl/... -//tsl/platform:subprocess_test -//tsl/platform/cloud:google_auth_provider_test -//tsl/platform/cloud:oauth_client_test

# Stop container
Expand Down
3 changes: 3 additions & 0 deletions .kokoro/macos/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,8 @@ bazel test \
--test_tag_filters=-no_mac \
--nocheck_visibility \
--keep_going \
--test_output=errors \
--build_tests_only \
--verbose_failures=true \
--flaky_test_attempts=3 \
-- //tsl/... -//tsl/platform:subprocess_test -//tsl/platform/cloud:google_auth_provider_test -//tsl/platform/cloud:oauth_client_test
3 changes: 3 additions & 0 deletions .kokoro/windows/windows_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ export PATH="$PATH:/c/Python38"
--output_filter="" \
--nocheck_visibility \
--flaky_test_attempts=3 \
--test_output=errors \
--build_tests_only \
--verbose_failures=true \
--keep_going \
-- //tsl/... -//tsl/platform:subprocess_test -//tsl/platform/cloud:google_auth_provider_test -//tsl/platform/cloud:oauth_client_test \
|| { echo "Bazel Test Failed" && exit 1; }
Expand Down

0 comments on commit 6f24785

Please sign in to comment.