diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-11-13 21:58:54 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-11-13 21:58:54 +0000 |
commit | 0c2749f3e282dee9faf5f87c975d3a1f550a7cc7 (patch) | |
tree | caae976be7f19a47ef9143211447a6f226793e77 /unittests/ExecutionEngine | |
parent | 1222287543a5b5917f8c31aa8c88d740f70222d9 (diff) | |
download | external_llvm-0c2749f3e282dee9faf5f87c975d3a1f550a7cc7.zip external_llvm-0c2749f3e282dee9faf5f87c975d3a1f550a7cc7.tar.gz external_llvm-0c2749f3e282dee9faf5f87c975d3a1f550a7cc7.tar.bz2 |
Disable the JITTest.NoStubs test for Darwin PPC. It apparently doesn't implement
emitFunctionStubAtAddr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ExecutionEngine')
-rw-r--r-- | unittests/ExecutionEngine/JIT/JITTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unittests/ExecutionEngine/JIT/JITTest.cpp b/unittests/ExecutionEngine/JIT/JITTest.cpp index 5dc6721..14af0c6 100644 --- a/unittests/ExecutionEngine/JIT/JITTest.cpp +++ b/unittests/ExecutionEngine/JIT/JITTest.cpp @@ -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 |