Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddb5152a authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Makoto Onuki
Browse files

Fix tests that are broken on darwin builds.

Bug: 292141694
Test: m nothing --no-skip-soong-tests
Merged-in: Ie9a2f8961a8c43bbe1388471fc0d7aadc1456c57
Change-Id: Ie9a2f8961a8c43bbe1388471fc0d7aadc1456c57
parent 4a9869d0
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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,