Disable the JITTest.NoStubs test for Darwin PPC. It apparently doesn't implement

emitFunctionStubAtAddr.

llvm-svn: 88708
This commit is contained in:
Bill Wendling 2009-11-13 21:58:54 +00:00
parent ad205d6102
commit 6787318557
1 changed files with 4 additions and 0 deletions

View File

@ -458,6 +458,9 @@ TEST_F(JITTest, ModuleDeletion) {
NumTablesDeallocated);
}
#if !defined(__APPLE__) || \
!(defined(__POWERPC__) || defined (__ppc__) || \
defined(_POWER) || defined(_ARCH_PPC))
typedef int (*FooPtr) ();
TEST_F(JITTest, NoStubs) {
@ -495,6 +498,7 @@ TEST_F(JITTest, NoStubs) {
ASSERT_EQ(stubsBefore, RJMM->stubsAllocated);
}
#endif
// This code is copied from JITEventListenerTest, but it only runs once for all
// the tests in this directory. Everything seems fine, but that's strange