commit | 5053baab54b1551f6ba2fd5522abcb18b726b9bd | [log] [tgz] |
---|---|---|
author | Martin Stjernholm <mast@google.com> | Thu May 20 15:24:34 2021 +0100 |
committer | Martin Stjernholm <mast@google.com> | Thu May 20 17:36:22 2021 +0100 |
tree | 7d997fa643d48ccd03031e8acd75f3a141e47ea9 | |
parent | cae43e1c1665f50c0fb6c0444f5b787637ad2d4b [diff] |
Skip TestDex2oatToolDeps on Darwin. This fixes https://r.android.com/1711292. Cherry-picked from https://r.android.com/1713990. Test: m nothing Bug: 188647117 Bug: 145934348 Bug: 172480615 Change-Id: I0c80b546a814d799562f374148eae5ca23b0e1f8 Merged-In: I0c80b546a814d799562f374148eae5ca23b0e1f8
diff --git a/java/dexpreopt_test.go b/java/dexpreopt_test.go index f065534..b25dece 100644 --- a/java/dexpreopt_test.go +++ b/java/dexpreopt_test.go
@@ -173,6 +173,11 @@ } func TestDex2oatToolDeps(t *testing.T) { + if android.BuildOs != android.Linux { + // The host binary paths checked below are build OS dependent. + t.Skipf("Unsupported build OS %s", android.BuildOs) + } + preparers := android.GroupFixturePreparers( cc.PrepareForTestWithCcDefaultModules, PrepareForTestWithJavaDefaultModulesWithoutFakeDex2oatd,