History log of /art/test/003-omnibus-opcodes/build
Revision Date Author Comments
620d0a51b7ef079176a7cff6fe03c60ef3a3e3af 19-Sep-2016 Søren Gjesse <sgjesse@google.com> Make javac always use Java 7 when running tests using javac and dx

This adds "-source 1.7 -target 1.7" to JAVAC when --build-with-javac-dx
is specified.

Also make sure that dx is not run when --jvm is passed.

Test: art/test/run-test --host --build-with-javac-dx 003-omnibus-opcodes
Test: art/test/run-test --host --build-with-javac-dx 005-annotations
Test: art/test/run-test --host --build-with-javac-dx 023-many-interfaces
Test: art/test/run-test --host --build-with-javac-dx 056-const-string-jumbo
Test: art/test/run-test --host --build-with-javac-dx 091-override-package-private-method
Test: art/test/run-test --host --build-with-javac-dx 111-unresolvable-exception
Test: art/test/run-test --host --build-with-javac-dx 113-multidex
Test: art/test/run-test --host --build-with-javac-dx 124-missing-classes
Test: art/test/run-test --host --build-with-javac-dx 126-miranda-multidex
Test: art/test/run-test --host --build-with-javac-dx 127-checker-secondarydex
Test: art/test/run-test --host --build-with-javac-dx 131-structural-change
Test: art/test/run-test --host --build-with-javac-dx 138-duplicate-classes-check2
Test: art/test/run-test --host --build-with-javac-dx 303-verification-stress
Test: art/test/run-test --host --build-with-javac-dx 551-checker-shifter-operand
Test: art/test/run-test --host --build-with-javac-dx 555-checker-regression-x86const

Test: art/test/run-test --host 003-omnibus-opcodes
Test: art/test/run-test --host 005-annotations
Test: art/test/run-test --host 023-many-interfaces
Test: art/test/run-test --host 056-const-string-jumbo
Test: art/test/run-test --host 091-override-package-private-method
Test: art/test/run-test --host 111-unresolvable-exception
Test: art/test/run-test --host 113-multidex
Test: art/test/run-test --host 124-missing-classes
Test: art/test/run-test --host 126-miranda-multidex
Test: art/test/run-test --host 127-checker-secondarydex
Test: art/test/run-test --host 131-structural-change
Test: art/test/run-test --host 138-duplicate-classes-check2
Test: art/test/run-test --host 303-verification-stress
Test: art/test/run-test --host 551-checker-shifter-operand
Test: art/test/run-test --host 555-checker-regression-x86const

Test: art/test/run-test --jvm 003-omnibus-opcodes
Test: art/test/run-test --jvm 005-annotations
Test: art/test/run-test --jvm 023-many-interfaces
Test: art/test/run-test --jvm 056-const-string-jumbo
Test: art/test/run-test --jvm 091-override-package-private-method
Test: art/test/run-test --jvm 111-unresolvable-exception
Test: art/test/run-test --jvm 113-multidex
Test: art/test/run-test --jvm 124-missing-classes
Test: art/test/run-test --jvm 126-miranda-multidex
Test: art/test/run-test --jvm 127-checker-secondarydex
Test: art/test/run-test --jvm 131-structural-change
Test: art/test/run-test --jvm 138-duplicate-classes-check2
Test: art/test/run-test --jvm 303-verification-stress
Test: art/test/run-test --jvm 551-checker-shifter-operand
Test: art/test/run-test --jvm 555-checker-regression-x86const

Change-Id: I60f8a973c0dd425988abe55223bdef426c772b97
51e4d44178919bf717e58365ce52a3c852d28465 19-Jan-2016 Yohann Roussel <yroussel@google.com> Remove usages of jill.jar, use jack instead

(cherry picked from commit aaa779a0a5f7afc23814728de68c6fe3ae1450bf)

Change-Id: I87fc0cdd34cf8107601af38f2559597200908173
aaa779a0a5f7afc23814728de68c6fe3ae1450bf 19-Jan-2016 Yohann Roussel <yroussel@google.com> Remove usages of jill.jar, use jack instead

Change-Id: Icb403ee6fb5bf287d2b72bb253b683b1d95f4e07
5ee9454dfee08a70dec62b0ed0fd4ad274274937 24-Feb-2015 Sebastien Hertz <shertz@google.com> Support compiling run-tests with jack

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
19ac0276208f0afef6ba8a4ab34b74a59b8d11d7 24-Feb-2015 Sebastien Hertz <shertz@google.com> Support compiling run-tests with jack

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
Change-Id: I9eedd0705d1186d28a2acd37ea42a1762cd0ace2
997f0f9e69ce7aee73cebd64be8dc40af9164257 22-Jun-2014 Ian Rogers <irogers@google.com> Limit the size of files created by run-test to 2MB.

In MemMap::MapAnonymous on the host, avoid creating ashmem regions that are
backed by files, when the size of the file will be greater than the ulimit.

