aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2022-02-17 17:31:22 -0800
committerChih-Hung Hsieh <chh@google.com>2022-02-17 17:31:22 -0800
commit76b848a41f0b2a67c20bd0464ce52a6f7f257cbb (patch)
tree8e2069cd1011b12d606716b11762ee28f2995f53
parentaad3f680390b5d4d7f1b1d7ba1bc94581acbd574 (diff)
downloadhidl-76b848a41f0b2a67c20bd0464ce52a6f7f257cbb.tar.gz
Add timed out test files to tidy_timeout_srcs
* Timed out runs do not show any warning messages. * These test files cannot finish clang-tidy runs with the following settings: TIDY_TIMEOUT=90 WITH_TIDY=1 CLANG_ANALYZER_CHECKS=1 * When TIDY_TIMEOUT is set, in Android continuous builds, tidy_timeout_srcs files will not be compiled by clang-tidy. When developers build locally without TIDY_TIMEOUT, tidy_timeout_srcs files will be compiled. * Some of these test modules may be split into smaller ones, or disable some time consuming checks, and then enable clang-tidy to run within limited time. Bug: 201099167 Test: make droid tidy-system-tools_subset Change-Id: Id0ef0190e2c0dc83149dfa85ecce2ded100513f0
-rw-r--r--test/hidl_test/Android.bp3
-rw-r--r--test/java_test/Android.bp1
2 files changed, 4 insertions, 0 deletions
diff --git a/test/hidl_test/Android.bp b/test/hidl_test/Android.bp
index fe0fe34f..e90ff4e5 100644
--- a/test/hidl_test/Android.bp
+++ b/test/hidl_test/Android.bp
@@ -93,6 +93,9 @@ cc_test {
name: "hidl_test_client",
defaults: ["hidl_test-defaults"],
+ tidy_timeout_srcs: [
+ "hidl_test_client.cpp",
+ ],
srcs: [
"hidl_test_client.cpp",
"FooCallback.cpp",
diff --git a/test/java_test/Android.bp b/test/java_test/Android.bp
index 1b3f4957..8d25a8a9 100644
--- a/test/java_test/Android.bp
+++ b/test/java_test/Android.bp
@@ -27,6 +27,7 @@ python_test_host {
cc_test {
name: "hidl_test_java_native",
+ tidy_timeout_srcs: ["hidl_test_java_native.cpp"],
srcs: ["hidl_test_java_native.cpp"],
cflags: [