msvcrt/tests: Don't use win_skip for functions that are not exported on 64-bit.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ca8b7cf3bf
commit
4685e88de8
|
@ -153,9 +153,8 @@ static void test___getmainargs(void)
|
|||
new_argv = *p___p___argv();
|
||||
ok(new_argc == 4, "*__p___argc() = %d\n", new_argc);
|
||||
ok(new_argv == argv, "*__p___argv() = %p, expected %p\n", new_argv, argv);
|
||||
}else {
|
||||
win_skip("__p___argc or __p___argv is not available\n");
|
||||
}
|
||||
else skip("__p___argc or __p___argv is not available\n");
|
||||
|
||||
mode = 0;
|
||||
__getmainargs(&argc, &argv, &envp, 1, &mode);
|
||||
|
|
|
@ -97,7 +97,7 @@ static void test__environ(void)
|
|||
"Expected _environ pointers to be identical\n" );
|
||||
}
|
||||
else
|
||||
win_skip( "__p__environ() is not available\n" );
|
||||
skip( "__p__environ() is not available\n" );
|
||||
|
||||
if (p_get_environ)
|
||||
{
|
||||
|
@ -163,7 +163,7 @@ static void test__wenviron(void)
|
|||
"Expected _wenviron pointers to be NULL\n" );
|
||||
}
|
||||
else
|
||||
win_skip( "__p__wenviron() is not available\n" );
|
||||
skip( "__p__wenviron() is not available\n" );
|
||||
|
||||
if (p_get_wenviron)
|
||||
{
|
||||
|
|
|
@ -759,7 +759,7 @@ static void test___mb_cur_max_func(void)
|
|||
|
||||
/* for older Windows */
|
||||
if (!p__p___mb_cur_max)
|
||||
win_skip("Skipping __p___mb_cur_max tests\n");
|
||||
skip("Skipping __p___mb_cur_max tests\n");
|
||||
else {
|
||||
mb_cur_max = *p__p___mb_cur_max();
|
||||
ok(mb_cur_max == 1, "mb_cur_max = %d, expected 1\n", mb_cur_max);
|
||||
|
|
|
@ -577,7 +577,7 @@ static void test_daylight(void)
|
|||
|
||||
if (!p___p__daylight)
|
||||
{
|
||||
win_skip("__p__daylight not available\n");
|
||||
skip("__p__daylight not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -829,7 +829,7 @@ static void test__tzset(void)
|
|||
int ret;
|
||||
|
||||
if(!p___p__daylight || !p___p__timezone || !p___p__dstbias) {
|
||||
win_skip("__p__daylight, __p__timezone or __p__dstbias is not available\n");
|
||||
skip("__p__daylight, __p__timezone or __p__dstbias is not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue