Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 44509 invoked from network); 27 Mar 2007 23:20:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2007 23:20:54 -0000 Received: (qmail 5094 invoked by uid 500); 27 Mar 2007 23:21:01 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 5034 invoked by uid 500); 27 Mar 2007 23:21:01 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 4967 invoked by uid 99); 27 Mar 2007 23:21:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 16:21:01 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 16:20:53 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9DEDF714064 for ; Tue, 27 Mar 2007 16:20:32 -0700 (PDT) Message-ID: <25866784.1175037632643.JavaMail.jira@brutus> Date: Tue, 27 Mar 2007 16:20:32 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Closed: (STDCXX-376) test driver reports incorrect pass rathe due to arithmetic overflow In-Reply-To: <1655555.1175024612158.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-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor closed STDCXX-376. ------------------------------- Resolution: Fixed Fix Version/s: 4.2 Wixed by the referenced changes. > test driver reports incorrect pass rathe due to arithmetic overflow > ------------------------------------------------------------------- > > Key: STDCXX-376 > URL: https://issues.apache.org/jira/browse/STDCXX-376 > Project: C++ Standard Library > Issue Type: Bug > Components: Test Driver > Affects Versions: 4.1.3 > Environment: all > Reporter: Martin Sebor > Assigned To: Martin Sebor > Priority: Critical > Fix For: 4.2 > > > The INACTIVE (pass rate) column displays the wrong result when the total number of assertions is large: > $ cat t.cpp && make t && ./t > #include > int test (int, char**) { > for (int i = 0; i != 77810809; ++i) > rw_assert (1, 0, 0, ""); > return 0; > } > > int main () { > rw_test (0, 0, 0, 0, 0, test, 0, 0); > } > gcc -c -I/build/sebor/stdcxx/include/ansi -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/build/sebor/stdcxx/include -I/build/sebor/stdcxx-gcc-4.1.0-11s/include -I/build/sebor/stdcxx/../rwtest/include -I/build/sebor/stdcxx/tests/include -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long t.cpp > gcc t.o -o t -L/build/sebor/stdcxx-gcc-4.1.0-11s/rwtest -lrwtest11s -L/build/sebor/stdcxx-gcc-4.1.0-11s/lib -lstd11s -lsupc++ -lm > # INFO (S1) (8 lines): > # TEXT: > # COMPILER: gcc 4.1.0, __VERSION__ = "4.1.0" > # ENVIRONMENT: sparc-v8 running sunos > # FILE: (null) > # COMPILED: Mar 27 2007, 12:33:59 > # COMMENT: > ###################################################### > # +-----------------------+--------+--------+--------+ > # | DIAGNOSTIC | ACTIVE | TOTAL |INACTIVE| > # +-----------------------+--------+--------+--------+ > # | (S1) INFO | 1 | 1 | 0% | > # | (S7) ASSERTION | 0 | 77810809 | -10% | > # +-----------------------+--------+--------+--------+ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.