From 2e5dabcdd092cf980e6b024ffedabbf6478d52b3 Mon Sep 17 00:00:00 2001 From: chihsheng Date: Tue, 9 Apr 2024 22:16:09 +0800 Subject: [PATCH] ANDROID: choose the most critical test class in CtsTelecomTestcase to run on presubmit. 1. Picked up the most code coverage and the least running time test class 2. remove the CtsTelecomTestcase due to 0% coverage rate under drivers/usb/core Bug: 331992790 Change-Id: I40b94a67411b8c03d9450d9122a89c82c4d57fca Signed-off-by: chihsheng --- arch/x86/crypto/TEST_MAPPING | 3 +++ arch/x86/entry/TEST_MAPPING | 3 +++ arch/x86/include/asm/TEST_MAPPING | 3 +++ arch/x86/kernel/fpu/TEST_MAPPING | 3 +++ arch/x86/net/TEST_MAPPING | 3 +++ block/TEST_MAPPING | 3 +++ drivers/android/TEST_MAPPING | 3 +++ drivers/base/TEST_MAPPING | 3 +++ drivers/block/zram/TEST_MAPPING | 3 +++ drivers/char/TEST_MAPPING | 3 +++ drivers/dma-buf/TEST_MAPPING | 3 +++ drivers/md/TEST_MAPPING | 3 +++ drivers/net/TEST_MAPPING | 3 +++ drivers/usb/core/TEST_MAPPING | 8 -------- drivers/virtio/TEST_MAPPING | 3 +++ include/asm-generic/TEST_MAPPING | 3 +++ include/crypto/TEST_MAPPING | 3 +++ include/drm/TEST_MAPPING | 3 +++ include/linux/TEST_MAPPING | 3 +++ include/linux/device/TEST_MAPPING | 3 +++ include/net/TEST_MAPPING | 3 +++ include/trace/TEST_MAPPING | 3 +++ include/uapi/linux/TEST_MAPPING | 3 +++ include/vdso/TEST_MAPPING | 3 +++ io_uring/TEST_MAPPING | 3 +++ kernel/bpf/TEST_MAPPING | 3 +++ kernel/cgroup/TEST_MAPPING | 3 +++ kernel/dma/TEST_MAPPING | 3 +++ net/TEST_MAPPING | 3 +++ 29 files changed, 84 insertions(+), 8 deletions(-) diff --git a/arch/x86/crypto/TEST_MAPPING b/arch/x86/crypto/TEST_MAPPING index 1a16fcee247a..c176addd0fb9 100644 --- a/arch/x86/crypto/TEST_MAPPING +++ b/arch/x86/crypto/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.DefaultDialerOperationsTest" } ] } diff --git a/arch/x86/entry/TEST_MAPPING b/arch/x86/entry/TEST_MAPPING index 1a16fcee247a..4f323dd8cc61 100644 --- a/arch/x86/entry/TEST_MAPPING +++ b/arch/x86/entry/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.CallTest" } ] } diff --git a/arch/x86/include/asm/TEST_MAPPING b/arch/x86/include/asm/TEST_MAPPING index 1a16fcee247a..41f262b8e329 100644 --- a/arch/x86/include/asm/TEST_MAPPING +++ b/arch/x86/include/asm/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.EmergencyCallTests" } ] } diff --git a/arch/x86/kernel/fpu/TEST_MAPPING b/arch/x86/kernel/fpu/TEST_MAPPING index 1a16fcee247a..8487dbb9f3d5 100644 --- a/arch/x86/kernel/fpu/TEST_MAPPING +++ b/arch/x86/kernel/fpu/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.RttOperationsTest" } ] } diff --git a/arch/x86/net/TEST_MAPPING b/arch/x86/net/TEST_MAPPING index 1a16fcee247a..9293b6130e8e 100644 --- a/arch/x86/net/TEST_MAPPING +++ b/arch/x86/net/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.DataObjectUnitTests" } ] } diff --git a/block/TEST_MAPPING b/block/TEST_MAPPING index 1a16fcee247a..9556e19d2bbf 100644 --- a/block/TEST_MAPPING +++ b/block/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.ExtendedInCallServiceTest" } ] } diff --git a/drivers/android/TEST_MAPPING b/drivers/android/TEST_MAPPING index 1a16fcee247a..2e2b3bd17a98 100644 --- a/drivers/android/TEST_MAPPING +++ b/drivers/android/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.NonUiInCallServiceTest" } ] } diff --git a/drivers/base/TEST_MAPPING b/drivers/base/TEST_MAPPING index 1a16fcee247a..670f65a90c5a 100644 --- a/drivers/base/TEST_MAPPING +++ b/drivers/base/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.InCallServiceFlagChecker" } ] } diff --git a/drivers/block/zram/TEST_MAPPING b/drivers/block/zram/TEST_MAPPING index 1a16fcee247a..8a2bbbc0b54f 100644 --- a/drivers/block/zram/TEST_MAPPING +++ b/drivers/block/zram/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.NullBindingTest" } ] } diff --git a/drivers/char/TEST_MAPPING b/drivers/char/TEST_MAPPING index 1a16fcee247a..2e2b3bd17a98 100644 --- a/drivers/char/TEST_MAPPING +++ b/drivers/char/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.NonUiInCallServiceTest" } ] } diff --git a/drivers/dma-buf/TEST_MAPPING b/drivers/dma-buf/TEST_MAPPING index 1a16fcee247a..510985ac538c 100644 --- a/drivers/dma-buf/TEST_MAPPING +++ b/drivers/dma-buf/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.SelfManagedConnectionServiceTest" } ] } diff --git a/drivers/md/TEST_MAPPING b/drivers/md/TEST_MAPPING index 1a16fcee247a..1b389bbbd373 100644 --- a/drivers/md/TEST_MAPPING +++ b/drivers/md/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.ConferenceTest" } ] } diff --git a/drivers/net/TEST_MAPPING b/drivers/net/TEST_MAPPING index 1a16fcee247a..9f88c780ccb8 100644 --- a/drivers/net/TEST_MAPPING +++ b/drivers/net/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.AccessibilitySystemActionTest" } ] } diff --git a/drivers/usb/core/TEST_MAPPING b/drivers/usb/core/TEST_MAPPING index ca917b77098c..e01273371ca0 100644 --- a/drivers/usb/core/TEST_MAPPING +++ b/drivers/usb/core/TEST_MAPPING @@ -24,14 +24,6 @@ } ] }, - { - "name": "CtsTelecomTestCases", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] - }, { "name": "vts_kernel_net_tests" } diff --git a/drivers/virtio/TEST_MAPPING b/drivers/virtio/TEST_MAPPING index 1a16fcee247a..e5e25dea6e8d 100644 --- a/drivers/virtio/TEST_MAPPING +++ b/drivers/virtio/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.BluetoothCallQualityReportTest" } ] } diff --git a/include/asm-generic/TEST_MAPPING b/include/asm-generic/TEST_MAPPING index 1a16fcee247a..d5b1f1659888 100644 --- a/include/asm-generic/TEST_MAPPING +++ b/include/asm-generic/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.IncomingCallTest" } ] } diff --git a/include/crypto/TEST_MAPPING b/include/crypto/TEST_MAPPING index 1a16fcee247a..4483e79f0bc9 100644 --- a/include/crypto/TEST_MAPPING +++ b/include/crypto/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.NullBindingCallScreeningServiceTest" } ] } diff --git a/include/drm/TEST_MAPPING b/include/drm/TEST_MAPPING index 1a16fcee247a..f077d77edd60 100644 --- a/include/drm/TEST_MAPPING +++ b/include/drm/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.PhoneAccountSuggestionServiceTest" } ] } diff --git a/include/linux/TEST_MAPPING b/include/linux/TEST_MAPPING index 1a16fcee247a..9556e19d2bbf 100644 --- a/include/linux/TEST_MAPPING +++ b/include/linux/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.ExtendedInCallServiceTest" } ] } diff --git a/include/linux/device/TEST_MAPPING b/include/linux/device/TEST_MAPPING index 1a16fcee247a..d997982601a3 100644 --- a/include/linux/device/TEST_MAPPING +++ b/include/linux/device/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.PhoneAccountTest" } ] } diff --git a/include/net/TEST_MAPPING b/include/net/TEST_MAPPING index 1a16fcee247a..409fe36cf579 100644 --- a/include/net/TEST_MAPPING +++ b/include/net/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "CallRedirectionServiceTest" } ] } diff --git a/include/trace/TEST_MAPPING b/include/trace/TEST_MAPPING index 1a16fcee247a..d997982601a3 100644 --- a/include/trace/TEST_MAPPING +++ b/include/trace/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.PhoneAccountTest" } ] } diff --git a/include/uapi/linux/TEST_MAPPING b/include/uapi/linux/TEST_MAPPING index 1a16fcee247a..4f323dd8cc61 100644 --- a/include/uapi/linux/TEST_MAPPING +++ b/include/uapi/linux/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.CallTest" } ] } diff --git a/include/vdso/TEST_MAPPING b/include/vdso/TEST_MAPPING index 1a16fcee247a..d997982601a3 100644 --- a/include/vdso/TEST_MAPPING +++ b/include/vdso/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.PhoneAccountTest" } ] } diff --git a/io_uring/TEST_MAPPING b/io_uring/TEST_MAPPING index 1a16fcee247a..d997982601a3 100644 --- a/io_uring/TEST_MAPPING +++ b/io_uring/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.PhoneAccountTest" } ] } diff --git a/kernel/bpf/TEST_MAPPING b/kernel/bpf/TEST_MAPPING index 1a16fcee247a..9556e19d2bbf 100644 --- a/kernel/bpf/TEST_MAPPING +++ b/kernel/bpf/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.ExtendedInCallServiceTest" } ] } diff --git a/kernel/cgroup/TEST_MAPPING b/kernel/cgroup/TEST_MAPPING index 1a16fcee247a..9556e19d2bbf 100644 --- a/kernel/cgroup/TEST_MAPPING +++ b/kernel/cgroup/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.ExtendedInCallServiceTest" } ] } diff --git a/kernel/dma/TEST_MAPPING b/kernel/dma/TEST_MAPPING index 1a16fcee247a..d997982601a3 100644 --- a/kernel/dma/TEST_MAPPING +++ b/kernel/dma/TEST_MAPPING @@ -53,6 +53,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.PhoneAccountTest" } ] } diff --git a/net/TEST_MAPPING b/net/TEST_MAPPING index ca917b77098c..57dbb35bf589 100644 --- a/net/TEST_MAPPING +++ b/net/TEST_MAPPING @@ -29,6 +29,9 @@ "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "include-filter": "android.telecom.cts.ExtendedInCallServiceTest" } ] },