You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/03/28 01:20:32 UTC

[jira] Closed: (STDCXX-134) driver assertion output misaligned for large numbers

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

Martin Sebor closed STDCXX-134.
-------------------------------

    Resolution: Fixed

Fixed by the committed change.

> driver assertion output misaligned for large numbers
> ----------------------------------------------------
>
>                 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.