blob: 618a86e8a658a4cf67495abe197460425da62955 [file] [log] [blame]
Steven Moreland6d26c072020-05-21 23:28:14 +00001#!/usr/bin/env bash
2
3# Copyright (C) 2020 The Android Open Source Project
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17set -ex
18
19# TODO(b/156942077): when this test was converted to atest, we lost the ability
20# to see test results on stdout, and we can't print out the gtest results on
21# stderr because it breaks python test parsing. So, this file is added to help
22# run integration tests.
23
24$ANDROID_BUILD_TOP/build/soong/soong_ui.bash --make-mode \
25 MODULES-IN-system-tools-aidl
26
27adb root
Steven Moreland3dffc0b2020-07-08 20:57:20 +000028adb wait-for-device
Steven Moreland6d26c072020-05-21 23:28:14 +000029adb sync data
30adb install -r \
31 ${ANDROID_PRODUCT_OUT}/testcases/aidl_test_services/x86/aidl_test_services.apk
32
33${ANDROID_BUILD_TOP}/system/tools/aidl/tests/aidl_integration_test.py