Do not run clang-tidy with fortify tests.
* When clang-tidy is called, its checks
gave different diagnostic messages.
Bug: 178534530
Test: mm with WITH_TIDY=1
Change-Id: I5eec8239d5531f88caefca3c4032f9764deb9e09
diff --git a/tests/Android.bp b/tests/Android.bp
index 678eae8..a6a930e 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -559,6 +559,7 @@
"-U_FORTIFY_SOURCE",
],
srcs: ["fortify_test_main.cpp"],
+ tidy: false,
target: {
host: {
clang_cflags: ["-D__clang__"],
@@ -597,6 +598,7 @@
"-D__clang_analyzer__",
],
srcs: ["clang_fortify_tests.cpp"],
+ tidy: false,
}
cc_test_library {
@@ -638,6 +640,7 @@
"-U_FORTIFY_SOURCE",
],
srcs: ["clang_fortify_tests.cpp"],
+ tidy: false,
target: {
host: {
clang_cflags: ["-D__clang__"],