Add 9 tests into presubmit and presubmit-large for PacakgeManager
This patch adds 8 CTS test cases for PackageManager. They are the
following.
presubmit:
* CtsCodePathHostTestCases : Pixel 3 takes 1 minute 24 seconds
* CtsDomainVerificationHostTestCases: Pixel 3 takes 34 seconds
* CtsExtractNativeLibsHostTestCases: Pixel 3 takes 4 minutes 3 seconds
* CtsInstalledLoadingProgressHostTests: Pixel 3 less than 1 minute
* CtsPackageManagerMultiUserHostTestCases: Pixel 3 takes 15 seconds
* CtsPackageManagerParsingHostTestCases: Pixel 3 takes 33 seconds
* CtsPackageManagerPreferredActivityHostTestCases:
Pixel 3 takes 2 minutes 20 seconds
* CtsPackageManagerStatsHostTestCases: Pixel 3 takes 15 seconds
presubmit-large:
* CtsDynamicMimeHostTestCases: Pixel 3 takes 49 minutes
When the developers change any code in
frameworks/base/service/core/java/com/android/server/pm and
frameworks/base/service/core/java/android/content/pm, it should invoke
all of the tests under cts/hostsidetests/packagemanager.
Tests packages under cts/hostsidetests/packagemanager which take
shorter than 15 minutes are categorized as the presubmit group. The
tests which take longer than 15 minutes are categorized as the
prsubmit-large group.
Test: atest --request-upload-result \
CtsCodePathHostTestCases
Test: atest --request-upload-result \
CtsDomainVerificationHostTestCases
Test: atest --request-upload-result \
CtsExtractNativeLibsHostTestCases
Test: atest --request-upload-result \
CtsInstalledLoadingProgressHostTests
Test: atest --request-upload-result \
CtsPackageManagerMultiUserHostTestCases
Test: atest --request-upload-result \
CtsPackageManagerParsingHostTestCases
Test: atest --request-upload-result \
CtsPackageManagerPreferredActivityHostTestCases
Test: atest --request-upload-result \
CtsPackageManagerStatsHostTestCases
Test: atest --request-upload-result \
CtsDynamicMimeHostTestCases
Test: atest --request-upload-result -p \
cts/hostsidetests/packagemanager
Test: presubmit suite/test-mapping-presubmit-retry_cloud-tf
Test: presubmit suite/test-mapping-presubmit-large-retry_cloud-tf
Bug: 180650365
Change-Id: Ia472a23334ede9d9d46069094086711540918b36
1 file changed