AIDEGen: Skip removing coverage files in the cleanup stage of
run_tests.sh
Bug: 142621820
Test: ./run_tests.sh; python3 -m coverage report
Change-Id: Ieabc26dc830fb05bcd4f9804101c9c0b91480c46
diff --git a/.gitignore b/.gitignore
index 875daa2..8b3433a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@
**/yapfrc
**/build
**/.gradle
+**/.coverage
# Exceptions
!aidegen/test_data/*.iml
diff --git a/aidegen/run_tests.sh b/aidegen/run_tests.sh
index ff630a1..3ac3500 100755
--- a/aidegen/run_tests.sh
+++ b/aidegen/run_tests.sh
@@ -91,9 +91,6 @@
function cleanup() {
# Search for *.pyc and delete them.
find $AIDEGEN_DIR -name "*.pyc" -exec rm -f {} \;
-
- # Delete the generated .coverage files too.
- find $ASUITE_DIR -name "*.coverage" -exec rm -f {} \;
}
check_env