Francois Gouget : dsound/tests: Clarify some skip() traces.

Alexandre Julliard julliard at winehq.org
Mon Aug 13 13:21:18 CDT 2012


Module: wine
Branch: master
Commit: ed7faad1ed51c7c4322a487d779f348b6d233a2a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ed7faad1ed51c7c4322a487d779f348b6d233a2a

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Aug 13 00:15:33 2012 +0200

dsound/tests: Clarify some skip() traces.

---

 dlls/dsound/tests/capture.c |    4 ++--
 dlls/dsound/tests/ds3d.c    |    2 +-
 dlls/dsound/tests/ds3d8.c   |    4 ++--
 dlls/dsound/tests/dsound.c  |    2 +-
 dlls/dsound/tests/dsound8.c |    4 ++--
 dlls/dsound/tests/duplex.c  |    4 ++--
 dlls/dsound/tests/propset.c |    2 +-
 7 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/dlls/dsound/tests/capture.c b/dlls/dsound/tests/capture.c
index 96fb417..3d81194 100644
--- a/dlls/dsound/tests/capture.c
+++ b/dlls/dsound/tests/capture.c
@@ -742,14 +742,14 @@ START_TEST(capture)
 
     hDsound = LoadLibrary("dsound.dll");
     if (!hDsound) {
-        skip("dsound.dll not found!\n");
+        skip("dsound.dll not found - skipping all tests\n");
         return;
     }
 
     pDirectSoundCaptureCreate = (void*)GetProcAddress(hDsound, "DirectSoundCaptureCreate");
     pDirectSoundCaptureEnumerateA = (void*)GetProcAddress(hDsound, "DirectSoundCaptureEnumerateA");
     if (!pDirectSoundCaptureCreate || !pDirectSoundCaptureEnumerateA) {
-        skip("capture test skipped\n");
+        skip("DirectSoundCapture{Create,Enumerate} missing - skipping all tests\n");
         return;
     }
 
diff --git a/dlls/dsound/tests/ds3d.c b/dlls/dsound/tests/ds3d.c
index 86099bf..dc25f25 100644
--- a/dlls/dsound/tests/ds3d.c
+++ b/dlls/dsound/tests/ds3d.c
@@ -1331,7 +1331,7 @@ START_TEST(ds3d)
         FreeLibrary(hDsound);
     }
     else
-        skip("dsound.dll not found!\n");
+        skip("dsound.dll not found - skipping all tests\n");
 
     CoUninitialize();
 }
diff --git a/dlls/dsound/tests/ds3d8.c b/dlls/dsound/tests/ds3d8.c
index 41de792..e90057d 100644
--- a/dlls/dsound/tests/ds3d8.c
+++ b/dlls/dsound/tests/ds3d8.c
@@ -1151,12 +1151,12 @@ START_TEST(ds3d8)
         if (pDirectSoundCreate8)
             ds3d8_tests();
         else
-            skip("ds3d8 test skipped\n");
+            skip("DirectSoundCreate8 missing - skipping all tests\n");
 
         FreeLibrary(hDsound);
     }
     else
-        skip("dsound.dll not found!\n");
+        skip("dsound.dll not found - skipping all tests\n");
 
     CoUninitialize();
 }
diff --git a/dlls/dsound/tests/dsound.c b/dlls/dsound/tests/dsound.c
index 894079d..f86464b 100644
--- a/dlls/dsound/tests/dsound.c
+++ b/dlls/dsound/tests/dsound.c
@@ -1605,7 +1605,7 @@ START_TEST(dsound)
         FreeLibrary(hDsound);
     }
     else
-        win_skip("dsound.dll not found!\n");
+        win_skip("dsound.dll not found - skipping all tests\n");
 
     CoUninitialize();
 }
diff --git a/dlls/dsound/tests/dsound8.c b/dlls/dsound/tests/dsound8.c
index d4f07ff..ae2f7a7 100644
--- a/dlls/dsound/tests/dsound8.c
+++ b/dlls/dsound/tests/dsound8.c
@@ -1189,12 +1189,12 @@ START_TEST(dsound8)
             test_first_device();
         }
         else
-            skip("dsound8 test skipped\n");
+            skip("DirectSoundCreate8 missing - skipping all tests\n");
 
         FreeLibrary(hDsound);
     }
     else
-        skip("dsound.dll not found!\n");
+        skip("dsound.dll not found - skipping all tests\n");
 
     CoUninitialize();
 }
diff --git a/dlls/dsound/tests/duplex.c b/dlls/dsound/tests/duplex.c
index 0f8d6d1..055bf09 100644
--- a/dlls/dsound/tests/duplex.c
+++ b/dlls/dsound/tests/duplex.c
@@ -238,12 +238,12 @@ START_TEST(duplex)
         if (pDirectSoundFullDuplexCreate)
             IDirectSoundFullDuplex_tests();
         else
-            skip("duplex test skipped\n");
+            skip("DirectSoundFullDuplexCreate missing - skipping all tests\n");
 
         FreeLibrary(hDsound);
     }
     else
-        skip("dsound.dll not found!\n");
+        skip("dsound.dll not found - skipping all tests\n");
 
     CoUninitialize();
 }
diff --git a/dlls/dsound/tests/propset.c b/dlls/dsound/tests/propset.c
index fb902a4..e85924d 100644
--- a/dlls/dsound/tests/propset.c
+++ b/dlls/dsound/tests/propset.c
@@ -743,7 +743,7 @@ START_TEST(propset)
         FreeLibrary(hDsound);
     }
     else
-        skip("dsound.dll not found!\n");
+        skip("dsound.dll not found - skipping all tests\n");
 
     CoUninitialize();
 }




More information about the wine-cvs mailing list