1#!/bin/bash 2 3set -euxo pipefail 4 5OUTPUT_DIR=$(realpath $(dirname "$0")) 6. "$OUTPUT_DIR"/include.sh 7 8rm -rf "$OUTPUT_DIR"/report 9 10cd $ANDROID_BUILD_TOP 11llvm-cov show --instr-profile="$OUTPUT_DIR"/adbd.profdata \ 12 $ANDROID_PRODUCT_OUT/apex/com.android.adbd/bin/adbd \ 13 /proc/self/cwd/packages/modules/adb \ 14 $ADB_TEST_BINARIES \ 15 --show-region-summary=false \ 16 --format=html -o "$OUTPUT_DIR"/report 17 18llvm-cov report --instr-profile="$OUTPUT_DIR"/adbd.profdata \ 19 $ANDROID_PRODUCT_OUT/apex/com.android.adbd/bin/adbd \ 20 /proc/self/cwd/packages/modules/adb \ 21 $ADB_TEST_BINARIES \ 22 --show-region-summary=false 23