From 6a9a14663d34ae8ec6f7e4258dcddbafa4d417da Mon Sep 17 00:00:00 2001 From: Martin Stjernholm Date: Tue, 15 Sep 2020 02:56:19 +0100 Subject: [PATCH] Disable the prebuilt host binary test on darwin. Variants and paths are different there, and it is hard to test since it's only in postsubmit in TH. Test: m nothing Bug: 168558897 Change-Id: I071540b3c7ff9a9fd4104dca75079e831b1b2529 --- cc/prebuilt_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cc/prebuilt_test.go b/cc/prebuilt_test.go index d94d59ab8..52416ac3b 100644 --- a/cc/prebuilt_test.go +++ b/cc/prebuilt_test.go @@ -274,6 +274,10 @@ func TestPrebuiltLibrarySharedStem(t *testing.T) { } func TestPrebuiltSymlinkedHostBinary(t *testing.T) { + if android.BuildOs != android.Linux { + t.Skipf("Skipping host prebuilt testing that is only supported on %s not %s", android.Linux, android.BuildOs) + } + ctx := testPrebuilt(t, ` cc_prebuilt_library_shared { name: "libfoo",