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

Unified Diff: sandbox/linux/seccomp-bpf/trap_unittest.cc

Issue 1104813008: Disable the failing Trap.SigSysAction test under TSan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 5 years, 8 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/trap_unittest.cc
diff --git a/sandbox/linux/seccomp-bpf/trap_unittest.cc b/sandbox/linux/seccomp-bpf/trap_unittest.cc
index 99f94bfb3a499e603b1b5dbd3db845261886cf92..3d95e3463ba75d85fff28f142c0666a2271471c9 100644
--- a/sandbox/linux/seccomp-bpf/trap_unittest.cc
+++ b/sandbox/linux/seccomp-bpf/trap_unittest.cc
@@ -12,6 +12,7 @@
namespace sandbox {
namespace {
+#if !defined(THREAD_SANITIZER)
SANDBOX_TEST_ALLOW_NOISE(Trap, SigSysAction) {
// This creates a global Trap instance, and registers the signal handler
// (Trap::SigSysAction).
@@ -23,6 +24,7 @@ SANDBOX_TEST_ALLOW_NOISE(Trap, SigSysAction) {
// "Unexpected SIGSYS received." so it is necessary to allow the noise.
raise(SIGSYS);
}
+#endif
} // namespace
} // namespace sandbox
« 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