1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #!/usr/bin/env bash
- if [ -z $ANDROID_BUILD_TOP ]; then
- echo "You need to source and lunch before you can use this script"
- exit 1
- fi
- echo "Running tests"
- set -e
- echo "+ mmma $ANDROID_BUILD_TOP/system/tools/aidl"
- $ANDROID_BUILD_TOP/build/soong/soong_ui.bash --make-mode \
- MODULES-IN-system-tools-aidl
- set -x
- ${ANDROID_HOST_OUT}/nativetest64/aidl_unittests/aidl_unittests
- adb root
- adb wait-for-device
- adb remount
- adb sync
- adb install -r \
- ${ANDROID_PRODUCT_OUT}/system/app/aidl_test_services/aidl_test_services.apk
- ${ANDROID_BUILD_TOP}/system/tools/aidl/tests/integration-test.py
|