summaryrefslogtreecommitdiff
path: root/test/testrunner/testrunner.py
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2017-10-30 13:14:28 +0000
committer Roland Levillain <rpl@google.com> 2018-05-08 13:55:56 +0100
commit76cfe61b0c20f7c9d9ba9b60b188f483d81c5f68 (patch)
tree7ac27f14dedefc355c9f890d339397b8fdcb3e52 /test/testrunner/testrunner.py
parentb865d9af3bb5f4777dbe9cbd60cdb2a8fe5f0557 (diff)
Support ART on-device testing in a chroot environment.
This change updates the ART test rules and scripts to allow installation and ART testing in a chroot directory on device. All existing ART testing is supported: - ART gtests (with and without Valgrind). - ART run-tests. - libcore tests (with companion CL in external/vogar). - JDWP tests (with companion CL in external/vogar). Test: Run ART tests (gtest, run-tests, libcore tests, JDWP tests) in chroot Bug: 34729697 Bug: 68125496 Change-Id: I398e9bafee61eccd98d827ab8d9b8f6395aaa853
Diffstat (limited to 'test/testrunner/testrunner.py')
-rwxr-xr-xtest/testrunner/testrunner.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testrunner/testrunner.py b/test/testrunner/testrunner.py
index 88b509d3b7..254ffc9db1 100755
--- a/test/testrunner/testrunner.py
+++ b/test/testrunner/testrunner.py
@@ -320,6 +320,9 @@ def run_tests(tests):
if env.ART_TEST_BISECTION:
options_all += ' --bisection-search'
+ if env.ART_TEST_CHROOT:
+ options_all += ' --chroot ' + env.ART_TEST_CHROOT
+
if env.ART_TEST_ANDROID_ROOT:
options_all += ' --android-root ' + env.ART_TEST_ANDROID_ROOT