diff options
author | Brian Carlstrom <bdc@google.com> | 2012-03-10 23:43:07 -0800 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2012-03-10 23:43:10 -0800 |
commit | 904667a58fa38437d1be6907beb3fb76d1982e0b (patch) | |
tree | 4bddc18023c6d53509464af2914232963b48dd82 /test/003-omnibus-opcodes | |
parent | 5cb71bb4437db51f415e57e6002ba1ef023e7de1 (diff) | |
download | art-904667a58fa38437d1be6907beb3fb76d1982e0b.zip art-904667a58fa38437d1be6907beb3fb76d1982e0b.tar.gz art-904667a58fa38437d1be6907beb3fb76d1982e0b.tar.bz2 |
Do not generate run-test out files in $ANDROID_PRODUCT_OUT
If run-test leaves cruft in $ANDROID_PRODUCT_OUT, flashall -w will
make the files on the device owned by the system user. This will cause
run-test 071-dexfile to fail when run as root.
Change-Id: I071a1d52cbbefd0e75556706b473260cb6832fd4
Diffstat (limited to 'test/003-omnibus-opcodes')
-rw-r--r-- | test/003-omnibus-opcodes/build | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/003-omnibus-opcodes/build b/test/003-omnibus-opcodes/build index 8dbfc90..0671a32 100644 --- a/test/003-omnibus-opcodes/build +++ b/test/003-omnibus-opcodes/build @@ -23,6 +23,5 @@ rm classes/UnresClass.class ${JAVAC} -d classes `find src2 -name '*.java'` dx -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex classes -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 +zip $TEST_NAME.jar classes.dex +dex2oatd --boot-image=${ANDROID_PRODUCT_OUT}/data/art-test/core.art --dex-file=$TEST_NAME.jar --dex-location=/data/run-test/$TEST_NAME.jar --oat-file=$TEST_NAME.jar.oat |