[PATCH 1/1] mscoree/tests: Use wait_child_process for csc process.

Esme Povirk wine at gitlab.winehq.org
Sat May 21 13:09:19 CDT 2022


From: Esme Povirk <esme at codeweavers.com>

Signed-off-by: Esme Povirk <esme at codeweavers.com>
---
 dlls/mscoree/tests/comtest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mscoree/tests/comtest.c b/dlls/mscoree/tests/comtest.c
index aa23032f18f..db6acac1e9e 100644
--- a/dlls/mscoree/tests/comtest.c
+++ b/dlls/mscoree/tests/comtest.c
@@ -94,7 +94,7 @@ static BOOL compile_cs_to_dll(char *source_path, char *dest_path)
     ret = CreateProcessA(path_csc, cmdline, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);
     ok(ret, "Could not create process: %lu\n", GetLastError());
 
-    WaitForSingleObject(pi.hProcess, 5000);
+    wait_child_process(pi.hProcess);
     CloseHandle(pi.hThread);
     CloseHandle(pi.hProcess);
 
-- 
GitLab

https://gitlab.winehq.org/wine/wine/-/merge_requests/107



More information about the wine-devel mailing list