diff options
author | Brian Carlstrom <bdc@google.com> | 2012-03-06 22:56:41 -0800 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2012-03-06 22:56:53 -0800 |
commit | 78325a44fbbdfbf47c9f1bd3166afcb71465a013 (patch) | |
tree | a0c56c1b792c44a4d4bc041104df1c08a05c9926 /test/056-const-string-jumbo | |
parent | 37c44442a0f1b3ae5f95e40d455022bcafb566e4 (diff) | |
download | art-78325a44fbbdfbf47c9f1bd3166afcb71465a013.zip art-78325a44fbbdfbf47c9f1bd3166afcb71465a013.tar.gz art-78325a44fbbdfbf47c9f1bd3166afcb71465a013.tar.bz2 |
Fix 071-dexfile by having run-test use a unique directory
If userdata.img is flashed, the /data/art-test is owned by the system
user. However, 071 requires the directory it runs in to have be owned
by the running user (root in eng builds).
Change-Id: I5230908291fd2ff6c5ebda98cfc3ef4c7ea7482e
Diffstat (limited to 'test/056-const-string-jumbo')
-rw-r--r-- | test/056-const-string-jumbo/build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/056-const-string-jumbo/build b/test/056-const-string-jumbo/build index a2b4ee3..3e015d1 100644 --- a/test/056-const-string-jumbo/build +++ b/test/056-const-string-jumbo/build @@ -43,5 +43,6 @@ mkdir classes ${JAVAC} -d classes src/*.java dx -JXmx500m --debug --dex --no-optimize --positions=none --no-locals --dump-to=classes.lst --output=classes.dex classes -zip ${ANDROID_PRODUCT_OUT}/data/art-test/$TEST_NAME.jar classes.dex -dex2oatd --boot-image=${ANDROID_PRODUCT_OUT}/data/art-test/core.art --dex-file=${ANDROID_PRODUCT_OUT}/data/art-test/$TEST_NAME.jar --dex-location=/data/art-test/$TEST_NAME.jar --oat-file=${ANDROID_PRODUCT_OUT}/data/art-test/$TEST_NAME.jar.oat +mkdir -p ${ANDROID_PRODUCT_OUT}/data/run-test +zip ${ANDROID_PRODUCT_OUT}/data/run-test/$TEST_NAME.jar classes.dex +dex2oatd --boot-image=${ANDROID_PRODUCT_OUT}/data/art-test/core.art --dex-file=${ANDROID_PRODUCT_OUT}/data/run-test/$TEST_NAME.jar --dex-location=/data/run-test/$TEST_NAME.jar --oat-file=${ANDROID_PRODUCT_OUT}/data/run-test/$TEST_NAME.jar.oat |