summaryrefslogtreecommitdiff
path: root/test/testrunner/env.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/env.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/env.py')
-rw-r--r--test/testrunner/env.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testrunner/env.py b/test/testrunner/env.py
index 7564f5a6b4..0c1c308218 100644
--- a/test/testrunner/env.py
+++ b/test/testrunner/env.py
@@ -91,6 +91,8 @@ HOST_2ND_ARCH_PREFIX = _get_build_var('HOST_2ND_ARCH_PREFIX')
HOST_2ND_ARCH_PREFIX_DEX2OAT_HOST_INSTRUCTION_SET_FEATURES = _env.get(
HOST_2ND_ARCH_PREFIX + 'DEX2OAT_HOST_INSTRUCTION_SET_FEATURES')
+ART_TEST_CHROOT = _env.get('ART_TEST_CHROOT')
+
ART_TEST_ANDROID_ROOT = _env.get('ART_TEST_ANDROID_ROOT')
ART_TEST_WITH_STRACE = _getEnvBoolean('ART_TEST_DEBUG_GC', False)