From b207b10e5dab16a3569eac1b6972d7e3d65c9c60 Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Tue, 15 Oct 2024 13:43:48 +0100 Subject: Do not package non-runnable ART run-tests in ART MTS. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- test/640-checker-integer-valueof/Android.bp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/640-checker-integer-valueof') 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, -- cgit v1.2.3-59-g8ed1b