diff options
author | Roland Levillain <rpl@google.com> | 2021-06-30 11:13:19 +0100 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2021-07-12 15:12:05 +0000 |
commit | 1bcb95247b46adaf0d6cd749ab06e6bf5a9e06e5 (patch) | |
tree | 0540fa708fe9aa1f7e4295581fdc026dd4defe42 /runtime/javaheapprof/javaheapsampler.h | |
parent | c28ac98c2fcba98c7248b46e32458be5105c85b2 (diff) |
Adjust data dir set up in `CommonArtTestImpl::SetUpAndroidRootEnvVars`.
Don't set up the `ANDROID_DATA` dir as a subdirectory of
`/data/dalvik-cache` in
`art::CommonArtTestImpl::SetUpAndroidRootEnvVars` (used in some ART
gtests), as it is not accessible on `user` builds; instead, use a
subdirectory of `/data/local/tmp`, which does not require any special
permission.
(cherry picked from commit 7ffab8106445905d30fdef6291ebd18765c961f0)
Test: m art_chroot && atest ArtGtestsTargetChroot
Test: Run ART gtests as described in `test/README.chroot.md`
Bug: 193218514
Bug: 162834439
Change-Id: I19c7015b0140610a6fd2150a7f7a057465312b0c
Merged-In: I19c7015b0140610a6fd2150a7f7a057465312b0c
Diffstat (limited to 'runtime/javaheapprof/javaheapsampler.h')
0 files changed, 0 insertions, 0 deletions