diff options
author | Roland Levillain <rpl@google.com> | 2020-02-10 12:28:01 +0000 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2020-07-03 19:11:02 +0000 |
commit | 01e5698d5440c2665b7ab6dd924985843be161a2 (patch) | |
tree | 580cb03de99c1e7d1c552c9e18e30b1ee9030ca6 /compiler/optimizing/codegen_test_utils.h | |
parent | eaf3a920817fcf3b85d80eb16eb2fe91831e1fb9 (diff) |
Add Soong module definitions for ART run-tests with default build rules.
Introduce new Bash script `test/utils/regen-test-files` and use it
to generate a set of initial Soong module definitions for some ART
run-tests matching these conditions:
1. using default build rules (defined in `test/etc/default-build`), as
per the `test/run-test` script;
2. consisting only of Java source files contained in their `src`
directory;
3. containing no additional build complexity.
Also disable ErrorProne checks for ART run-tests on `errorprone`
builds.
Test: m $(find art/test \
-regextype egrep \
-regex 'art/test/[0-9]{3,}-.*/Android.bp' \
-printf '%P\n' \
| sed -r 's,(.*)/Android.bp,art-run-test-\1,' \
| sort)
Test: m javac-check $(find art/test \
-regextype egrep \
-regex 'art/test/[0-9]{3,}-.*/Android.bp' \
-printf '%P\n' \
| sed -r 's,(.*)/Android.bp,art-run-test-\1,' \
| sort) RUN_ERROR_PRONE=true
Bug: 147814778
Change-Id: Ife6b045a88bd18b06a3fc202f3d226e27e0fc03d
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions