projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec0b66c
)
tsan: disable java_finalizer2 test on darwin
author
Dmitry Vyukov
<dvyukov@google.com>
Thu, 28 May 2020 09:03:02 +0000
(11:03 +0200)
committer
Dmitry Vyukov
<dvyukov@google.com>
Thu, 28 May 2020 09:03:02 +0000
(11:03 +0200)
pthread_barrier_t is not supported on darwin.
Do what other tests that use pthread_barrier_t do.
compiler-rt/test/tsan/java_finalizer2.cpp
patch
|
blob
|
history
diff --git
a/compiler-rt/test/tsan/java_finalizer2.cpp
b/compiler-rt/test/tsan/java_finalizer2.cpp
index
0cacf3f
..
8752890
100644
(file)
--- 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>