[compiler-rt] r259650 - tsan: disable flaky mmap_stress test
Dmitry Vyukov via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 3 07:10:01 PST 2016
Author: dvyukov
Date: Wed Feb 3 09:10:00 2016
New Revision: 259650
URL: http://llvm.org/viewvc/llvm-project?rev=259650&view=rev
Log:
tsan: disable flaky mmap_stress test
Modified:
compiler-rt/trunk/test/tsan/mmap_stress.cc
Modified: compiler-rt/trunk/test/tsan/mmap_stress.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/mmap_stress.cc?rev=259650&r1=259649&r2=259650&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/mmap_stress.cc (original)
+++ compiler-rt/trunk/test/tsan/mmap_stress.cc Wed Feb 3 09:10:00 2016
@@ -47,6 +47,10 @@ void *Worker(void *arg) {
}
int main() {
+ // This test is flaky on several builders:
+ // https://groups.google.com/d/msg/llvm-dev/KUFPdLhBN3Q/L75rwW9xBgAJ
+ // The cause is unknown (lit hides test output on failures).
+#if 0
pthread_t th[4];
for (int i = 0; i < 4; i++) {
if (pthread_create(&th[i], 0, Worker, 0))
@@ -56,6 +60,7 @@ int main() {
if (pthread_join(th[i], 0))
exit(printf("pthread_join failed: %d\n", errno));
}
+#endif
fprintf(stderr, "DONE\n");
}
More information about the llvm-commits
mailing list