-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
3 changed files
with
86 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters