summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2022-02-17 17:30:27 -0800
committerChih-Hung Hsieh <chh@google.com>2022-02-17 17:30:27 -0800
commit41a04a3e58e24a751ad8bd9cd12df8d0b3e42868 (patch)
treea7928eb9e9fe66ec27992f1f3255d33258d82264
parentf256bacbfa032f3341104a3f428cea1d05f5f7d2 (diff)
downloadgtest_extras-41a04a3e58e24a751ad8bd9cd12df8d0b3e42868.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-testing_subset Change-Id: I7dc4d1a95cf6352bafa60374ac03e3473ac272a6
-rw-r--r--Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index ef855f2..a1626fe 100644
--- a/Android.bp
+++ b/Android.bp
@@ -64,6 +64,10 @@ cc_library_static {
cc_test {
name: "gtest_isolated_tests",
host_supported: true,
+ tidy_timeout_srcs: [
+ "tests/OptionsTest.cpp",
+ "tests/SystemTests.cpp",
+ ],
srcs: [
"tests/OptionsTest.cpp",
"tests/SystemTests.cpp",