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:
parent
fe17f6f0e8
commit
9a4f3f7ea8
|
@ -15,6 +15,7 @@
|
||||||
package cc
|
package cc
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"runtime"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
@ -37,6 +38,9 @@ func TestProto(t *testing.T) {
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("plugin", func(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, `
|
ctx := testCc(t, `
|
||||||
cc_binary_host {
|
cc_binary_host {
|
||||||
name: "protoc-gen-foobar",
|
name: "protoc-gen-foobar",
|
||||||
|
|
Loading…
Reference in New Issue