From ba8be431699b659068f454738c920b6f353c679d Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten <thomasvl@google.com> Date: Tue, 23 Aug 2022 09:18:04 -0400 Subject: [PATCH] Minor tweaks to the ObjC build helper. - Only output test failures (less to page through) - Pass the build flags along when checking on the WKTs, otherwise the bazel flags changed and the compiles have to re-done. --- objectivec/DevTools/full_mac_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/objectivec/DevTools/full_mac_build.sh b/objectivec/DevTools/full_mac_build.sh index 1e1065388d..6afecb8c4e 100755 --- a/objectivec/DevTools/full_mac_build.sh +++ b/objectivec/DevTools/full_mac_build.sh @@ -8,7 +8,7 @@ set -eu # Some base locations. readonly ScriptDir=$(dirname "$(echo $0 | sed -e "s,^\([^/]\),$(pwd)/\1,")") readonly ProtoRootDir="${ScriptDir}/../.." -readonly BazelFlags="-k --test_output=streamed --macos_minimum_os=10.9" +readonly BazelFlags="-k --test_output=errors --macos_minimum_os=10.9" # Invoke with BAZEL=bazelisk to use that instead. readonly BazelBin="${BAZEL:=bazel}" @@ -191,7 +191,7 @@ else fi # Ensure the WKT sources checked in are current. -BAZEL="${BazelBin}" objectivec/generate_well_known_types.sh --check-only +BAZEL="${BazelBin}" objectivec/generate_well_known_types.sh --check-only $BazelFlags header "Checking on the ObjC Runtime Code" # Some of the kokoro machines don't have python3 yet, so fall back to python if need be.