mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Detect test platform dynamically.
In order to run cross-compiled tests under Wine. Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
006f36c2ac
commit
3956eaf6d0
@@ -5193,11 +5193,12 @@ static void test_bundle_state_inheritance(void)
|
||||
unsigned int x, y;
|
||||
HRESULT hr;
|
||||
|
||||
#ifndef _WIN32
|
||||
/* Avoid 2048 test todos. */
|
||||
skip("Bundles are not implemented yet.\n");
|
||||
return;
|
||||
#endif
|
||||
if (!vkd3d_test_platform_is_windows())
|
||||
{
|
||||
/* Avoid 2048 test todos. */
|
||||
skip("Bundles are not implemented yet.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (use_warp_device)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user