summaryrefslogtreecommitdiff
path: root/unittests/ADT
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-02-09 22:15:27 +0000
committerDale Johannesen <dalej@apple.com>2010-02-09 22:15:27 +0000
commitce97b75c1d507808abcb67635cfcdce2f48e53c9 (patch)
treebc867621d56f02b89ea0daf7a3c2f402fce53522 /unittests/ADT
parenta8168ec732781813172f203f73956561a09f4a67 (diff)
downloadllvm-ce97b75c1d507808abcb67635cfcdce2f48e53c9.tar.gz
llvm-ce97b75c1d507808abcb67635cfcdce2f48e53c9.tar.bz2
llvm-ce97b75c1d507808abcb67635cfcdce2f48e53c9.tar.xz
Disable unittests/ADT/BitVectorTest on PPC Darwin.
It fails with a release build only, for reasons as yet unknown. (If there's a better way to Xfail things here let me know, doesn't seem to be any prior art in unittests.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95700 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT')
-rw-r--r--unittests/ADT/BitVectorTest.cpp2
-rw-r--r--unittests/ADT/Makefile8
2 files changed, 10 insertions, 0 deletions
diff --git a/unittests/ADT/BitVectorTest.cpp b/unittests/ADT/BitVectorTest.cpp
index 534828192c..f04eb60179 100644
--- a/unittests/ADT/BitVectorTest.cpp
+++ b/unittests/ADT/BitVectorTest.cpp
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#ifndef XFAIL
#include "llvm/ADT/BitVector.h"
#include "gtest/gtest.h"
@@ -138,3 +139,4 @@ TEST(BitVectorTest, TrivialOperation) {
}
}
+#endif
diff --git a/unittests/ADT/Makefile b/unittests/ADT/Makefile
index c56b951704..fe0832894d 100644
--- a/unittests/ADT/Makefile
+++ b/unittests/ADT/Makefile
@@ -12,4 +12,12 @@ TESTNAME = ADT
LINK_COMPONENTS := core support
include $(LEVEL)/Makefile.config
+
+# Xfail BitVectorTest for now on PPC Darwin. 7598360.
+ifeq ($(ARCH),PowerPC)
+ifeq ($(TARGET_OS),Darwin)
+CPP.Flags += -DXFAIL
+endif
+endif
+
include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest