summaryrefslogtreecommitdiffstats
path: root/test/056-const-string-jumbo
diff options
context:
space:
mode:
authorjeffhao <jeffhao@google.com>2011-09-30 18:34:35 -0700
committerjeffhao <jeffhao@google.com>2011-09-30 18:34:35 -0700
commit795d78f4d04c8d007bf2bdf2ed4131379bcf19c7 (patch)
tree9d6288a561f82997ddd60ee0109949a65807cb79 /test/056-const-string-jumbo
parentd2e0f90f0ab743743c4bb893b2a694b366b2b147 (diff)
downloadart-795d78f4d04c8d007bf2bdf2ed4131379bcf19c7.tar.gz
art-795d78f4d04c8d007bf2bdf2ed4131379bcf19c7.tar.bz2
art-795d78f4d04c8d007bf2bdf2ed4131379bcf19c7.zip
Old tests run with new system.
The tests are ported and run with the new system, though many currently don't pass. Some of the tests also need additional fixing to run properly. Change-Id: I3263cf5dcb0fe064a3e6c02e4aa1bb9a067f64c7
Diffstat (limited to 'test/056-const-string-jumbo')
-rw-r--r--test/056-const-string-jumbo/build9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/056-const-string-jumbo/build b/test/056-const-string-jumbo/build
index c5e35dbbc1..98f27b8db6 100644
--- a/test/056-const-string-jumbo/build
+++ b/test/056-const-string-jumbo/build
@@ -44,4 +44,11 @@ ${JAVAC} -d classes src/*.java
dx -JXmx500m --debug --dex --no-optimize --positions=none --no-locals \
--dump-to=classes.lst --output=classes.dex classes
-zip test.jar classes.dex
+zip ${ANDROID_PRODUCT_OUT}/system/framework/test.jar classes.dex
+
+dex2oatd -Xms16m -Xmx16m \
+ --boot-dex-file=${ANDROID_PRODUCT_OUT}/system/framework/core.jar \
+ --boot=${ANDROID_PRODUCT_OUT}/system/framework/core.oat \
+ --dex-file=${ANDROID_PRODUCT_OUT}/system/framework/test.jar \
+ --image=${ANDROID_PRODUCT_OUT}/system/framework/test.oat \
+ --strip-prefix=${ANDROID_PRODUCT_OUT}