Commit 4685e88d authored by Alexandre Julliard's avatar Alexandre Julliard

msvcrt/tests: Don't use win_skip for functions that are not exported on 64-bit.

parent ca8b7cf3
...@@ -153,9 +153,8 @@ static void test___getmainargs(void) ...@@ -153,9 +153,8 @@ static void test___getmainargs(void)
new_argv = *p___p___argv(); new_argv = *p___p___argv();
ok(new_argc == 4, "*__p___argc() = %d\n", new_argc); ok(new_argc == 4, "*__p___argc() = %d\n", new_argc);
ok(new_argv == argv, "*__p___argv() = %p, expected %p\n", new_argv, argv); 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; mode = 0;
__getmainargs(&argc, &argv, &envp, 1, &mode); __getmainargs(&argc, &argv, &envp, 1, &mode);
......
...@@ -97,7 +97,7 @@ static void test__environ(void) ...@@ -97,7 +97,7 @@ static void test__environ(void)
"Expected _environ pointers to be identical\n" ); "Expected _environ pointers to be identical\n" );
} }
else else
win_skip( "__p__environ() is not available\n" ); skip( "__p__environ() is not available\n" );
if (p_get_environ) if (p_get_environ)
{ {
...@@ -163,7 +163,7 @@ static void test__wenviron(void) ...@@ -163,7 +163,7 @@ static void test__wenviron(void)
"Expected _wenviron pointers to be NULL\n" ); "Expected _wenviron pointers to be NULL\n" );
} }
else else
win_skip( "__p__wenviron() is not available\n" ); skip( "__p__wenviron() is not available\n" );
if (p_get_wenviron) if (p_get_wenviron)
{ {
......
...@@ -759,7 +759,7 @@ static void test___mb_cur_max_func(void) ...@@ -759,7 +759,7 @@ static void test___mb_cur_max_func(void)
/* for older Windows */ /* for older Windows */
if (!p__p___mb_cur_max) if (!p__p___mb_cur_max)
win_skip("Skipping __p___mb_cur_max tests\n"); skip("Skipping __p___mb_cur_max tests\n");
else { else {
mb_cur_max = *p__p___mb_cur_max(); mb_cur_max = *p__p___mb_cur_max();
ok(mb_cur_max == 1, "mb_cur_max = %d, expected 1\n", 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) ...@@ -577,7 +577,7 @@ static void test_daylight(void)
if (!p___p__daylight) if (!p___p__daylight)
{ {
win_skip("__p__daylight not available\n"); skip("__p__daylight not available\n");
return; return;
} }
...@@ -829,7 +829,7 @@ static void test__tzset(void) ...@@ -829,7 +829,7 @@ static void test__tzset(void)
int ret; int ret;
if(!p___p__daylight || !p___p__timezone || !p___p__dstbias) { 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; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment