[powerpc] deactivate flakey tests on powerpc64le

These test cases occassionally fail when run on powerpc64le:

ignore_lib1.cc
ignore_lib5.cc
TestCases/Posix/current_allocated_bytes.cc
rtl/TsanRtlTest/Posix.ThreadLocalAccesses
TestCases/Posix/coverage-fork-direct.cc

The failures cause false problem reports to be sent to developers whose
code had nothing to do with the failures.  Reactivate them when the real
problems are fixed.

This could also be related to the same problems as with the tests
ThreadedOneSizeMallocStressTest, ThreadedMallocStressTest, ManyThreadsTest,
and several others that do not run reliably on powerpc.

llvm-svn: 301798
This commit is contained in:
Bill Seurer 2017-05-01 13:56:04 +00:00
parent 56704618aa
commit 6a47ba2ee0
5 changed files with 15 additions and 2 deletions

View File

@ -94,8 +94,9 @@ TEST(Posix, ThreadLocalAccesses) {
// The test is failing with high thread count for aarch64. // The test is failing with high thread count for aarch64.
// FIXME: track down the issue and re-enable the test. // FIXME: track down the issue and re-enable the test.
// On Darwin, we're running unit tests without interceptors and __thread is // On Darwin, we're running unit tests without interceptors and __thread is
// using malloc and free, which causes false data race reports. // using malloc and free, which causes false data race reports. On rare
#if !defined(__aarch64__) && !defined(__APPLE__) // occasions on powerpc64le this test also fails.
#if !defined(__aarch64__) && !defined(__APPLE__) && !defined(powerpc64le)
local_thread((void*)2); local_thread((void*)2);
#endif #endif
} }

View File

@ -7,6 +7,9 @@
// RUN: FileCheck %s < %t.log // RUN: FileCheck %s < %t.log
// //
// XFAIL: android // XFAIL: android
// UNSUPPORTED: powerpc64le
// FIXME: This test occasionally fails on powerpc64 LE possibly starting with
// r279664. Re-enable the test once the problem(s) have been fixed.
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View File

@ -1,6 +1,9 @@
// RUN: %clangxx_asan -O0 %s -pthread -o %t && %run %t // RUN: %clangxx_asan -O0 %s -pthread -o %t && %run %t
// RUN: %clangxx_asan -O2 %s -pthread -o %t && %run %t // RUN: %clangxx_asan -O2 %s -pthread -o %t && %run %t
// REQUIRES: stable-runtime // REQUIRES: stable-runtime
// UNSUPPORTED: powerpc64le
// FIXME: This test occasionally fails on powerpc64 LE possibly starting with
// r279664. Re-enable the test once the problem(s) have been fixed.
#include <assert.h> #include <assert.h>
#include <pthread.h> #include <pthread.h>

View File

@ -9,6 +9,9 @@
// in called_from_lib suppression are ignored. // in called_from_lib suppression are ignored.
// REQUIRES: stable-runtime // REQUIRES: stable-runtime
// UNSUPPORTED: powerpc64le
// FIXME: This test regularly fails on powerpc64 LE possibly starting with
// r279664. Re-enable the test once the problem(s) have been fixed.
#ifndef LIB #ifndef LIB

View File

@ -6,6 +6,9 @@
// RUN: %env_tsan_opts=suppressions='%s.supp' %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-WITHSUPP // RUN: %env_tsan_opts=suppressions='%s.supp' %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-WITHSUPP
// REQUIRES: stable-runtime // REQUIRES: stable-runtime
// UNSUPPORTED: powerpc64le
// FIXME: This test occasionally fails on powerpc64 LE possibly starting with
// r279664. Re-enable the test once the problem(s) have been fixed.
// Previously the test episodically failed with: // Previously the test episodically failed with:
// ThreadSanitizer: called_from_lib suppression '/libignore_lib1.so$' is // ThreadSanitizer: called_from_lib suppression '/libignore_lib1.so$' is