| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Also fix build scripts to die due to such warnings.
Change-Id: Ia007744fcef8e37ba73b4f73e7c50c9fc9a1d4f5
|
|
|
|
| |
Change-Id: I18c49c5cc1efc97199cb076dc258c4b9b7a46e8a
|
|
|
|
| |
Change-Id: If7222e834602bfc1232ac199ab81e7c09c058f43
|
|
|
|
| |
Change-Id: I44ebb4cdc2f5966be51a063e3c7256ab3016c404
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ief6e78b965081e4c884a48a048fc6d3021ca83bd
|
|
|
|
| |
Change-Id: I4696fee58e43db48540e2442c4235fc4bb02d9e3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Id1a64403ccea7dc2c1e8b8340d33d383d4045a33
|
|
|
|
|
|
|
|
|
| |
dex2oat defaults to build.art for the image which includes the junit
classes used by these tests. At runtime these tests are run with
core.art and so the code is missing. Change dex2oat to specify the boot
image is core.art.
Change-Id: Icd80560ac06798634f47922cc9fb592966f2b511
|
|
|
|
|
|
|
|
| |
Effectively "git revert 234da578a2d91ed7f2ef47b2ec23fb0033e2746b"
Changed run-test to do dex2oat on the host to eliminate original motivation for dex2oat locking
Change-Id: I58d64f9b2ad7cf137df865945dd31361ca57f675
|
|
|
|
|
|
| |
This replaces the -Xms, -Xmx, and -verbose options.
Change-Id: Idc023b6d369bd8b5df932b9f2eb6dbc79d591ab1
|
|
|
|
|
|
|
| |
Some of the old Dalvik tests have custom build rules - changed to
support new location of core.art in data/art-test.
Change-Id: I4a84c299e99c3567d8afe4f76e23a35ae26b754e
|
|
|
|
| |
Change-Id: Ia1122165e47f846a1d4506111849f830d9f14c1b
|
|
|
|
|
|
|
| |
This lets us run multiple tests in parallel (and know what we've got lying
around on our devices).
Change-Id: I90ecc4ceaae0ee4b323d861c2b408e2944a2f8c1
|
|
|
|
| |
Change-Id: I9d6902b0c447fd8fbe5600fd36139791b2ceefb7
|
|
|
|
| |
Change-Id: If2abdb99826ead14e3465d90ba2acffd89709389
|
|
|
|
|
|
|
|
| |
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
|
|
These tests are copied straight over. They'll still run, but they're
using the old system.
Change-Id: If494519e52ddf858a9febfc55bdae830468cb3c8
|