From b4ee0af4faf7f0c8f0e9f3419f3fbddcc09a4dab Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 3 Feb 2016 15:10:00 +0000 Subject: [PATCH] tsan: disable flaky mmap_stress test llvm-svn: 259650 --- compiler-rt/test/tsan/mmap_stress.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compiler-rt/test/tsan/mmap_stress.cc b/compiler-rt/test/tsan/mmap_stress.cc index e01e7e9..f272779 100644 --- a/compiler-rt/test/tsan/mmap_stress.cc +++ b/compiler-rt/test/tsan/mmap_stress.cc @@ -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"); } -- 2.7.4