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
This commit is contained in:
Martin Stjernholm 2021-05-20 15:24:34 +01:00
parent cae43e1c16
commit 5053baab54
1 changed files with 5 additions and 0 deletions

View File

@ -173,6 +173,11 @@ func enabledString(enabled bool) string {
}
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,