incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (STDCXX-134) test output misaligned for large number of assertions
Date Tue, 27 Mar 2007 20:04:32 GMT

     [ https://issues.apache.org/jira/browse/STDCXX-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Sebor reassigned STDCXX-134:
-----------------------------------

    Assignee: Martin Sebor

> test output misaligned for large number of assertions
> -----------------------------------------------------
>
>                 Key: STDCXX-134
>                 URL: https://issues.apache.org/jira/browse/STDCXX-134
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Test Driver
>    Affects Versions: 4.1.3
>         Environment: $ uname -a
> Linux skynet 2.6.14.5 #3 SMP PREEMPT Mon Jan 9 13:59:21 MST 2006 i686 unknown unknown
GNU/Linux
> $ gcc -v
> Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
> Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared --enable-threads=posix
--enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux
--host=i486-slackware-linux
> Thread model: posix
> gcc version 3.3.4
>            Reporter: Liviu Nicoara
>         Assigned To: Martin Sebor
>            Priority: Minor
>             Fix For: 4.2
>
>
> (Need monospace font to see properly)
> The following test case:
> $ cat > t.cpp << EOF
> #include <driver.h>
> int run_test (int, char**)
> {
>     for (int i = 0; i < 1000000; ++i)
>         rw_assert (1, 0, 0, " ");
>     return 0;
> }
> int main ()
> {
>     return rw_test (0, 0, __FILE__, "", 0, run_test, 0);
> }
> EOF
> yields the following output:
> $ ./t
> # INFO (S1) (8 lines):
> # TEXT:
> # COMPILER: gcc 3.3.4, __VERSION__ = "3.3.4"
> # ENVIRONMENT: i386 running linux-elf 2.4.29 with glibc 2.3
> # FILE: t.cpp
> # COMPILED: Feb  6 2006, 13:45:04
> # COMMENT:
> ######################################################
> # +-----------------------+--------+--------+--------+
> # | DIAGNOSTIC            | ACTIVE |  TOTAL |INACTIVE|
> # +-----------------------+--------+--------+--------+
> # | (S1) INFO             |      1 |      1 |     0% |
> # | (S7) ASSERTION        |      0 | 1000000 |   100% |
> # +-----------------------+--------+--------+--------+
> Please note the misalignment in the last row of he table.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message