summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generation_data.cc
diff options
context:
space:
mode:
author Martin Stjernholm <mast@google.com> 2024-08-23 23:59:56 +0100
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-08-29 19:54:54 +0000
commit4809d2fceecbfeb16324ee382587934bb5cc8d69 (patch)
treeb59bb076a85dd47dcbc7a4f777187cc4ade10105 /compiler/optimizing/code_generation_data.cc
parente40d236781908dc7b63368f57f0adca2d475ede0 (diff)
Fix error propagation from dex2oat command execution in tests.
There's no magic to report assertion errors just by creating ::testing::AssertionFailure objects - they have to be returned and checked. Fix that by using Result wrappers. Add the libgmock dependency to art_dex2oat_tests_defaults, because it's necessary for the macros in android-base/result-gmock.h but libbase doesn't pull it in. #codehealth Test: atest art_standalone_dex2oat_cts_tests \ art_standalone_dex2oat_tests Bug: 360737799 Change-Id: I3ca73c5ee625ff09329bb36272d3a654c719768f
Diffstat (limited to 'compiler/optimizing/code_generation_data.cc')
0 files changed, 0 insertions, 0 deletions