summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_unit_test.h
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2023-03-03 10:38:34 +0000
committer Treehugger Robot <treehugger-gerrit@google.com> 2023-03-03 13:02:33 +0000
commite1ac4dccb7cc4d70ef393613085c22db99a1f134 (patch)
tree60bba687d2892dfdfd1e5dabee9c336f3ce77812 /compiler/optimizing/optimizing_unit_test.h
parent1adb0de639204485836068d2b848eb54a8fcd709 (diff)
Construct a fake DEX2OATBOOTCLASSPATH for devices that don't have it.
This fixes the ParsedOptionsTest failure, which is another breakage caused by aosp/2458432. That test focuses on ParsedOptions and doesn't need a real DEX2OATBOOTCLASSPATH or a real BOOTCLASSPATH. Real values can't be used by the runtime in chroot anyway. However, the runtime needs them when inferring the boot image location, while DEX2OATBOOTCLASSPATH doesn't exist on old Android platforms. Therefore, we just pass a fake one to make it happy. Bug: 269230245 Test: art/tools/run-gtests.sh /apex/com.android.art/bin/art/x86_64/art_runtime_tests Change-Id: Iaa047903c877d1640029f1166aa341353ceff24b
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
0 files changed, 0 insertions, 0 deletions