Commit dece48b9 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

dxgi/tests: Don't run the 32-bit tests multithreaded.

parent 301065b1
......@@ -7595,6 +7595,11 @@ START_TEST(dxgi)
ok(EnumDisplaySettingsW(NULL, ENUM_REGISTRY_SETTINGS, &registry_mode), "Failed to get display mode.\n");
use_mt = !getenv("WINETEST_NO_MT_D3D");
/* Some host drivers (MacOS, Mesa radeonsi) never unmap memory even when
* requested. When using the chunk allocator, running the tests with more
* than one thread can exceed the 32-bit virtual address space. */
if (sizeof(void *) == 4 && !strcmp(winetest_platform, "wine"))
use_mt = FALSE;
argc = winetest_get_mainargs(&argv);
for (i = 2; i < argc; ++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment