summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_unit_test.h
diff options
context:
space:
mode:
author Stefano Cianciulli <scianciulli@google.com> 2022-06-28 13:21:55 +0000
committer Stefano Cianciulli <scianciulli@google.com> 2022-06-28 15:59:11 +0000
commit38c1f6af0c830594882e67e0620b3f45d2a0c92a (patch)
tree41b461db30dbcabfb8ef28212d24db9f91beb8fd /compiler/optimizing/optimizing_unit_test.h
parent8106b381a83ceef80ff0f458fd12251f86294c05 (diff)
Fix assertions for Profman BootImageProfile tests
As part of the work done in aosp/2132472, we discovered that the two tests in Profman for boot image profiles have different behaviours (the first test creates a boot profile for a boot image, while the second does not). We also realised that there are no assertions around the call to ProfileCompilationInfo#Load, which is expected to return true is the profile is loaded correctly and false otherwise. This CL solves both issues, and makes the two test cases more similar between themselves (maintaining the crucial difference that the first tests has a single profile while the second has two different profiles that need to be merged). Test: atest art_profman_tests Change-Id: I00620e97318540532971d8d0dd8d140576225a03
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
0 files changed, 0 insertions, 0 deletions