diff options
author | Alex Light <allight@google.com> | 2019-05-08 17:03:10 -0700 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2019-05-09 23:37:03 +0000 |
commit | 5515310c7e83f8bd11f575fba7439edbd3bea4d9 (patch) | |
tree | 0aba86d671561b2148fb6e83b7767ccc996f1e2c /test/ProfileTestMultiDex/Main.java | |
parent | cbe6d4aa61b19c24f5c54cc90543b5ae359b67ee (diff) |
Try harder to support gtests with non-standard build config
One is able to set the location android builds to using the OUT_DIR
environment variable and android supports having this be a symlink.
Our gtests, however would fall over if you tried to run it using the
'm test-art-host-gtest' with anything other than OUT_DIR=out and out
as a real directory. If you broke this convention many tests would
fail because they are unable to find ANDROID_HOST_OUT.
This makes everything a little nicer by making common_art_test try to
figure out what ANDROID_HOST_OUT should be using the test binaries
location and commandline.
Test: export OUT_DIR=fast-out
ln -s /some/other/path fast-out
. build/envsetup.sh
lunch aosp_walleye-userdebug
m test-art-host-gtest
Change-Id: I67cdba43ef3050afe394cd03b14a43d309d020e2
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions