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

Unified Diff: base/debug/proc_maps_linux_unittest.cc

Issue 18071005: Disable ProcMapsTest.ReadProcMaps under ThreadSanitizer until issue 258451 is fixed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 5 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: base/debug/proc_maps_linux_unittest.cc
===================================================================
--- base/debug/proc_maps_linux_unittest.cc (revision 211038)
+++ base/debug/proc_maps_linux_unittest.cc (working copy)
@@ -180,7 +180,14 @@
}
}
-TEST(ProcMapsTest, ReadProcMaps) {
+// ProcMapsTest.ReadProcMaps fails under TSan on Linux,
+// see http://crbug.com/258451.
+#if defined(THREAD_SANITIZER)
+#define MAYBE_ReadProcMaps DISABLED_ReadProcMaps
+#else
+#define MAYBE_ReadProcMaps ReadProcMaps
+#endif
+TEST(ProcMapsTest, MAYBE_ReadProcMaps) {
std::string proc_maps;
ASSERT_TRUE(ReadProcMaps(&proc_maps));
« 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