Francois Gouget : shell32/tests: Use win_skip() to skip over unimplemented functionality.

Alexandre Julliard julliard at winehq.org
Wed Feb 25 09:22:47 CST 2009


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Feb 25 10:28:30 2009 +0100

shell32/tests: Use win_skip() to skip over unimplemented functionality.

---

 dlls/shell32/tests/appbar.c    |    2 +-
 dlls/shell32/tests/shelllink.c |    6 +++---
 dlls/shell32/tests/shellpath.c |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/shell32/tests/appbar.c b/dlls/shell32/tests/appbar.c
index 0d0c898..5d15fcd 100644
--- a/dlls/shell32/tests/appbar.c
+++ b/dlls/shell32/tests/appbar.c
@@ -372,7 +372,7 @@ static void test_appbarget(void)
 
     if (!pMonitorFromWindow)
     {
-        skip("MonitorFromWindow is not available\n");
+        win_skip("MonitorFromWindow is not available\n");
     }
     else
     {
diff --git a/dlls/shell32/tests/shelllink.c b/dlls/shell32/tests/shelllink.c
index 7206df3..9e792fd 100644
--- a/dlls/shell32/tests/shelllink.c
+++ b/dlls/shell32/tests/shelllink.c
@@ -512,7 +512,7 @@ static void test_load_save(void)
 
     if (!pGetLongPathNameA)
     {
-        skip("GetLongPathNameA is not available\n");
+        win_skip("GetLongPathNameA is not available\n");
         return;
     }
 
@@ -655,7 +655,7 @@ static void test_datalink(void)
         "CoCreateInstance failed (0x%08x)\n", r);
     if (!sl)
     {
-        skip("no shelllink\n");
+        win_skip("no shelllink\n");
         return;
     }
 
@@ -666,7 +666,7 @@ static void test_datalink(void)
 
     if (!dl)
     {
-        skip("no datalink interface\n");
+        win_skip("no datalink interface\n");
         IShellLinkW_Release( sl );
         return;
     }
diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c
index 883f231..bf4e4ae 100644
--- a/dlls/shell32/tests/shellpath.c
+++ b/dlls/shell32/tests/shellpath.c
@@ -864,7 +864,7 @@ START_TEST(shellpath)
     {
         /* Report missing functions once */
         if (!pSHGetFolderLocation)
-            skip("SHGetFolderLocation is not available\n");
+            win_skip("SHGetFolderLocation is not available\n");
 
         /* first test various combinations of parameters: */
         testApiParameters();




More information about the wine-cvs mailing list