summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xservice/generate_local_coverage.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/service/generate_local_coverage.sh b/service/generate_local_coverage.sh
index b60a8463b2..3a4afa8489 100755
--- a/service/generate_local_coverage.sh
+++ b/service/generate_local_coverage.sh
@@ -23,8 +23,10 @@ unzip "${ANDROID_HOST_OUT}"/testcases/ServiceBluetoothRoboTests/ServiceBluetooth
# shellcheck disable=SC2046
rm -rf $(find ${COVERAGE_TMP_FOLDER}/ServiceBluetoothRobo_unzip -iname "*test*")
# shellcheck disable=SC2016
-rm ${COVERAGE_TMP_FOLDER}/ServiceBluetoothRobo_unzip/com/android/server/bluetooth/'BluetoothAdapterState$waitForState$3$invokeSuspend$$inlined$filter$1.class'
-rm ${COVERAGE_TMP_FOLDER}/ServiceBluetoothRobo_unzip/com/android/server/bluetooth/R.class
+rm -rf ${COVERAGE_TMP_FOLDER}/ServiceBluetoothRobo_unzip/com/android/server/bluetooth/'BluetoothAdapterState$waitForState$3$invokeSuspend$$inlined$filter$1.class'
+# shellcheck disable=SC2016
+rm -rf ${COVERAGE_TMP_FOLDER}/ServiceBluetoothRobo_unzip/com/android/server/bluetooth/'BluetoothAdapterState$waitForState$3$invokeSuspend$$inlined$filter$1$2.class'
+rm -rf ${COVERAGE_TMP_FOLDER}/ServiceBluetoothRobo_unzip/com/android/server/bluetooth/R.class
# Generate report:
# You may want to run "m jacoco-cli" if above command failed