Esme Povirk : mscoree/tests: Build loadpaths.exe as GUI instead of CUI.

Alexandre Julliard julliard at winehq.org
Tue Apr 5 15:39:44 CDT 2022


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

Author: Esme Povirk <esme at codeweavers.com>
Date:   Mon Apr  4 14:26:42 2022 -0500

mscoree/tests: Build loadpaths.exe as GUI instead of CUI.

This prevents unnecessary console windows from being created for
it if mscoree_test.exe does not have a console.

Signed-off-by: Esme Povirk <esme at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mscoree/tests/mscoree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mscoree/tests/mscoree.c b/dlls/mscoree/tests/mscoree.c
index b49465fb16f..a2bb3449839 100644
--- a/dlls/mscoree/tests/mscoree.c
+++ b/dlls/mscoree/tests/mscoree.c
@@ -709,7 +709,7 @@ static void test_loadpaths(BOOL neutral)
     ret = write_resource(exe_source, exe_source);
     ok(ret, "Could not write resource: %lu\n", GetLastError());
     DeleteFileW(exe_name);
-    ret = compile_cs(exe_source, exe_name, L"exe", L"/reference:libloadpaths.dll");
+    ret = compile_cs(exe_source, exe_name, L"winexe", L"/reference:libloadpaths.dll");
     if (!ret) return;
     ret = DeleteFileW(exe_source);
     ok(ret, "DeleteFileW failed: %lu\n", GetLastError());




More information about the wine-cvs mailing list