diff options
author | 2021-05-20 15:24:34 +0100 | |
---|---|---|
committer | 2021-05-20 15:53:00 +0100 | |
commit | 1b784a7caaaac01e26876112bca85a524da83b5d (patch) | |
tree | 45a4d04d3045828dacd4b6f8ab80f26f63db0783 /java/dexpreopt_test.go | |
parent | b81b29c2f6c224e65e28e5a9860b3e91634503f9 (diff) |
Skip TestDex2oatToolDeps on Darwin.
This fixes https://r.android.com/1711292.
Test: m nothing
Bug: 188647117
Bug: 145934348
Bug: 172480615
Change-Id: I0c80b546a814d799562f374148eae5ca23b0e1f8
Diffstat (limited to 'java/dexpreopt_test.go')
-rw-r--r-- | java/dexpreopt_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/dexpreopt_test.go b/java/dexpreopt_test.go index f065534d5..b25deceac 100644 --- a/java/dexpreopt_test.go +++ b/java/dexpreopt_test.go @@ -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, |