[compiler-rt] 3a13c5a - [tsan] Disable tests flaky on PPC with COMPILER_RT_DEBUG
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 6 16:34:03 PDT 2024
Author: Vitaly Buka
Date: 2024-09-06T16:33:52-07:00
New Revision: 3a13c5a2862fdc957d751a7679581d5da151efc2
URL: https://github.com/llvm/llvm-project/commit/3a13c5a2862fdc957d751a7679581d5da151efc2
DIFF: https://github.com/llvm/llvm-project/commit/3a13c5a2862fdc957d751a7679581d5da151efc2.diff
LOG: [tsan] Disable tests flaky on PPC with COMPILER_RT_DEBUG
Workaround for https://github.com/google/sanitizers/issues/1792
Added:
Modified:
compiler-rt/test/tsan/signal_block.cpp
compiler-rt/test/tsan/signal_reset.cpp
compiler-rt/test/tsan/signal_thread2.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/tsan/signal_block.cpp b/compiler-rt/test/tsan/signal_block.cpp
index dfd4259c43c9b2..03ac63992a7dc3 100644
--- a/compiler-rt/test/tsan/signal_block.cpp
+++ b/compiler-rt/test/tsan/signal_block.cpp
@@ -2,6 +2,10 @@
// Test that a signal is not delivered when it is blocked.
+// FIXME: Very flaky on PPC with COMPILER_RT_DEBUG.
+// https://github.com/google/sanitizers/issues/1792
+// UNSUPPORTED: !compiler-rt-optimized && ppc
+
#include "test.h"
#include <semaphore.h>
#include <signal.h>
diff --git a/compiler-rt/test/tsan/signal_reset.cpp b/compiler-rt/test/tsan/signal_reset.cpp
index 82758d882382f6..5ec72d56bee291 100644
--- a/compiler-rt/test/tsan/signal_reset.cpp
+++ b/compiler-rt/test/tsan/signal_reset.cpp
@@ -1,5 +1,10 @@
// RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
// UNSUPPORTED: darwin
+
+// FIXME: Very flaky on PPC with COMPILER_RT_DEBUG.
+// https://github.com/google/sanitizers/issues/1792
+// UNSUPPORTED: !compiler-rt-optimized && ppc
+
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/compiler-rt/test/tsan/signal_thread2.cpp b/compiler-rt/test/tsan/signal_thread2.cpp
index 9bde4f70b39d81..165055e224a9ec 100644
--- a/compiler-rt/test/tsan/signal_thread2.cpp
+++ b/compiler-rt/test/tsan/signal_thread2.cpp
@@ -1,7 +1,8 @@
// RUN: %clangxx_tsan %s -o %t && %run %t 2>&1 | FileCheck %s
// UNSUPPORTED: darwin
-// It's very flaky on PPC with COMPILER_RT_DEBUG.
+// FIXME: Very flaky on PPC with COMPILER_RT_DEBUG.
+// https://github.com/google/sanitizers/issues/1792
// UNSUPPORTED: !compiler-rt-optimized && ppc
// Test case for https://github.com/google/sanitizers/issues/1540
More information about the llvm-commits
mailing list