Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Unified Diff: sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc

Issue 283643002: Linux sandbox: exclude MSAN from baseline policy tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
diff --git a/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc b/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
index 9182e076e81f58ec91c57a2482fb3dd31bbc1fdd..13f40e31b31cac31ef9e8830bd12bd0528c1e64a 100644
--- a/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
+++ b/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
@@ -54,7 +54,8 @@ BPF_TEST_C(BaselinePolicy, FchmodErrno, BaselinePolicy) {
}
// TODO(jln): make this work with the sanitizers.
-#if !defined(ADDRESS_SANITIZER) && !defined(THREAD_SANITIZER)
+#if !defined(ADDRESS_SANITIZER) && !defined(THREAD_SANITIZER) && \
+ !defined(MEMORY_SANITIZER)
BPF_TEST_C(BaselinePolicy, ForkErrno, BaselinePolicy) {
errno = 0;
@@ -108,7 +109,8 @@ BPF_DEATH_TEST_C(BaselinePolicy,
HandlePostForkReturn(pid);
}
-#endif // !defined(ADDRESS_SANITIZER) && !defined(THREAD_SANITIZER)
+#endif // !defined(ADDRESS_SANITIZER) && !defined(THREAD_SANITIZER) &&
+ // !defined(MEMORY_SANITIZER)
} // namespace
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698