msvcrt/tests: Work around weird win_skip failure bug by running test_xcvt at end.

Alexander Scott-Johns alexander.scott.johns at googlemail.com
Fri Jun 11 08:28:31 CDT 2010


-------------- next part --------------
From 5c0eb83ddf6e16bfc0e84a8139f3e9ac3de80040 Mon Sep 17 00:00:00 2001
From: Alexander Scott-Johns <alexander.scott.johns at googlemail.com>
Date: Fri, 11 Jun 2010 14:13:52 +0100
Subject: msvcrt/tests: Work around weird win_skip failure bug by running test_xcvt at end.

Paul Vriens found which test caused the breakage.
---
 dlls/msvcrt/tests/printf.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/msvcrt/tests/printf.c b/dlls/msvcrt/tests/printf.c
index 19e21f9..5af3ed4 100644
--- a/dlls/msvcrt/tests/printf.c
+++ b/dlls/msvcrt/tests/printf.c
@@ -942,9 +942,11 @@ START_TEST(printf)
     test_swprintf();
     test_snprintf();
     test_fcvt();
-    test_xcvt();
     test_vsnwprintf();
     test_vscprintf();
     test_vscwprintf();
     test_vsnwprintf_s();
+
+    /* _ecvt(0.0001, -10, ...) breaks win_skip on Win95/98 and NT4. */
+    test_xcvt();
 }
-- 
1.6.0.4


More information about the wine-patches mailing list