Piotr Caban : msvcp90: Fixed basic_istream_char_read_uint64 tests.

Alexandre Julliard julliard at winehq.org
Wed Nov 14 13:17:16 CST 2012


Module: wine
Branch: master
Commit: aa04ea700986d44b32d3c598837df6f14b707dae
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=aa04ea700986d44b32d3c598837df6f14b707dae

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Wed Nov 14 15:33:42 2012 +0100

msvcp90: Fixed basic_istream_char_read_uint64 tests.

---

 dlls/msvcp90/tests/ios.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/msvcp90/tests/ios.c b/dlls/msvcp90/tests/ios.c
index f0bc59e..0ae34d3 100644
--- a/dlls/msvcp90/tests/ios.c
+++ b/dlls/msvcp90/tests/ios.c
@@ -934,6 +934,12 @@ static void test_num_get_get_uint64(void)
         state = (IOSB_iostate)call_func1(p_ios_base_rdstate, &ss.basic_ios.base);
         next  = (int)call_func1(p_basic_istream_char_get, &ss.base.base1);
 
+        if(state==IOSTATE_faileof && tests[i].val==~0) {
+            /* Maximal uint64 test is broken on 9.0.21022.8 */
+            skip("basic_istream_char_read_uint64(MAX_UINT64) is broken\n");
+            continue;
+        }
+
         ok(tests[i].state == state, "wrong state, expected = %x found = %x\n", tests[i].state, state);
         ok(tests[i].val   == val,   "wrong val, expected = %lx%08lx found %lx%08lx\n", (unsigned long)(tests[i].val >> 32),
                 (unsigned long)tests[i].val, (unsigned long)(val >> 32), (unsigned long)val);




More information about the wine-cvs mailing list