summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yifeng Zeng <yifengzeng@google.com> 2024-05-01 11:55:48 -0700
committer Yifeng Zeng <yifengzeng@google.com> 2024-09-16 19:56:43 +0000
commit7ce293b86d418ed1040cf307df8378beaefadd8c (patch)
tree90f97853dd38e25c18b4c4c13de44a28227d8466
parent3900c6d6e855855469279484be732e4ba17f5389 (diff)
Disable native coverage for libinput_tests and inputflinger_tests.
These tests fail to build for coverage when Rust host coverage is enabled. This is a temporary workaround until the underlying issue is resolved. Bug: 338242594 Bug: 330591720 Test: m libinput_tests CLANG_COVERAGE=true NATIVE_COVERAGE_PATHS='*' Test: m inputflinger_tests CLANG_COVERAGE=true NATIVE_COVERAGE_PATHS='*' Merged-In: Idf82d31ce8a7078c3502b7bcb7c959177a1bbe4e Change-Id: Ibe21b560228f6ca3f8acd61bff1763492428fe29
-rw-r--r--libs/input/tests/Android.bp1
-rw-r--r--services/inputflinger/tests/Android.bp1
2 files changed, 2 insertions, 0 deletions
diff --git a/libs/input/tests/Android.bp b/libs/input/tests/Android.bp
index e9d799ed3f..9c0a41eafe 100644
--- a/libs/input/tests/Android.bp
+++ b/libs/input/tests/Android.bp
@@ -91,6 +91,7 @@ cc_test {
},
},
},
+ native_coverage: false,
}
// NOTE: This is a compile time test, and does not need to be
diff --git a/services/inputflinger/tests/Android.bp b/services/inputflinger/tests/Android.bp
index cf0d46a75d..18b6c5e47b 100644
--- a/services/inputflinger/tests/Android.bp
+++ b/services/inputflinger/tests/Android.bp
@@ -116,4 +116,5 @@ cc_test {
unit_test: true,
},
test_suites: ["device-tests"],
+ native_coverage: false,
}