[compiler-rt] ba60c03 - [test][TSAN] Disable new test crashing with tsan

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 11:54:42 PDT 2023


Author: Vitaly Buka
Date: 2023-05-08T11:54:28-07:00
New Revision: ba60c0307e55bcd7ce7c43f1285dd1b2328b4039

URL: https://github.com/llvm/llvm-project/commit/ba60c0307e55bcd7ce7c43f1285dd1b2328b4039
DIFF: https://github.com/llvm/llvm-project/commit/ba60c0307e55bcd7ce7c43f1285dd1b2328b4039.diff

LOG: [test][TSAN] Disable new test crashing with tsan

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_join.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_join.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_join.cpp
index 2b8ff3131baaa..2b35b163b1430 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_join.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_join.cpp
@@ -1,4 +1,8 @@
-// RUN: %clangxx -pthread %s -o %t && %run %t 0 && %run %t 1
+// RUN: %clangxx -pthread %s -o %t
+// RUN: %run %t 0
+
+// FIXME: Crashes on some bots in pthread_exit.
+// RUN: %run %t %if tsan %{ 0 %} %else %{ 1 %}
 
 // XFAIL: msan
 


        


More information about the llvm-commits mailing list