[PATCH 23/23] ntdll/tests: Disable some tests on PPC64 for now

André Hentschel nerv at dawncrow.de
Sun Jan 31 11:34:33 CST 2021


Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
 dlls/ntdll/tests/exception.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index 06d8246a566..fe64c34f1ba 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -5719,6 +5719,20 @@ static void test_debug_service(DWORD numexc)
     /* not supported */
 }
 
+#else
+
+static void test_debug_service(DWORD numexc)
+{
+    /* not supported */
+}
+static void test_debugger(DWORD cont_status)
+{
+    /* not supported */
+}
+static void test_thread_context(void)
+{
+    /* not supported */
+}
 #endif  /* __aarch64__ */
 
 #if defined(__i386__) || defined(__x86_64__)
@@ -6137,6 +6151,7 @@ static const DWORD breakpoint_code[] = { 0xd4200000, 0xd65f03c0 };  /* brk #0; r
 
 static void test_breakpoint(DWORD numexc)
 {
+#ifndef __powerpc64__
     DWORD (CDECL *func)(void) = code_mem;
     void *vectored_handler;
 
@@ -6151,6 +6166,7 @@ static void test_breakpoint(DWORD numexc)
        breakpoint_exceptions, numexc);
 
     pRtlRemoveVectoredExceptionHandler(vectored_handler);
+#endif
 }
 
 #if defined(__i386__) || defined(__x86_64__)
-- 
2.25.1




More information about the wine-devel mailing list