Skip to content

Commit 6f24785

Browse files
kanglantcopybara-github
authored andcommitted
Display failed test output in the build log
PiperOrigin-RevId: 495917124
1 parent dc4a482 commit 6f24785

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.kokoro/linux/build.sh

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ docker exec tsl bazel test \
4444
--nocheck_visibility \
4545
--keep_going \
4646
--flaky_test_attempts=3 \
47+
--test_output=errors \
48+
--build_tests_only \
49+
--verbose_failures=true \
4750
-- //tsl/... -//tsl/platform:subprocess_test -//tsl/platform/cloud:google_auth_provider_test -//tsl/platform/cloud:oauth_client_test
4851

4952
# Stop container

.kokoro/macos/build.sh

+3
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,8 @@ bazel test \
9393
--test_tag_filters=-no_mac \
9494
--nocheck_visibility \
9595
--keep_going \
96+
--test_output=errors \
97+
--build_tests_only \
98+
--verbose_failures=true \
9699
--flaky_test_attempts=3 \
97100
-- //tsl/... -//tsl/platform:subprocess_test -//tsl/platform/cloud:google_auth_provider_test -//tsl/platform/cloud:oauth_client_test

.kokoro/windows/windows_build.sh

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ export PATH="$PATH:/c/Python38"
3636
--output_filter="" \
3737
--nocheck_visibility \
3838
--flaky_test_attempts=3 \
39+
--test_output=errors \
40+
--build_tests_only \
41+
--verbose_failures=true \
3942
--keep_going \
4043
-- //tsl/... -//tsl/platform:subprocess_test -//tsl/platform/cloud:google_auth_provider_test -//tsl/platform/cloud:oauth_client_test \
4144
|| { echo "Bazel Test Failed" && exit 1; }

0 commit comments

Comments
 (0)