dsound/tests: Clarify some skip() traces.

This commit is contained in:
Francois Gouget 2012-08-13 00:15:33 +02:00 committed by Alexandre Julliard
parent eabbe5ab58
commit ed7faad1ed
7 changed files with 11 additions and 11 deletions

View File

@ -742,14 +742,14 @@ START_TEST(capture)
hDsound = LoadLibrary("dsound.dll"); hDsound = LoadLibrary("dsound.dll");
if (!hDsound) { if (!hDsound) {
skip("dsound.dll not found!\n"); skip("dsound.dll not found - skipping all tests\n");
return; return;
} }
pDirectSoundCaptureCreate = (void*)GetProcAddress(hDsound, "DirectSoundCaptureCreate"); pDirectSoundCaptureCreate = (void*)GetProcAddress(hDsound, "DirectSoundCaptureCreate");
pDirectSoundCaptureEnumerateA = (void*)GetProcAddress(hDsound, "DirectSoundCaptureEnumerateA"); pDirectSoundCaptureEnumerateA = (void*)GetProcAddress(hDsound, "DirectSoundCaptureEnumerateA");
if (!pDirectSoundCaptureCreate || !pDirectSoundCaptureEnumerateA) { if (!pDirectSoundCaptureCreate || !pDirectSoundCaptureEnumerateA) {
skip("capture test skipped\n"); skip("DirectSoundCapture{Create,Enumerate} missing - skipping all tests\n");
return; return;
} }

View File

@ -1331,7 +1331,7 @@ START_TEST(ds3d)
FreeLibrary(hDsound); FreeLibrary(hDsound);
} }
else else
skip("dsound.dll not found!\n"); skip("dsound.dll not found - skipping all tests\n");
CoUninitialize(); CoUninitialize();
} }

View File

@ -1151,12 +1151,12 @@ START_TEST(ds3d8)
if (pDirectSoundCreate8) if (pDirectSoundCreate8)
ds3d8_tests(); ds3d8_tests();
else else
skip("ds3d8 test skipped\n"); skip("DirectSoundCreate8 missing - skipping all tests\n");
FreeLibrary(hDsound); FreeLibrary(hDsound);
} }
else else
skip("dsound.dll not found!\n"); skip("dsound.dll not found - skipping all tests\n");
CoUninitialize(); CoUninitialize();
} }

View File

@ -1605,7 +1605,7 @@ START_TEST(dsound)
FreeLibrary(hDsound); FreeLibrary(hDsound);
} }
else else
win_skip("dsound.dll not found!\n"); win_skip("dsound.dll not found - skipping all tests\n");
CoUninitialize(); CoUninitialize();
} }

View File

@ -1189,12 +1189,12 @@ START_TEST(dsound8)
test_first_device(); test_first_device();
} }
else else
skip("dsound8 test skipped\n"); skip("DirectSoundCreate8 missing - skipping all tests\n");
FreeLibrary(hDsound); FreeLibrary(hDsound);
} }
else else
skip("dsound.dll not found!\n"); skip("dsound.dll not found - skipping all tests\n");
CoUninitialize(); CoUninitialize();
} }

View File

@ -238,12 +238,12 @@ START_TEST(duplex)
if (pDirectSoundFullDuplexCreate) if (pDirectSoundFullDuplexCreate)
IDirectSoundFullDuplex_tests(); IDirectSoundFullDuplex_tests();
else else
skip("duplex test skipped\n"); skip("DirectSoundFullDuplexCreate missing - skipping all tests\n");
FreeLibrary(hDsound); FreeLibrary(hDsound);
} }
else else
skip("dsound.dll not found!\n"); skip("dsound.dll not found - skipping all tests\n");
CoUninitialize(); CoUninitialize();
} }

View File

@ -743,7 +743,7 @@ START_TEST(propset)
FreeLibrary(hDsound); FreeLibrary(hDsound);
} }
else else
skip("dsound.dll not found!\n"); skip("dsound.dll not found - skipping all tests\n");
CoUninitialize(); CoUninitialize();
} }