Commit ed7faad1 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

dsound/tests: Clarify some skip() traces.

parent eabbe5ab
...@@ -742,14 +742,14 @@ START_TEST(capture) ...@@ -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;
} }
......
...@@ -1331,7 +1331,7 @@ START_TEST(ds3d) ...@@ -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();
} }
...@@ -1151,12 +1151,12 @@ START_TEST(ds3d8) ...@@ -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();
} }
...@@ -1605,7 +1605,7 @@ START_TEST(dsound) ...@@ -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();
} }
...@@ -1189,12 +1189,12 @@ START_TEST(dsound8) ...@@ -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();
} }
...@@ -238,12 +238,12 @@ START_TEST(duplex) ...@@ -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();
} }
...@@ -743,7 +743,7 @@ START_TEST(propset) ...@@ -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();
} }
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