Nicolas Le Cam : shell32/tests: Use win_skip() instead of skip() and trace( ).
Alexandre Julliard
julliard at winehq.org
Mon Jun 22 09:04:10 CDT 2009
Module: wine
Branch: master
Commit: 25d70658852011865ab7fcafce9b06c53b24ccda
URL: http://source.winehq.org/git/wine.git/?a=commit;h=25d70658852011865ab7fcafce9b06c53b24ccda
Author: Nicolas Le Cam <niko.lecam at gmail.com>
Date: Sat Jun 20 12:51:06 2009 +0200
shell32/tests: Use win_skip() instead of skip() and trace().
---
dlls/shell32/tests/shlfolder.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index d67c77d..535c9ad 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -1565,21 +1565,21 @@ static void testSHGetFolderPathAndSubDirA(void)
}
if(FAILED(pSHGetFolderPathA(NULL, CSIDL_LOCAL_APPDATA, NULL, SHGFP_TYPE_CURRENT, appdata)))
{
- skip("SHGetFolderPathA failed for CSIDL_LOCAL_APPDATA!\n");
+ win_skip("SHGetFolderPathA failed for CSIDL_LOCAL_APPDATA!\n");
return;
}
sprintf(testpath, "%s\\%s", appdata, winetemp);
delret = RemoveDirectoryA(testpath);
if(!delret && (ERROR_PATH_NOT_FOUND != GetLastError()) ) {
- skip("RemoveDirectoryA(%s) failed with error %u\n", testpath, GetLastError());
+ win_skip("RemoveDirectoryA(%s) failed with error %u\n", testpath, GetLastError());
return;
}
sprintf(testpath, "%s\\%s", appdata, wine);
delret = RemoveDirectoryA(testpath);
if(!delret && (ERROR_PATH_NOT_FOUND != GetLastError()) && (ERROR_FILE_NOT_FOUND != GetLastError())) {
- skip("RemoveDirectoryA(%s) failed with error %u\n", testpath, GetLastError());
+ win_skip("RemoveDirectoryA(%s) failed with error %u\n", testpath, GetLastError());
return;
}
@@ -1695,7 +1695,7 @@ static void test_LocalizedNames(void)
len = lstrlenA(cCurrDirA);
if (len == 0) {
- trace("GetCurrentDirectoryA returned empty string. Skipping test_LocalizedNames\n");
+ win_skip("GetCurrentDirectoryA returned empty string. Skipping test_LocalizedNames\n");
goto cleanup;
}
if(cCurrDirA[len-1] == '\\')
@@ -1944,7 +1944,7 @@ START_TEST(shlfolder)
if(pSHGetFolderPathAndSubDirA)
testSHGetFolderPathAndSubDirA();
else
- skip("SHGetFolderPathAndSubDirA not present\n");
+ win_skip("SHGetFolderPathAndSubDirA not present\n");
test_LocalizedNames();
if(pSHCreateShellItem)
test_SHCreateShellItem();
More information about the wine-cvs
mailing list