summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
author Chih-Hung Hsieh <chh@google.com> 2022-02-17 21:14:37 -0800
committer Chih-hung Hsieh <chh@google.com> 2022-02-22 18:19:47 +0000
commita0a5f0030bf930d78e28e2ed15036f7f558f45f6 (patch)
tree982f5fad00fe3aac82785d2e32cb0fddb91baab3 /cmdline
parent19df0e9ee69c274033a9668eeaabb3b8ca8de3af (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-art_subset Change-Id: I2b26507d6d8843fadad1dfe2406db6c412bd5610
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdline/Android.bp b/cmdline/Android.bp
index bf00a85eaa..91c8ccd8d1 100644
--- a/cmdline/Android.bp
+++ b/cmdline/Android.bp
@@ -38,6 +38,7 @@ cc_library_headers {
art_cc_defaults {
name: "art_cmdline_tests_defaults",
+ tidy_timeout_srcs: ["cmdline_parser_test.cc"],
srcs: ["cmdline_parser_test.cc"],
}