summaryrefslogtreecommitdiffstats
path: root/test/023-many-interfaces/build
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/023-many-interfaces/build
parentd2e0f90f0ab743743c4bb893b2a694b366b2b147 (diff)
downloadart-795d78f4d04c8d007bf2bdf2ed4131379bcf19c7.zip
art-795d78f4d04c8d007bf2bdf2ed4131379bcf19c7.tar.gz
art-795d78f4d04c8d007bf2bdf2ed4131379bcf19c7.tar.bz2
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/023-many-interfaces/build')
-rw-r--r--test/023-many-interfaces/build9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/023-many-interfaces/build b/test/023-many-interfaces/build
index fc81d62..a2b7eea 100644
--- a/test/023-many-interfaces/build
+++ b/test/023-many-interfaces/build
@@ -25,4 +25,11 @@ mkdir classes
${JAVAC} -d classes src/*.java
dx --debug --dex --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}