Commit e5536fa0 authored by Helix Graziani's avatar Helix Graziani Committed by Alexandre Julliard

uxtheme/tests: Skip the test if the SystemUsesLightTheme value isn't found.

parent bd0656b6
......@@ -2617,8 +2617,8 @@ static void test_ShouldSystemUseDarkMode(void)
L"SystemUsesLightTheme", RRF_RT_REG_DWORD, NULL, &light_theme, &light_theme_size);
if (ls == ERROR_FILE_NOT_FOUND)
{
light_theme = 1;
ls = 0;
skip("SystemUsesLightTheme registry value not found.\n");
return;
}
ok(ls == 0, "RegGetValue failed: %ld.\n", ls);
......
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