blob: fe7e58e6bf0b7df7a3daefe4fd8c444a9371e2bd [file] [log] [blame]
Paul Duffin5b111792017-07-10 14:56:04 +01001#! /bin/bash
2#
3# Copyright 2017 The Android Open Source Project.
4#
5# Builds and runs signature APK tests.
6
Mathew Inwoodf5852172018-03-01 13:12:20 +00007set -e
8
Paul Duffin5b111792017-07-10 14:56:04 +01009if [ -z "$ANDROID_BUILD_TOP" ]; then
10 echo "Missing environment variables. Did you run build/envsetup.sh and lunch?" >&2
11 exit 1
12fi
13
14if [ $# -eq 0 ]; then
15 PACKAGES="
16CtsCurrentApiSignatureTestCases
Jiyong Park49d695e2018-02-01 22:49:17 +090017CtsSystemApiSignatureTestCases
Paul Duffin5b111792017-07-10 14:56:04 +010018CtsAndroidTestMockCurrentApiSignatureTestCases
19CtsAndroidTestRunnerCurrentApiSignatureTestCases
Paul Duffinb0c8d0d2019-02-15 15:51:30 +000020CtsAndroidTestBase28ApiSignatureTestCases
21CtsAndroidTestBaseCurrentApiSignatureTestCases
Przemyslaw Szczepaniakbaf73c62018-02-22 16:36:06 +000022
23CtsApacheHttpLegacy27ApiSignatureTestCases
Paul Duffind92a5722017-07-14 15:42:39 +010024CtsApacheHttpLegacyCurrentApiSignatureTestCases
Przemyslaw Szczepaniakbaf73c62018-02-22 16:36:06 +000025CtsApacheHttpLegacyUsesLibraryApiSignatureTestCases
Paul Duffince31c052018-01-11 20:55:18 +000026
27CtsSystemApiAnnotationTestCases
David Brazdil12f70c82018-02-19 11:44:20 +000028
Andrei Onea5b089612020-09-08 14:36:49 +010029CtsHiddenApiBlocklistCurrentApiTestCases
30CtsHiddenApiBlocklistApi27TestCases
31CtsHiddenApiBlocklistApi28TestCases
32CtsHiddenApiBlocklistDebugClassTestCases
David Brazdilffdbfcc2018-05-09 15:18:32 +010033
34CtsHiddenApiKillswitchWildcardTestCases
Andrei Oneae504e2a2020-09-08 14:51:54 +010035CtsHiddenApiKillswitchSdkListTestCases
David Brazdilffdbfcc2018-05-09 15:18:32 +010036CtsHiddenApiKillswitchDebugClassTestCases
Sundong Ahna2dd9a42019-01-24 11:19:32 +090037
38CtsSharedLibsApiSignatureTestCases
Paul Duffin5b111792017-07-10 14:56:04 +010039"
40else
41 PACKAGES=${1+"$@"}
42fi
43
Paul Duffinbd54e932019-01-29 16:18:28 +000044atest ${PACKAGES}