Fix broken Bazel postsubmit
The LRE does not support xcode and thus we can't run tests using cc_* on macOS.
RELNOTES: None
@@ -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(
