Merge "Fix tests that are broken on darwin builds." into main

This commit is contained in:
Jeff Sharkey
2023-11-06 21:40:37 +00:00
committed by Android (Google) Code Review

View File

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