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
diff --git a/test/testrunner/target_config.py b/test/testrunner/target_config.py
index 82f7832..9837d95 100644
--- a/test/testrunner/target_config.py
+++ b/test/testrunner/target_config.py
@@ -209,6 +209,18 @@
'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).