Skip failing test on mac
Tests with cc_binary_host fail on mac, disable for now.
Bug: 129763458
Test: TestProto
Change-Id: Icea24ac6ffba4c5c047296cb3997a5efa95e16ee
diff --git a/cc/proto_test.go b/cc/proto_test.go
index 4f0de78..a7fcef9 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 @@
})
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",