summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Richard Uhler <ruhler@google.com> 2017-04-11 10:22:30 +0100
committer Richard Uhler <ruhler@google.com> 2017-04-11 10:22:30 +0100
commita13354a9d7befb39b7625171ea65de0960e640c4 (patch)
tree9ff55c784d69e3d5b5a9a45df0a67fb1ae9bd360
parent418fd60c4f9792b16f06916769b00cd85c671481 (diff)
Add an 'art-preopt' test target configuration.
To test the common case of running preopted apps, which are precompiled pic against an unrelocated image then used with a relocated image. Bug: 33192586 Test: run_build_test_target.py art-preopt Change-Id: Iababf267b90c63afa137f16a85c78a362de4626a
-rw-r--r--test/testrunner/target_config.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/testrunner/target_config.py b/test/testrunner/target_config.py
index 82f7832e72..9837d9546c 100644
--- a/test/testrunner/target_config.py
+++ b/test/testrunner/target_config.py
@@ -209,6 +209,18 @@ target_config = {
'ART_HEAP_POISONING' : 'true'
}
},
+ 'art-preopt' : {
+ # This test configuration is intended to be representative of the case
+ # of preopted apps, which are precompiled compiled pic against an
+ # unrelocated image, then used with a relocated image.
+ 'run-test' : ['--pictest',
+ '--prebuild',
+ '--relocate',
+ '--jit'],
+ 'env' : {
+ 'ART_USE_READ_BARRIER' : 'false'
+ }
+ },
# ART gtest configurations
# (calls make 'target' which builds and then runs the gtests).