Change-Id: I7cbf2ac59bf5869ed85850bea8d71898f3b7e1c7
4407e61aa4cd75e6f31919cfca6a544d18b88c53 20-Jul-2012 Tsu Chiang Chuang <tsu@google.com> fix missing dx in build server.

Change-Id: I18c49c5cc1efc97199cb076dc258c4b9b7a46e8a
2ab7f486ba73b2846bdbdde65cc2d41f62a26015 05-Jun-2012 Brian Carlstrom <bdc@google.com> Remove explicit dex2oat calls from run-test

Change-Id: If7222e834602bfc1232ac199ab81e7c09c058f43
b92bcabcbb28f69fe99e1c2f2e5559ab2c47aa60 08-Apr-2012 TDYa127 <tdy@google.com> Fix run-test on host.

Change-Id: I44ebb4cdc2f5966be51a063e3c7256ab3016c404
904667a58fa38437d1be6907beb3fb76d1982e0b 11-Mar-2012 Brian Carlstrom <bdc@google.com> 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
78325a44fbbdfbf47c9f1bd3166afcb71465a013 07-Mar-2012 Brian Carlstrom <bdc@google.com> 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
48135504e8c3ef88ab83dfc62bde94f7d00d289c 17-Feb-2012 Brian Carlstrom <bdc@google.com> Use debug dex2oatd in run-test

Change-Id: Ief6e78b965081e4c884a48a048fc6d3021ca83bd
a004aa933a58428489e42d77f707c2b063b73747 09-Feb-2012 Brian Carlstrom <bdc@google.com> user build support for art (2 of 3)

Change-Id: I4696fee58e43db48540e2442c4235fc4bb02d9e3
37476bd64b75c1aff8c3a5c7cadb424e37f25869 01-Feb-2012 Elliott Hughes <enh@google.com> Fix a few bugs in push-and-run-test-jar.

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
a6cc893c4b142cd410fc956963b6f5a014e983ad 04-Jan-2012 Brian Carlstrom <bdc@google.com> Add installd support to dex2oat

Change-Id: Id1a64403ccea7dc2c1e8b8340d33d383d4045a33
2d3430ac37a2d0fdc2015c364784aa0fed96197f 13-Dec-2011 Ian Rogers <irogers@google.com> Fix regression in vm tests 021 and 082

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
6ef827a33b04fd5413d2ad88fd4599ca1920c824 11-Dec-2011 Brian Carlstrom <bdc@google.com> Revert dex2oat file locking

Effectively "git revert 234da578a2d91ed7f2ef47b2ec23fb0033e2746b"

Changed run-test to do dex2oat on the host to eliminate original motivation for dex2oat locking

Change-Id: I58d64f9b2ad7cf137df865945dd31361ca57f675
5d84040e2231de1d48e6f30cab2cc8d4beb8effe 25-Oct-2011 jeffhao <jeffhao@google.com> Created --runtime-arg switch for dex2oat to pass arguments to runtime.

This replaces the -Xms, -Xmx, and -verbose options.

Change-Id: Idc023b6d369bd8b5df932b9f2eb6dbc79d591ab1
9b27e1c213d72f59f8ac760cb7a25fbaa5a66059 16-Oct-2011 buzbee <buzbee@google.com> art/test build fixes

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
aded5f7ab991f3c1132851599d3bc60ff6707eed 08-Oct-2011 Brian Carlstrom <bdc@google.com> Working ClassLoader

Change-Id: Ia1122165e47f846a1d4506111849f830d9f14c1b
8cbc8bc716d7a47019ad14403920c72547b2fb96 04-Oct-2011 Elliott Hughes <enh@google.com> Use a test-specific name for each generated file.

This lets us run multiple tests in parallel (and know what we've got lying
around on our devices).

Change-Id: I90ecc4ceaae0ee4b323d861c2b408e2944a2f8c1
58ae9416e197ae68ed12ed43d87407d4dfb15093 04-Oct-2011 Brian Carlstrom <bdc@google.com> Simplify command line arguments

Change-Id: I9d6902b0c447fd8fbe5600fd36139791b2ceefb7
e24fa61603a60ade3797e4a0c8b3fccb346cb048 29-Sep-2011 Brian Carlstrom <bdc@google.com> Separate oat from image

Change-Id: If2abdb99826ead14e3465d90ba2acffd89709389
795d78f4d04c8d007bf2bdf2ed4131379bcf19c7 01-Oct-2011 jeffhao <jeffhao@google.com> Old tests run with new system.

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
5d1ac920fdaef5d4ec8f66bb734488cd9660b024 30-Sep-2011 jeffhao <jeffhao@google.com> Adding old unit tests to test suite.

These tests are copied straight over. They'll still run, but they're
using the old system.

Change-Id: If494519e52ddf858a9febfc55bdae830468cb3c8