summaryrefslogtreecommitdiff
path: root/identity
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2022-02-17 21:56:13 -0800
committerChih-Hung Hsieh <chh@google.com>2022-02-18 17:25:41 -0800
commitad1bf31b78dbbfb31fa27bade538884a905454d8 (patch)
tree56633427c9fba7080a5a070a249f7a17345db1b7 /identity
parentbade4d7bd2ef41fb1c1dd95d05b11c88a838b59f (diff)
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-hardware-interfaces_subset Change-Id: I1de28f1572fff368f67eab512fffec9f2e5c2a9b
Diffstat (limited to 'identity')
-rw-r--r--identity/support/Android.bp6
1 files changed, 6 insertions, 0 deletions
diff --git a/identity/support/Android.bp b/identity/support/Android.bp
index db1a945964..4e3d1f75e5 100644
--- a/identity/support/Android.bp
+++ b/identity/support/Android.bp
@@ -86,6 +86,9 @@ cc_library {
cc_test {
name: "cppbor_test",
+ tidy_timeout_srcs: [
+ "tests/cppbor_test.cpp",
+ ],
srcs: [
"tests/cppbor_test.cpp",
],
@@ -101,6 +104,9 @@ cc_test {
cc_test_host {
name: "cppbor_host_test",
+ tidy_timeout_srcs: [
+ "tests/cppbor_test.cpp",
+ ],
srcs: [
"tests/cppbor_test.cpp",
],