From ddb5152a9fe851868dc386970836331928b3636b Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Mon, 6 Nov 2023 13:56:38 -0700 Subject: [PATCH] Fix tests that are broken on darwin builds. Bug: 292141694 Test: m nothing --no-skip-soong-tests Merged-in: Ie9a2f8961a8c43bbe1388471fc0d7aadc1456c57 Change-Id: Ie9a2f8961a8c43bbe1388471fc0d7aadc1456c57 --- java/ravenwood_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/java/ravenwood_test.go b/java/ravenwood_test.go index 4ae1d7cf5..2443ea8e7 100644 --- a/java/ravenwood_test.go +++ b/java/ravenwood_test.go @@ -15,6 +15,7 @@ package java import ( + "runtime" "testing" "android/soong/android" @@ -56,6 +57,10 @@ var prepareRavenwoodRuntime = android.GroupFixturePreparers( var installPathPrefix = "out/soong/host/linux-x86/testcases" func TestRavenwoodRuntime(t *testing.T) { + if runtime.GOOS != "linux" { + t.Skip("requires linux") + } + ctx := android.GroupFixturePreparers( PrepareForIntegrationTestWithJava, prepareRavenwoodRuntime, @@ -75,6 +80,10 @@ func TestRavenwoodRuntime(t *testing.T) { } func TestRavenwoodTest(t *testing.T) { + if runtime.GOOS != "linux" { + t.Skip("requires linux") + } + ctx := android.GroupFixturePreparers( PrepareForIntegrationTestWithJava, prepareRavenwoodRuntime,