[llvm-commits] [llvm] r95700 - in /llvm/trunk/unittests/ADT: BitVectorTest.cpp Makefile

Dale Johannesen dalej at apple.com
Tue Feb 9 14:15:27 PST 2010


Author: johannes
Date: Tue Feb  9 16:15:27 2010
New Revision: 95700

URL: http://llvm.org/viewvc/llvm-project?rev=95700&view=rev
Log:
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.)


Modified:
    llvm/trunk/unittests/ADT/BitVectorTest.cpp
    llvm/trunk/unittests/ADT/Makefile

Modified: llvm/trunk/unittests/ADT/BitVectorTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/BitVectorTest.cpp?rev=95700&r1=95699&r2=95700&view=diff

==============================================================================
--- llvm/trunk/unittests/ADT/BitVectorTest.cpp (original)
+++ llvm/trunk/unittests/ADT/BitVectorTest.cpp Tue Feb  9 16:15:27 2010
@@ -7,6 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifndef XFAIL
 #include "llvm/ADT/BitVector.h"
 #include "gtest/gtest.h"
 
@@ -138,3 +139,4 @@
 }
 
 }
+#endif

Modified: llvm/trunk/unittests/ADT/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/Makefile?rev=95700&r1=95699&r2=95700&view=diff

==============================================================================
--- llvm/trunk/unittests/ADT/Makefile (original)
+++ llvm/trunk/unittests/ADT/Makefile Tue Feb  9 16:15:27 2010
@@ -12,4 +12,12 @@
 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





More information about the llvm-commits mailing list