Disable clang-tidy for malloc_test.cpp
Many clang-analyzer-unix.Malloc warnings from this file
are leaks after test failure and we can ignore them.
Clang-tidy cannot compile this file within 90 second
time limit most of the time, which makes maintaining
it free of clang-tidy warnings impractical.
Bug: 259995529
Test: presubmit; make tidy-bionic-tests_subset
Change-Id: I532c761744b0400dec33363a3235f81ac7fbbb30
diff --git a/tests/Android.bp b/tests/Android.bp
index 9c6aec5..8c6057f 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -367,6 +367,9 @@
cc_test_library {
name: "libBionicStandardTests",
defaults: ["bionic_tests_defaults"],
+ tidy_disabled_srcs: [
+ "malloc_test.cpp", // timed out with clang-tidy, and too many warnings
+ ],
srcs: [
"__aeabi_read_tp_test.cpp",
"__cxa_atexit_test.cpp",