aboutsummaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-04-02 10:00:07 -0700
committerColin Cross <ccross@android.com>2019-04-02 10:02:04 -0700
commit9a4f3f7ea87d983ddf69831a9e197f6b62d4d873 (patch)
tree59f0cf26ac105aea9a501cf7913cea1cdf1ecac6 /cc
parentfe17f6f0e825b42542b4527c19cdd7b520ca5133 (diff)
downloadbuild_soong-9a4f3f7ea87d983ddf69831a9e197f6b62d4d873.tar.gz
build_soong-9a4f3f7ea87d983ddf69831a9e197f6b62d4d873.tar.bz2
build_soong-9a4f3f7ea87d983ddf69831a9e197f6b62d4d873.zip
Skip failing test on mac
Tests with cc_binary_host fail on mac, disable for now. Bug: 129763458 Test: TestProto Change-Id: Icea24ac6ffba4c5c047296cb3997a5efa95e16ee
Diffstat (limited to 'cc')
-rw-r--r--cc/proto_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/proto_test.go b/cc/proto_test.go
index 4f0de780..a7fcef93 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",