Rename the fortify compile-time diags test
Following up on comments from I40c66ff9e638b306878ada006bc2c98f2346e77a.
My best attempt at a name that conveys "a test that fails to compile in
N different ways with FORTIFY enabled, and is intended to be used with
either FileCheck, or as a cheap way to check that FORTIFY is getting
properly disabled given some set of flags."
Bug: None
Test: mma.
Change-Id: I6d62875bd1cabc5d01b10ae0f03accd5ee5c8c0a
diff --git a/tests/Android.bp b/tests/Android.bp
index e3baf74..742f44a 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -221,7 +221,7 @@
],
// Ignore that we don't have ASAN symbols linked in.
allow_undefined_symbols: true,
- srcs: ["fortify_compilation_test.cpp"],
+ srcs: ["fortify_filecheck_diagnostics_test.cpp"],
}
// Ensure we don't use FORTIFY'ed functions with the static analyzer/clang-tidy:
@@ -235,7 +235,7 @@
"-D_FORTIFY_SOURCE=2",
"-D__clang_analyzer__",
],
- srcs: ["fortify_compilation_test.cpp"],
+ srcs: ["fortify_filecheck_diagnostics_test.cpp"],
}
cc_test_library {