mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 23:07:47 +00:00
d3d10core/tests: Don't run the 32-bit tests multithreaded.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0823de79c1
commit
364aed6829
|
@ -19223,6 +19223,11 @@ START_TEST(d3d10core)
|
||||||
char **argv;
|
char **argv;
|
||||||
|
|
||||||
use_mt = !getenv("WINETEST_NO_MT_D3D");
|
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);
|
argc = winetest_get_mainargs(&argv);
|
||||||
for (i = 2; i < argc; ++i)
|
for (i = 2; i < argc; ++i)
|
||||||
|
|
Loading…
Reference in a new issue