[PATCH 22/22] ntdll/tests: Disable some tests on PPC64 for now
André Hentschel
nerv at dawncrow.de
Sun Aug 16 14:02:00 CDT 2020
Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
dlls/ntdll/tests/exception.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index 9e33417c7fd..ea558baaaed 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -5013,6 +5013,8 @@ static const BYTE breakpoint_code[] = { 0xcd, 0x03, 0xc3 }; /* int $0x3; ret *
static const DWORD breakpoint_code[] = { 0xe1200070, 0xe12fff1e }; /* bkpt #0; bx lr */
#elif defined(__aarch64__)
static const DWORD breakpoint_code[] = { 0xd4200000, 0xd65f03c0 }; /* brk #0; ret */
+#elif defined(__powerpc64__)
+static const DWORD breakpoint_code[] = { 0x4e800020 }; /* blr */
#endif
static void test_breakpoint(DWORD numexc)
@@ -5505,6 +5507,7 @@ START_TEST(exception)
}
else skip( "RtlRaiseException not found\n" );
#endif
+#ifndef __powerpc64__
test_stage = 3;
test_outputdebugstring(0, FALSE);
test_stage = 4;
@@ -5527,7 +5530,7 @@ START_TEST(exception)
test_closehandle(1, (HANDLE)0xdeadbeef);
test_stage = 13;
test_closehandle(0, 0); /* Special case. */
-
+#endif
/* rest of tests only run in parent */
return;
}
@@ -5584,11 +5587,13 @@ START_TEST(exception)
skip( "Dynamic unwind functions not found\n" );
#endif
+#ifndef __powerpc64__
test_debugger();
test_thread_context();
test_outputdebugstring(1, FALSE);
test_ripevent(1);
test_breakpoint(1);
+#endif
test_closehandle(0, (HANDLE)0xdeadbeef);
/* Call of Duty WWII writes to BeingDebugged then closes an invalid handle,
* crashing the game if an exception is raised. */
--
2.25.1
More information about the wine-devel
mailing list