[compiler-rt] 0969541 - tsan: disable java_finalizer2 test on darwin
Dmitry Vyukov via llvm-commits
llvm-commits at lists.llvm.org
Thu May 28 02:03:47 PDT 2020
Author: Dmitry Vyukov
Date: 2020-05-28T11:03:02+02:00
New Revision: 0969541ffcb24ae1af59fcb8778063becf17dbca
URL: https://github.com/llvm/llvm-project/commit/0969541ffcb24ae1af59fcb8778063becf17dbca
DIFF: https://github.com/llvm/llvm-project/commit/0969541ffcb24ae1af59fcb8778063becf17dbca.diff
LOG: tsan: disable java_finalizer2 test on darwin
pthread_barrier_t is not supported on darwin.
Do what other tests that use pthread_barrier_t do.
Added:
Modified:
compiler-rt/test/tsan/java_finalizer2.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/tsan/java_finalizer2.cpp b/compiler-rt/test/tsan/java_finalizer2.cpp
index 0cacf3f9adfd..87528900541a 100644
--- a/compiler-rt/test/tsan/java_finalizer2.cpp
+++ b/compiler-rt/test/tsan/java_finalizer2.cpp
@@ -1,5 +1,9 @@
// RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
// Regression test for https://github.com/golang/go/issues/39186
+
+// pthread barriers are not available on OS X
+// UNSUPPORTED: darwin
+
#include "java.h"
#include <string.h>
More information about the llvm-commits
mailing list