You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
#! /bin/bash
|
|
#
|
|
# Copyright 2017 The Android Open Source Project.
|
|
#
|
|
# Builds and runs signature APK tests.
|
|
|
|
set -e
|
|
|
|
if [ -z "$ANDROID_BUILD_TOP" ]; then
|
|
echo "Missing environment variables. Did you run build/envsetup.sh and lunch?" >&2
|
|
exit 1
|
|
fi
|
|
|
|
if [ $# -eq 0 ]; then
|
|
PACKAGES="
|
|
CtsCurrentApiSignatureTestCases
|
|
CtsSystemApiSignatureTestCases
|
|
CtsAndroidTestMockCurrentApiSignatureTestCases
|
|
CtsAndroidTestRunnerCurrentApiSignatureTestCases
|
|
CtsAndroidTestBase28ApiSignatureTestCases
|
|
CtsAndroidTestBaseCurrentApiSignatureTestCases
|
|
|
|
CtsApacheHttpLegacy27ApiSignatureTestCases
|
|
CtsApacheHttpLegacyCurrentApiSignatureTestCases
|
|
CtsApacheHttpLegacyUsesLibraryApiSignatureTestCases
|
|
|
|
CtsSystemApiAnnotationTestCases
|
|
|
|
CtsHiddenApiBlocklistCurrentApiTestCases
|
|
CtsHiddenApiBlocklistApi27TestCases
|
|
CtsHiddenApiBlocklistApi28TestCases
|
|
CtsHiddenApiBlocklistDebugClassTestCases
|
|
|
|
CtsHiddenApiKillswitchWildcardTestCases
|
|
CtsHiddenApiKillswitchSdkListTestCases
|
|
CtsHiddenApiKillswitchDebugClassTestCases
|
|
|
|
CtsSharedLibsApiSignatureTestCases
|
|
"
|
|
else
|
|
PACKAGES=${1+"$@"}
|
|
fi
|
|
|
|
atest ${PACKAGES}
|