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.
pull/10442/head
Thomas Van Lenten 2 years ago
parent 3c32c05e13
commit ba8be43169
  1. 4
      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.

Loading…
Cancel
Save