From 9a4f3f7ea87d983ddf69831a9e197f6b62d4d873 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Tue, 2 Apr 2019 10:00:07 -0700 Subject: [PATCH] Skip failing test on mac Tests with cc_binary_host fail on mac, disable for now. Bug: 129763458 Test: TestProto Change-Id: Icea24ac6ffba4c5c047296cb3997a5efa95e16ee --- cc/proto_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cc/proto_test.go b/cc/proto_test.go index 4f0de7801..a7fcef935 100644 --- a/cc/proto_test.go +++ b/cc/proto_test.go @@ -15,6 +15,7 @@ package cc import ( + "runtime" "strings" "testing" @@ -37,6 +38,9 @@ func TestProto(t *testing.T) { }) t.Run("plugin", func(t *testing.T) { + if runtime.GOOS != "linux" { + t.Skip("TODO(b/129763458): cc_binary_host tests fail on mac when trying to exec xcrun") + } ctx := testCc(t, ` cc_binary_host { name: "protoc-gen-foobar",