Skip failing test on mac

Tests with cc_binary_host fail on mac, disable for now.

Bug: 129763458
Test: TestProto
Change-Id: Icea24ac6ffba4c5c047296cb3997a5efa95e16ee
This commit is contained in:
Colin Cross 2019-04-02 10:00:07 -07:00
parent fe17f6f0e8
commit 9a4f3f7ea8

View file

@ -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",