From 5f857c9cba4f34c745a98373e80f896615b3fc59 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 4 Aug 2007 16:51:10 +0000 Subject: [PATCH] small bugfix svn path=/trunk/; revision=28161 --- rostests/apitests/apitest.c | 6 +++--- rostests/apitests/w32knapi/w32knapi.c | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/rostests/apitests/apitest.c b/rostests/apitests/apitest.c index 33129a8aac1..bb53ae2b54d 100644 --- a/rostests/apitests/apitest.c +++ b/rostests/apitests/apitest.c @@ -156,14 +156,14 @@ TestMain(LPWSTR pszName, LPWSTR pszModule) printf(" regressions: %d\n", orfailed); } - if (ti.bRegress) - return ti.rfailed; - if (bStatus) { write(hFile, szFileFooter, strlen(szFileFooter)); close(hFile); } + if (ti.bRegress) + return ti.rfailed; + return ti.failed; } diff --git a/rostests/apitests/w32knapi/w32knapi.c b/rostests/apitests/w32knapi/w32knapi.c index 685b4647045..da618cc0ddd 100644 --- a/rostests/apitests/w32knapi/w32knapi.c +++ b/rostests/apitests/w32knapi/w32knapi.c @@ -142,6 +142,7 @@ WinMain(HINSTANCE hInstance, int nCmdShow) { g_hInstance = hInstance; + printf("Win32k native API test\n"); @@ -155,7 +156,5 @@ WinMain(HINSTANCE hInstance, printf("\n"); - TestMain(L"w32knapi", L"win32k.sys Nt-Api"); - - return 0; + return TestMain(L"w32knapi", L"win32k.sys Nt-Api"); } -- 2.17.1