From 6845fb36713ade900334531ab4d0fa0414f839c0 Mon Sep 17 00:00:00 2001 From: Bill Seurer Date: Thu, 10 Dec 2015 17:09:53 +0000 Subject: [PATCH] [power] Fix test case target checks Several test cases that used to fail on both power LE and BE now run correctly on LE. llvm-svn: 255262 --- compiler-rt/test/tsan/cond_cancel.c | 4 ++-- compiler-rt/test/tsan/signal_errno.cc | 4 ++-- compiler-rt/test/tsan/signal_longjmp.cc | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/compiler-rt/test/tsan/cond_cancel.c b/compiler-rt/test/tsan/cond_cancel.c index ca56e8e..fb6a661 100644 --- a/compiler-rt/test/tsan/cond_cancel.c +++ b/compiler-rt/test/tsan/cond_cancel.c @@ -7,8 +7,8 @@ // of the thread to "ThreadStatusFinished" failing a check in "SetJoined" // (defined in sanitizer_thread_registry.cc). It might seem a bug on glibc, // however the same version GLIBC-2.17 will not make fail the test on -// powerpc64 (VMA=46) -// XFAIL: powerpc64 +// powerpc64 BE (VMA=46) +// XFAIL: powerpc64-unknown-linux-gnu #include "test.h" diff --git a/compiler-rt/test/tsan/signal_errno.cc b/compiler-rt/test/tsan/signal_errno.cc index ce19950..e13e156 100644 --- a/compiler-rt/test/tsan/signal_errno.cc +++ b/compiler-rt/test/tsan/signal_errno.cc @@ -1,7 +1,7 @@ // RUN: %clang_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s -// This test fails on powerpc64 (VMA=44), it does not appear to be +// This test fails on powerpc64 BE (VMA=44), it does not appear to be // a functional problem, but the Tsan report is missing some info. -// XFAIL: powerpc64 +// XFAIL: powerpc64-unknown-linux-gnu #include "test.h" #include diff --git a/compiler-rt/test/tsan/signal_longjmp.cc b/compiler-rt/test/tsan/signal_longjmp.cc index fb4d278..45e2462 100644 --- a/compiler-rt/test/tsan/signal_longjmp.cc +++ b/compiler-rt/test/tsan/signal_longjmp.cc @@ -5,10 +5,10 @@ // Longjmp assembly has not been implemented for mips64 yet // XFAIL: mips64 -// This test fails on powerpc64 (VMA=44), a segmentation fault +// This test fails on powerpc64 BE (VMA=44), a segmentation fault // error happens at the second assignment // "((volatile int *volatile)mem)[1] = 1". -// XFAIL: powerpc64 +// XFAIL: powerpc64-unknown-linux-gnu #include #include -- 2.7.4