diff options
| author | 2022-10-20 21:07:33 +0100 | |
|---|---|---|
| committer | 2022-10-28 17:25:53 +0100 | |
| commit | 2847729bd291b225f0f289242ee10020ca69eee2 (patch) | |
| tree | cdf709c2ba320ec27624d548623de42d43ebb145 /compiler/optimizing/graph_visualizer.h | |
| parent | 1316d3a632032f2898b12eb86bccf455693c2eb8 (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
Change-Id: Ieaea0faeef9571c0a269d565acd105d0f74f3d13
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions