summaryrefslogtreecommitdiff
path: root/test/640-checker-integer-valueof
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2024-10-15 13:43:48 +0100
committer Roland Levillain <rpl@google.com> 2024-10-17 14:24:13 +0000
commitb207b10e5dab16a3569eac1b6972d7e3d65c9c60 (patch)
treed296fb90f86a0eaed871d7cfbb53cd21e7e00ebc /test/640-checker-integer-valueof
parent25e5dcdbed13aa6ffc26cad8c4813098f9e48621 (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/640-checker-integer-valueof')
-rw-r--r--test/640-checker-integer-valueof/Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/640-checker-integer-valueof/Android.bp b/test/640-checker-integer-valueof/Android.bp
index aca0bb3b59..98a7992320 100644
--- a/test/640-checker-integer-valueof/Android.bp
+++ b/test/640-checker-integer-valueof/Android.bp
@@ -21,6 +21,9 @@ java_test {
":art-run-test-640-checker-integer-valueof-expected-stdout",
":art-run-test-640-checker-integer-valueof-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,