Commit 6282718c authored by André Zwing's avatar André Zwing Committed by Alexandre Julliard

gameux/tests: Skip gamestatistic tests on win10 >= 1803.

parent f807f741
......@@ -158,6 +158,12 @@ static void test_gamestatisticsmgr( void )
/* this should fail, because statistics don't exist yet */
gs = (void *)0xdeadbeef;
hr = IGameStatisticsMgr_GetGameStatistics(gsm, sExeName, GAMESTATS_OPEN_OPENONLY, &dwOpenResult, &gs);
if (hr != HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND))
{
/* With win10 1803 game explorer functionality was removed and gameux became a stub */
win_skip("gameux is partially stubbed, skipping tests\n");
return;
}
ok(hr == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), "GetGameStatistics returned unexpected value: 0x%08x\n", hr);
ok(gs == NULL, "Expected output pointer to be NULL, got %s\n",
(gs == (void *)0xdeadbeef ? "deadbeef" : "neither NULL nor deadbeef"));
......
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