summaryrefslogtreecommitdiffstats
path: root/test/022-interface
Commit message (Collapse)AuthorAgeFilesLines
* Support compiling run-tests with jackSebastien Hertz2015-07-091-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | This CL adds support to compile run-test source files with jack. When a test needs to rely on class files, we use jill to convert them to a jack library. We need to pass the full classpath to jack containing at least core classes (like java.lang.Object). This means the Android tree must have been compiled with jack first so we find all the necessary classes.jack files. Some tests still rely on dex files generated with the old toolchain. We keep building them this way for the moment and will update them later, when they get ready for Jack. Also updates a few tests dealing with garbage collection to avoid a situation where a reference can be retained by a local DEX register. Bug: 19467889 (cherry picked from commit 19ac0276208f0afef6ba8a4ab34b74a59b8d11d7) Change-Id: Ia5a989b83430ffe8298a869a1da970b756721bb0
* Test and fixes for invoke-interface on java.lang.Object methods.Ian Rogers2012-12-1512-0/+40
| | | | | | Bug: 7614818 Change-Id: I704596cf3d36887e6d6d589cb3ec89e31d5b8901
* fix missing dx in build server.Tsu Chiang Chuang2012-07-201-1/+1
| | | | Change-Id: I18c49c5cc1efc97199cb076dc258c4b9b7a46e8a
* Remove explicit dex2oat calls from run-testBrian Carlstrom2012-06-041-1/+0
| | | | Change-Id: If7222e834602bfc1232ac199ab81e7c09c058f43
* Fix run-test on host.TDYa1272012-04-101-1/+1
| | | | Change-Id: I44ebb4cdc2f5966be51a063e3c7256ab3016c404
* Do not generate run-test out files in $ANDROID_PRODUCT_OUTBrian Carlstrom2012-03-101-3/+2
| | | | | | | | 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
* Fix 071-dexfile by having run-test use a unique directoryBrian Carlstrom2012-03-061-2/+3
| | | | | | | | 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
* Use debug dex2oatd in run-testBrian Carlstrom2012-02-161-1/+1
| | | | Change-Id: Ief6e78b965081e4c884a48a048fc6d3021ca83bd
* user build support for art (2 of 3)Brian Carlstrom2012-02-161-1/+1
| | | | Change-Id: I4696fee58e43db48540e2442c4235fc4bb02d9e3
* Fix a few bugs in push-and-run-test-jar.Elliott Hughes2012-02-011-1/+1
| | | | | | | | | | | | | | Simon says it's "adb shell mkdir", not "adb mkdir" (which was silently failing). We shouldn't be putting test .jar and .oat files in /system/framework (silently causing --quiet to use out of date code). The runtime has been looking for X.jar.oat given X.jar for some time now (which was silently causing all modes to use out of date code in conjunction with a to-be-fixed bug that's preventing us from recognizing that the .oat file's checksum is out of date). Change-Id: I2421878159f24cc7564faa105a3e795c09929158
* Fix copyright headers.Elliott Hughes2012-01-306-6/+90
| | | | Change-Id: I5b7bc76a370238d810d78522bd5531600746700f
* Interface dispatch bugIan Rogers2012-01-1813-1/+88
| | | | | | | | | | | | Interface methods should bind to the lowest sub-interface. Only search declared methods in a class before trying to find the interface method via the iftables. Unit test that declares toString in an concrete class, where toString has been made an interface method in CharSequence. ecj compiles this method call into an invokeinterface (hence the custom build). Change-Id: Iefa394c9e7a22da9c6ea58f07a77880102c2f966
* Adding old unit tests to test suite.jeffhao2011-09-299-0/+120
These tests are copied straight over. They'll still run, but they're using the old system. Change-Id: If494519e52ddf858a9febfc55bdae830468cb3c8