[PATCH] D14443: [tsan] Turn lit test deadlocks into failures (OS X)

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 08:14:37 PST 2015


dvyukov added inline comments.

================
Comment at: test/tsan/signal_reset.cc:44
@@ -43,1 +43,3 @@
 int main() {
+#if defined(__APPLE__)
+  fprintf(stderr, "This test is not supported on OS X.\n");
----------------
There is some infrastructure in lit for this.

Tsan only disables for particular hardware now:
longjmp.cc:// XFAIL: mips64
longjmp.cc:// XFAIL: aarch64

but asan disables tests for operating systems:
test/asan/TestCases/log-path_test.cc:// XFAIL: android
test/asan/TestCases/log-path_test.cc:// XFAIL: win32

maybe it also works for tsan tests?


http://reviews.llvm.org/D14443





More information about the llvm-commits mailing list