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/022-interface | |
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/022-interface')
-rw-r--r-- | test/022-interface/build | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/022-interface/build b/test/022-interface/build index 43b1cc9..24b32bb 100644 --- a/test/022-interface/build +++ b/test/022-interface/build @@ -20,6 +20,5 @@ set -e # Use classes that are compiled with ecj that exposes an invokeinterface # issue when interfaces override methods in Object dx --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 |