setupapi/tests: Use skip instead of trace.

This commit is contained in:
Paul Vriens 2007-08-24 16:41:47 +02:00 committed by Alexandre Julliard
parent b3cff1b45e
commit 86e2d1a5e7

View file

@ -130,10 +130,10 @@ START_TEST(devinst)
if (pSetupDiCreateDeviceInfoListExW && pSetupDiDestroyDeviceInfoList) if (pSetupDiCreateDeviceInfoListExW && pSetupDiDestroyDeviceInfoList)
test_SetupDiCreateDeviceInfoListEx(); test_SetupDiCreateDeviceInfoListEx();
else else
trace("Needed calls for SetupDiCreateDeviceInfoListEx not all available, skipping test.\n"); skip("SetupDiCreateDeviceInfoListExW and/or SetupDiDestroyDeviceInfoList not available\n");
if (pSetupDiOpenClassRegKeyExA) if (pSetupDiOpenClassRegKeyExA)
test_SetupDiOpenClassRegKeyExA(); test_SetupDiOpenClassRegKeyExA();
else else
trace("Needed call for SetupDiOpenClassRegKeyExA not available, skipping test.\n"); skip("SetupDiOpenClassRegKeyExA is not available\n");
} }