mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[MSVCRT_APITEST] Fix test condition for strtoul on ReactOS
Wine msvcrt behaves like Vista+ here. Also disable related static_crt tests, because it isn't even well defined how they should behave and what to compare it to.
This commit is contained in:
@@ -63,7 +63,11 @@ START_TEST(tcstoul)
|
||||
|
||||
StartSeh()
|
||||
Result = _tcstoul(NULL, NULL, 0);
|
||||
EndSeh((GetNTVersion() >= _WIN32_WINNT_VISTA) ? 0 : STATUS_ACCESS_VIOLATION);
|
||||
#ifdef TEST_CRTDLL
|
||||
EndSeh(STATUS_ACCESS_VIOLATION);
|
||||
#else
|
||||
EndSeh(((GetNTVersion() >= _WIN32_WINNT_VISTA) || is_reactos()) ? 0 : STATUS_ACCESS_VIOLATION);
|
||||
#endif
|
||||
|
||||
StartSeh()
|
||||
Result = _tcstoul(_T(""), NULL, 0);
|
||||
|
||||
@@ -56,8 +56,8 @@ const struct test winetest_testlist[] =
|
||||
{ "sprintf", func_sprintf },
|
||||
{ "strcpy", func_strcpy },
|
||||
{ "strlen", func_strlen },
|
||||
{ "strtoul", func_strtoul },
|
||||
{ "wcstoul", func_wcstoul },
|
||||
//{ "strtoul", func_strtoul },
|
||||
//{ "wcstoul", func_wcstoul },
|
||||
{ "wctomb", func_wctomb },
|
||||
{ "wcstombs", func_wcstombs },
|
||||
{ "ceil", func_ceil },
|
||||
|
||||
Reference in New Issue
Block a user