twain_32/tests: Use win_skip() to skip over unimplemented functionality.
This commit is contained in:
parent
e7800f2a52
commit
2ba5581924
|
@ -579,14 +579,14 @@ START_TEST(dsm)
|
||||||
htwain = LoadLibraryA("twain_32.dll");
|
htwain = LoadLibraryA("twain_32.dll");
|
||||||
if (! htwain)
|
if (! htwain)
|
||||||
{
|
{
|
||||||
skip("twain_32.dll not available, skipping tests\n");
|
win_skip("twain_32.dll not available, skipping tests\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
pDSM_Entry = (void*)GetProcAddress(htwain, "DSM_Entry");
|
pDSM_Entry = (void*)GetProcAddress(htwain, "DSM_Entry");
|
||||||
ok(pDSM_Entry != NULL, "Unable to GetProcAddress DSM_Entry\n");
|
ok(pDSM_Entry != NULL, "Unable to GetProcAddress DSM_Entry\n");
|
||||||
if (! pDSM_Entry)
|
if (! pDSM_Entry)
|
||||||
{
|
{
|
||||||
skip("DSM_Entry not available, skipping tests\n");
|
win_skip("DSM_Entry not available, skipping tests\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue