diff options
author | 2024-10-15 13:43:48 +0100 | |
---|---|---|
committer | 2024-10-17 14:24:13 +0000 | |
commit | b207b10e5dab16a3569eac1b6972d7e3d65c9c60 (patch) | |
tree | d296fb90f86a0eaed871d7cfbb53cd21e7e00ebc /test/494-checker-instanceof-tests | |
parent | 25e5dcdbed13aa6ffc26cad8c4813098f9e48621 (diff) |
Do not package non-runnable ART run-tests in ART MTS.
ART MTS package size comparison before and after this change:
* on Arm64:
```
build/soong/soong_ui.bash --make-mode dist TARGET_PRODUCT=aosp_arm64 \
TARGET_RELEASE=mainline WITH_DEXPREOPT=false mts-art \
&& stat -c %s out/host/linux-x86/mts-art/android-mts-art.zip
```
Before: 1465306040 bytes (~1397 MiB)
After: 1463062851 bytes (~1395 MiB)
Variation: -2243189 bytes (~2 MiB) (-0.15%)
* on x86-64:
```
build/soong/soong_ui.bash --make-mode dist TARGET_PRODUCT=aosp_x86_64 \
TARGET_RELEASE=mainline WITH_DEXPREOPT=false mts-art \
&& stat -c %s out/host/linux-x86/mts-art/android-mts-art.zip
```
Before: 1483408375 bytes (~1415 MiB)
After: 1481164834 bytes (~1413 MiB)
Variation: −2243541 bytes (~2 MiB) (-0.15%)
Test: Run the following command and verify that its output contains none of
the ART run-test modules mentioned in b/363075236#comment1:
m mts-art && \
unzip -l \
$ANDROID_SOONG_HOST_OUT/mts-art/android-mts-art-tests_list.zip
Bug: 363075236
Bug: 167385698
Change-Id: I5d0aaa042df47a1f8073bc522db7348ebc75c959
Diffstat (limited to 'test/494-checker-instanceof-tests')
-rw-r--r-- | test/494-checker-instanceof-tests/Android.bp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/494-checker-instanceof-tests/Android.bp b/test/494-checker-instanceof-tests/Android.bp index cd9c4c713e..99da9df524 100644 --- a/test/494-checker-instanceof-tests/Android.bp +++ b/test/494-checker-instanceof-tests/Android.bp @@ -21,6 +21,9 @@ java_test { ":art-run-test-494-checker-instanceof-tests-expected-stdout", ":art-run-test-494-checker-instanceof-tests-expected-stderr", ], + test_suites: [ + "mts-art", + ], // Include the Java source files in the test's artifacts, to make Checker assertions // available to the TradeFed test runner. include_srcs: true, |