Andrew Nguyen : ntdll/tests: Report appropriate skips for information tests .
Alexandre Julliard
julliard at winehq.org
Mon Jan 18 10:58:54 CST 2010
Module: wine
Branch: master
Commit: 1cdf1cc07e73c53f1a78e11a2c80074f7e5b0af1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1cdf1cc07e73c53f1a78e11a2c80074f7e5b0af1
Author: Andrew Nguyen <arethusa26 at gmail.com>
Date: Fri Jan 15 11:46:56 2010 -0600
ntdll/tests: Report appropriate skips for information tests.
---
dlls/ntdll/tests/info.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c
index 1914564..6414cac 100644
--- a/dlls/ntdll/tests/info.c
+++ b/dlls/ntdll/tests/info.c
@@ -47,7 +47,7 @@ static BOOL InitFunctionPtrs(void)
HMODULE hntdll = GetModuleHandle("ntdll");
if (!hntdll)
{
- skip("Not running on NT\n");
+ win_skip("Not running on NT\n");
return FALSE;
}
@@ -290,7 +290,7 @@ static void test_query_process(void)
is_nt = ( spi->NextEntryOffset - (sbi.NumberOfProcessors * sizeof(SYSTEM_THREAD_INFORMATION)) == 136);
- if (is_nt) skip("Windows version is NT, we will skip thread tests\n");
+ if (is_nt) win_skip("Windows version is NT, we will skip thread tests\n");
/* Check if we have some return values
*
@@ -666,7 +666,7 @@ static void test_query_process_io(void)
status = pNtQueryInformationProcess( GetCurrentProcess(), ProcessIoCounters, &pii, sizeof(pii), &ReturnLength);
if (status == STATUS_NOT_SUPPORTED)
{
- skip("ProcessIoCounters information class is not supported\n");
+ win_skip("ProcessIoCounters information class is not supported\n");
return;
}
@@ -809,7 +809,7 @@ static void test_query_process_image_file_name(void)
status = pNtQueryInformationProcess(NULL, ProcessImageFileName, &image_file_name, sizeof(image_file_name), NULL);
if (status == STATUS_INVALID_INFO_CLASS)
{
- skip("ProcessImageFileName is not supported\n");
+ win_skip("ProcessImageFileName is not supported\n");
return;
}
ok( status == STATUS_INVALID_HANDLE, "Expected STATUS_INVALID_HANDLE, got %08x\n", status);
More information about the wine-cvs
mailing list