diff options
author | 2022-10-20 21:07:33 +0100 | |
---|---|---|
committer | 2022-10-29 13:26:50 +0000 | |
commit | d31ec3280ae1c8ed199e087fe631357b7bc1640b (patch) | |
tree | 07eec20dea10699cbb410eb18a34f0d8368ebd07 /compiler/optimizing/builder.h | |
parent | 6a937d6ed6a2b18153e3b2b96c4e42cb0f8de641 (diff) |
Don't spin up the ART runtime in art_standalone_dex2oat_cts_tests.
It was mistakenly based on CommonRuntimeTest, which starts a runtime
through unstable APIs. The test should only run dex2oat with minimal
arguments to make --force-palette-compilation-hooks work.
Some refactoring in Dex2oatEnvironmentTest and CommonArtTest to
separate out the scratch directory creation code.
Test: atest Dex2oatCtsTest
Check with temporary logging in
system/libartpalette/palette_android_partner.cc that
PaletteNotify(Start|End)Dex2oatCompilation still gets called.
Bug: 253937792
Bug: 255895245
Change-Id: Ieaea0faeef9571c0a269d565acd105d0f74f3d13
(cherry picked from commit 2847729bd291b225f0f289242ee10020ca69eee2)
Merged-In: Ieaea0faeef9571c0a269d565acd105d0f74f3d13
Diffstat (limited to 'compiler/optimizing/builder.h')
0 files changed, 0 insertions, 0 deletions