Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 62987 invoked from network); 1 Jul 2008 22:27:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jul 2008 22:27:07 -0000 Received: (qmail 51227 invoked by uid 500); 1 Jul 2008 22:27:09 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 51203 invoked by uid 500); 1 Jul 2008 22:27:09 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 51090 invoked by uid 99); 1 Jul 2008 22:27:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 15:27:08 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 22:26:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 77259234C14D for ; Tue, 1 Jul 2008 15:26:46 -0700 (PDT) Message-ID: <2103433326.1214951206486.JavaMail.jira@brutus> Date: Tue, 1 Jul 2008 15:26:46 -0700 (PDT) From: "Travis Vitek (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Updated: (STDCXX-900) 22.locale.time.get test fails 15 assertions In-Reply-To: <425781735.1209492477181.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Travis Vitek updated STDCXX-900: -------------------------------- Remaining Estimate: 6h Original Estimate: 6h > 22.locale.time.get test fails 15 assertions > ------------------------------------------- > > Key: STDCXX-900 > URL: https://issues.apache.org/jira/browse/STDCXX-900 > Project: C++ Standard Library > Issue Type: Bug > Components: Tests > Affects Versions: 4.2.0, 4.2.1 > Environment: MSVC > Reporter: Farid Zaripov > Assignee: Travis Vitek > Priority: Minor > Fix For: 4.2.2 > > Original Estimate: 6h > Remaining Estimate: 6h > > The 22.locale.time.get test fails with the following assertions: > {noformat} > # ASSERTION (S7) (5 lines): > # TEXT: line 174. time_get::get ("9", ..., "U") ate 0, expected 1, rdstate() == eofbit, got failbit > # CLAUSE: lib.locale.time.get > # FILE: 22.locale.time.get.cpp > # LINE: 758 > # ASSERTION (S7) (5 lines): > # TEXT: line 183. time_get::get ("9", ..., "U") got { tm_mday=0 [1,31] }, expected { tm_mday=0 [1,31], tm_year=320, tm_wday=2 Tue, tm_yday=60 }, flags = fmtflags(0), locale (C) > # CLAUSE: lib.locale.time.get > # FILE: 22.locale.time.get.cpp > # LINE: 758 > # ASSERTION (S7) (5 lines): > # TEXT: line 174. time_get::get ("0", ..., "W") ate 0, expected 1, rdstate() == eofbit, got failbit > # CLAUSE: lib.locale.time.get > # FILE: 22.locale.time.get.cpp > # LINE: 778 > # ASSERTION (S7) (5 lines): > # TEXT: line 174. time_get::get ("2nd weekday, 21st week, 2nd year", ..., "%Ex") ate 17, expected 32, rdstate() == goodbit, got failbit > # CLAUSE: lib.locale.time.get > # FILE: 22.locale.time.get.cpp > # LINE: 1442 > # ASSERTION (S7) (5 lines): > # TEXT: line 183. time_get::get ("2nd weekday, 21st week, 2nd year", ..., "%Ex") got { tm_mday=0 [1,31] }, expected Tue May 21 00:00:00 3902, flags = fmtflags(0), locale (LC_COLLATE=C;LC_CTYPE=C;LC_MONETARY=C;LC_NUMERIC=C;LC_TIME=test-locale;LC_COLLATE=C) > # CLAUSE: lib.locale.time.get > # FILE: 22.locale.time.get.cpp > # LINE: 1442 > # ASSERTION (S7) (5 lines): > # TEXT: line 174. time_get::get ("1st", ..., "%OW") ate 3, expected 3, rdstate() == goodbit, got failbit > # CLAUSE: lib.locale.time.get > # FILE: 22.locale.time.get.cpp > # LINE: 1582 > # ASSERTION (S7) (5 lines): > # TEXT: line 183. time_get::get ("1st", ..., "%OW") got { tm_mday=0 [1,31] }, expected { tm_mday=0 [1,31], tm_wday=1 Mon }, flags = fmtflags(0), locale (LC_COLLATE=C;LC_CTYPE=C;LC_MONETARY=C;LC_NUMERIC=C;LC_TIME=test-locale;LC_COLLATE=C) > # CLAUSE: lib.locale.time.get > # FILE: 22.locale.time.get.cpp > # LINE: 1582 > # ASSERTION (S7) (5 lines): > # TEXT: line 174. time_get::get (L"9", ..., "U") ate 0, expected 1, rdstate() == eofbit, got failbit > # CLAUSE: lib.locale.time.get > # FILE: 22.locale.time.get.cpp > # LINE: 758 > # ASSERTION (S7) (5 lines): > # TEXT: line 183. time_get::get (L"9", ..., "U") got { tm_mday=0 [1,31] }, expected { tm_mday=0 [1,31], tm_year=320, tm_wday=2 Tue, tm_yday=60 }, flags = fmtflags(0), locale (C) > # CLAUSE: lib.locale.time.get > # FILE: 22.locale.time.get.cpp > # LINE: 758 > # ASSERTION (S7) (5 lines): > # TEXT: line 174. time_get::get (L"0", ..., "W") ate 0, expected 1, rdstate() == eofbit, got failbit > # CLAUSE: lib.locale.time.get > # FILE: 22.locale.time.get.cpp > # LINE: 778 > # ASSERTION (S7) (5 lines): > # TEXT: line 174. time_get::get (L"2nd weekday, 21st week, 2nd year", ..., "%Ex") ate 17, expected 32, rdstate() == goodbit, got failbit > # CLAUSE: lib.locale.time.get > # FILE: 22.locale.time.get.cpp > # LINE: 1442 > # ASSERTION (S7) (5 lines): > # TEXT: line 183. time_get::get (L"2nd weekday, 21st week, 2nd year", ..., "%Ex") got { tm_mday=0 [1,31] }, expected Tue May 21 00:00:00 3902, flags = fmtflags(0), locale (LC_COLLATE=C;LC_CTYPE=C;LC_MONETARY=C;LC_NUMERIC=C;LC_TIME=test-locale;LC_COLLATE=C) > # CLAUSE: lib.locale.time.get > # FILE: 22.locale.time.get.cpp > # LINE: 1442 > # ASSERTION (S7) (5 lines): > # TEXT: line 174. time_get::get (L"1st", ..., "%OW") ate 3, expected 3, rdstate() == goodbit, got failbit > # CLAUSE: lib.locale.time.get > # FILE: 22.locale.time.get.cpp > # LINE: 1582 > # ASSERTION (S7) (5 lines): > # TEXT: line 183. time_get::get (L"1st", ..., "%OW") got { tm_mday=0 [1,31] }, expected { tm_mday=0 [1,31], tm_wday=1 Mon }, flags = fmtflags(0), locale (LC_COLLATE=C;LC_CTYPE=C;LC_MONETARY=C;LC_NUMERIC=C;LC_TIME=test-locale;LC_COLLATE=C) > # CLAUSE: lib.locale.time.get > # FILE: 22.locale.time.get.cpp > # LINE: 1582 > # ASSERTION (S7) (4 lines): > # TEXT: time_get not exercised in named locales > # CLAUSE: lib.locale.time.get > # LINE: 1664 > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.