| Age | Commit message (Collapse) | Author |
|
Bug: 342332820
Test: RUN_ERROR_PRONE=true m -j96 javac-check lint-check dist
Test: art/test.py -b -r --host
Change-Id: I36a68f69af0465e5eb4bb532488b0cbdfe90a9b9
|
|
Remove the upper-case variables by inlining their values.
Rename the first argument from 'ctx' to idiomatic 'self'.
Test: Generated artifacts are identical
Change-Id: I6081e828db03423c088e5685812325c5ed96fb00
|
|
Let the scripts explicitly call it rather than making it
part of the build system magic.
It is much easier now with the context object.
Do not spam build log output with non-error messages.
Test: Generated artifacts are the same
Change-Id: I03b1e317b4f542c27b635ddd9defdd5c0e2bcb3e
|
|
Follow the same convention as run-test run scripts.
The python files shall export build function,
rather than doing the work when the script is loaded.
This has the advantage that we now pass context/arguments
to the function (rather than using environment variables).
Test: the generated build artefacts are identical
Change-Id: I90e0ef0d2e31b27813042d51d07b5ae132e1e704
|
|
Tests use the build script for two distinct purposes:
* Some tests generate their source code before completion.
Keep this code in bash for now and rename it "generate-sources".
* To customize arguments passed to the default compilation script.
Since the default compilation script is in python, make this
a normal python call, and add any customization as arguments.
This speeds up the run-test compilation. There was small cost to
pay due to the switching from python to bash to python.
This added up for the thousands of run-test compilations that we do.
It also removes the need for argument parser in the default script.
We could also remove the data passing via environment (to-do later).
It moves the definition to more build-system-like look and feel.
Test: The outputs are bit-for-bit identical as before.
Change-Id: Idca4181a4676036f06aae0a8f6eea3a3c30d390e
|
|
Ia3429287588acc1e0784dc1fd74f9e60d2c9c6d9 replaced asm-7.0.jar with
asm-9.2.jar.
Test: treehugger
Change-Id: I94b0bdb974e75be9af16e84b985361e387c40342
|
|
This is needed as ASM 6 cannot handle Java 11 class files.
Bug: 207852006
Test: art/test/testrunner/testrunner.py --host -b
Change-Id: Icd048df627ca1b88053a30aef40677198205e387
|
|
This is a minimal mechanical 1:1 translation.
Any further clean ups are left to future CLs.
Test: test.py --host
Change-Id: I34e8827b9bb0db05bd0f6c47e4a3cdaead17e192
|
|
Introduce expected standard error files for ART run-tests. Collect
tests' standard output and standard error separately and check them
against the corresponding expectation file.
Test: Run ART run-tests on host and device using `testrunner.py`.
Test: atest --test-mapping art:all
Test: atest --test-mapping cts/hostsidetests/jvmti:all
Bug: 171865375
Bug: 147812905
Change-Id: Ie95bec4a4684ff6791d464124ce8976339432d1f
|
|
This is in preparation for the addition of `expected-stderr.txt` files
in all ART run-test directories, which will record the expected
standard error for each of these tests, and which will be verified
along with `expected-stdout.txt`.
Test: Run ART run-tests on host and device using `testrunner.py`.
Test: atest --test-mapping art:all
Bug: 171865375
Bug: 147812905
Change-Id: I37e3c4b8409475790e2fc63514cdf57156d47ff4
|
|
This test uses a manually constructed Java class file. Previously a
custom build script transformed the class file into a DEX file using DX.
This broke the test on RI (as RI doesn't know about DEX files). Instead
of constructing the DEX file simply use the class file as test input.
Test: art/test/run-test --host 2034-spaces-in-SimpleName
Test: art/test/run-test --host --jvm 2034-spaces-in-SimpleName
Bug: 155151138
Bug: 154802847
Change-Id: I8d9e9b4622e279b2ee449b6ae063020192148884
|
|
Test: art/test/run-test --host 2034-spaces-in-SimpleName
Change-Id: Ia8cb75c29acd479e40d2495b250cffd577e55366
|