summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2022-02-17 17:27:15 -0800
committerChih-Hung Hsieh <chh@google.com>2022-02-17 17:27:15 -0800
commit415623fb967ac8cf5f0e0269252e5701abe305c4 (patch)
tree9a8dda32f2f5c3bca485983beb185d30f87df802
parent9392373c1a1f00a92397001f6471bdb451168144 (diff)
downloadlibhidl-415623fb967ac8cf5f0e0269252e5701abe305c4.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-libhidl_subset Change-Id: Icf397939f370d451c0e0d04b426b895e2737800f
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 9d268f6..c5d129e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -57,6 +57,7 @@ cc_test {
host_supported: true,
defaults: ["libhidl-defaults"],
gtest: false,
+ tidy_timeout_srcs: ["test_main.cpp"],
srcs: ["test_main.cpp"],
test_suites: ["device-tests"],