commit | b0633b2d69b5bae42c4cf97696aa227e2a8750ef | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Thu May 24 15:59:18 2018 +0100 |
committer | Roland Levillain <rpl@google.com> | Thu May 24 15:59:18 2018 +0100 |
tree | 9f763324fececf7477c7b1a571a17536b1249f31 | |
parent | e46752658eaf41c0cc818c51a3e1cd95876bac93 [diff] |
Have testrunner honor ART_TEST_CHROOT only for target tests. Chroot-based testing is only supported on devices, and art/test/run-test would complain if `--host` and `--chroot` were to be used together. Also have the same behavior for ART_TEST_ANDROID_ROOT, as it only makes sense for target tests. Test: ART_TEST_CHROOT=/data/local/art-test-chroot art/test/testrunner/testrunner.py --host Bug: 34729697 Change-Id: I617fbcf719d3c59dbcbd632e69bf52e3498b4cff