Esme Povirk : mscoree/tests: Use wait_child_process for csc process.

Alexandre Julliard julliard at winehq.org
Mon May 23 15:51:51 CDT 2022


Module: wine
Branch: master
Commit: a6f924f3b8c9dc8d02d78510df087f0742500fd6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a6f924f3b8c9dc8d02d78510df087f0742500fd6

Author: Esme Povirk <esme at codeweavers.com>
Date:   Sat May 21 12:39:23 2022 -0500

mscoree/tests: Use wait_child_process for csc process.

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);
 




More information about the wine-cvs mailing list