From 737a3024787e164a53fcd9b31d09724d5f68a1f9 Mon Sep 17 00:00:00 2001 From: buchgr Date: Tue, 3 Sep 2019 02:51:50 -0700 Subject: [PATCH] Fix broken Bazel postsubmit The LRE does not support xcode and thus we can't run tests using cc_* on macOS. RELNOTES: None PiperOrigin-RevId: 266888758 --- src/test/shell/bazel/remote/remote_execution_test.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/test/shell/bazel/remote/remote_execution_test.sh b/src/test/shell/bazel/remote/remote_execution_test.sh index 4bb979b10ad451..78309364b76804 100755 --- a/src/test/shell/bazel/remote/remote_execution_test.sh +++ b/src/test/shell/bazel/remote/remote_execution_test.sh @@ -853,6 +853,13 @@ EOF function test_downloads_minimal_failure() { # Test that outputs of failing actions are downloaded when using # --remote_download_minimal + if [[ "$PLATFORM" == "darwin" ]]; then + # TODO(b/37355380): This test is disabled due to RemoteWorker not supporting + # setting SDKROOT and DEVELOPER_DIR appropriately, as is required of + # action executors in order to select the appropriate Xcode toolchain. + return 0 + fi + mkdir -p a cat > a/BUILD <<'EOF' genrule(