Commit 4014d84d authored by Igor Murashkin's avatar Igor Murashkin
Browse files

test: Add support for jasmin

Adding .j files in a jasmin directory will place those classes into
the same jar as src/src2 source files.

Adding .j files in a jasmin-multidex directory will place those classes
into the same jar as src-multidex source files.

Jasmin classes have medium priority and will overwrite any .java
classes.

Smali classes have the highest priority and smali classes
will overwrite any jasmin classes.

Using jasmin is preferred for tests that can run cross-platform.

(Also convert two of the tests to use jasmin instead of smali).

Test: art/test/run-test --host --optimizing --build-with-jack 064-field-access
Test: DESUGAR=false art/test/run-test --host --optimizing --build-with-javac-dx  064-field-access
Test: DESUGAR=false art/test/run-test --host --optimizing --build-with-javac-dx 606-erroneous-class
Test: art/test/run-test --host --optimizing --build-with-jack 606-erroneous-class
Test: #(manual) run-test --jvm and check that .class is there as a build artifact
Bug: 62855082
Change-Id: I5966d37f603bb5b93f75a842e7d597721afafacd
parent 6375a04c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment