small bugfix

svn path=/trunk/; revision=28161
This commit is contained in:
Timo Kreuzer 2007-08-04 16:51:10 +00:00
parent 2669c54fcc
commit 5f857c9cba
2 changed files with 5 additions and 6 deletions

View file

@ -156,14 +156,14 @@ TestMain(LPWSTR pszName, LPWSTR pszModule)
printf(" regressions: %d\n", orfailed); printf(" regressions: %d\n", orfailed);
} }
if (ti.bRegress)
return ti.rfailed;
if (bStatus) if (bStatus)
{ {
write(hFile, szFileFooter, strlen(szFileFooter)); write(hFile, szFileFooter, strlen(szFileFooter));
close(hFile); close(hFile);
} }
if (ti.bRegress)
return ti.rfailed;
return ti.failed; return ti.failed;
} }

View file

@ -143,6 +143,7 @@ WinMain(HINSTANCE hInstance,
{ {
g_hInstance = hInstance; g_hInstance = hInstance;
printf("Win32k native API test\n"); printf("Win32k native API test\n");
/* Convert to gui thread */ /* Convert to gui thread */
@ -155,7 +156,5 @@ WinMain(HINSTANCE hInstance,
printf("\n"); printf("\n");
TestMain(L"w32knapi", L"win32k.sys Nt-Api"); return TestMain(L"w32knapi", L"win32k.sys Nt-Api");
return 0;
} }