diff options
| author | Dale Johannesen <dalej@apple.com> | 2010-02-09 22:15:27 +0000 |
|---|---|---|
| committer | Dale Johannesen <dalej@apple.com> | 2010-02-09 22:15:27 +0000 |
| commit | 7c7b9a2807f6dc7de55150c1e9e999082dee14eb (patch) | |
| tree | bf1eee051e365a8d7a188a317f326216eb95fe92 | |
| parent | 8aef06f8eb168e830858a59b89949b7e37f45678 (diff) | |
| download | bcm5719-llvm-7c7b9a2807f6dc7de55150c1e9e999082dee14eb.tar.gz bcm5719-llvm-7c7b9a2807f6dc7de55150c1e9e999082dee14eb.zip | |
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.)
llvm-svn: 95700
| -rw-r--r-- | llvm/unittests/ADT/BitVectorTest.cpp | 2 | ||||
| -rw-r--r-- | llvm/unittests/ADT/Makefile | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/llvm/unittests/ADT/BitVectorTest.cpp b/llvm/unittests/ADT/BitVectorTest.cpp index 534828192c0..f04eb60179e 100644 --- a/llvm/unittests/ADT/BitVectorTest.cpp +++ b/llvm/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/llvm/unittests/ADT/Makefile b/llvm/unittests/ADT/Makefile index c56b9517049..fe0832894d3 100644 --- a/llvm/unittests/ADT/Makefile +++ b/llvm/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 |

