Rémi Bernon : kernel32/tests: Reduce the number of GlobalAlloc size tests.

Alexandre Julliard julliard at winehq.org
Tue Apr 19 16:20:14 CDT 2022


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

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Tue Apr 19 19:33:30 2022 +0200

kernel32/tests: Reduce the number of GlobalAlloc size tests.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/kernel32/tests/heap.c b/dlls/kernel32/tests/heap.c
index a131a7f56e0..e1cda94f78c 100644
--- a/dlls/kernel32/tests/heap.c
+++ b/dlls/kernel32/tests/heap.c
@@ -998,7 +998,7 @@ static void test_GlobalAlloc(void)
     mem = GlobalFree( mem );
     ok( !mem, "GlobalFree failed, error %lu\n", GetLastError() );
 
-    for (alloc_size = 1; alloc_size < 0x10000000; alloc_size <<= 1)
+    for (alloc_size = 1; alloc_size < 0x10000000; alloc_size <<= 5)
     {
         winetest_push_context( "size %#Ix", alloc_size );
 




More information about the wine-cvs mailing list