forked from OSchip/llvm-project
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
This commit is contained in:
parent
8aef06f8eb
commit
7c7b9a2807
|
@ -7,6 +7,7 @@
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
#ifndef XFAIL
|
||||||
#include "llvm/ADT/BitVector.h"
|
#include "llvm/ADT/BitVector.h"
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
||||||
|
@ -138,3 +139,4 @@ TEST(BitVectorTest, TrivialOperation) {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
|
@ -12,4 +12,12 @@ TESTNAME = ADT
|
||||||
LINK_COMPONENTS := core support
|
LINK_COMPONENTS := core support
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.config
|
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
|
include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
|
||||||
|
|
Loading…
Reference in New Issue