Skip to content

Commit 3a13c5a

Browse files
committed
[tsan] Disable tests flaky on PPC with COMPILER_RT_DEBUG
Workaround for google/sanitizers#1792
1 parent d1b9adb commit 3a13c5a

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

compiler-rt/test/tsan/signal_block.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
// Test that a signal is not delivered when it is blocked.
44

5+
// FIXME: Very flaky on PPC with COMPILER_RT_DEBUG.
6+
// https://github.com/google/sanitizers/issues/1792
7+
// UNSUPPORTED: !compiler-rt-optimized && ppc
8+
59
#include "test.h"
610
#include <semaphore.h>
711
#include <signal.h>

compiler-rt/test/tsan/signal_reset.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
// RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
22
// UNSUPPORTED: darwin
3+
4+
// FIXME: Very flaky on PPC with COMPILER_RT_DEBUG.
5+
// https://github.com/google/sanitizers/issues/1792
6+
// UNSUPPORTED: !compiler-rt-optimized && ppc
7+
38
#include <pthread.h>
49
#include <stdio.h>
510
#include <stdlib.h>

compiler-rt/test/tsan/signal_thread2.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// RUN: %clangxx_tsan %s -o %t && %run %t 2>&1 | FileCheck %s
22
// UNSUPPORTED: darwin
33

4-
// It's very flaky on PPC with COMPILER_RT_DEBUG.
4+
// FIXME: Very flaky on PPC with COMPILER_RT_DEBUG.
5+
// https://github.com/google/sanitizers/issues/1792
56
// UNSUPPORTED: !compiler-rt-optimized && ppc
67

78
// Test case for https://github.com/google/sanitizers/issues/1540

0 commit comments

Comments
 (0)