summaryrefslogtreecommitdiff
path: root/build/Android.common_test.mk
diff options
context:
space:
mode:
author Igor Murashkin <iam@google.com> 2015-07-10 18:27:47 -0700
committer Igor Murashkin <iam@google.com> 2015-07-17 17:38:46 -0700
commit7617abdb402fd0419daa3eefb2ad059ccbb8b6db (patch)
tree85ca02f6446cd50523156ea916d5524eaf3bf2dc /build/Android.common_test.mk
parent479ebe076561e4a48129ab0c78cf8ca93c44baf6 (diff)
runtime: Add -Xverify:softfail and ART_TEST_INTERPRETER_ACCESS_CHECKS
Use ART_TEST_INTERPRETER_ACCESS_CHECKS=true to run all the tests through the interpreter with access checks enabled. The normal interpreter tests do not currently enable access checks, which means that a large part of the interpreter codebase is untested. The verifier will force every class into a soft fail mode if -Xverify:softfail is used, thereby ensuring that if used along with the interpreter (-Xint) that the interpret is always in access checks mode. This is used alongside with --compile-filter=verify-at-runtime to prevent the AOT compiler from putting down any code. Change-Id: I35a10ed8c43d76fa96133cf01fdad497da387200
Diffstat (limited to 'build/Android.common_test.mk')
-rw-r--r--build/Android.common_test.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/Android.common_test.mk b/build/Android.common_test.mk
index 45b649047f..2f43f5f809 100644
--- a/build/Android.common_test.mk
+++ b/build/Android.common_test.mk
@@ -45,6 +45,7 @@ ART_TEST_DEFAULT_COMPILER ?= true
# Do you want interpreter tests run?
ART_TEST_INTERPRETER ?= $(ART_TEST_FULL)
+ART_TEST_INTERPRETER_ACCESS_CHECKS ?= $(ART_TEST_FULL)
# Do you want JIT tests run?
ART_TEST_JIT ?= $(ART_TEST_FULL)