You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Liviu Nicoara (JIRA)" <ji...@apache.org> on 2006/02/06 23:51:57 UTC
[jira] Created: (STDCXX-134) test output misaligned for large
number of assertions
test output misaligned for large number of assertions
-----------------------------------------------------
Key: STDCXX-134
URL: http://issues.apache.org/jira/browse/STDCXX-134
Project: C++ Standard Library
Type: Bug
Components: Tests
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
Priority: Minor
(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.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (STDCXX-134) test output misaligned for large
number of assertions
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-134?page=comments#action_12365482 ]
Martin Sebor commented on STDCXX-134:
-------------------------------------
This is even better: the percentage column ends up being negative with very large numbers:
# +-----------------------+--------+--------+--------+
# | DIAGNOSTIC | ACTIVE | TOTAL |INACTIVE|
# +-----------------------+--------+--------+--------+
# | (S1) INFO | 89 | 89 | 0% |
# | (S7) ASSERTION | 0 | 77810808 | -10% |
# +-----------------------+--------+--------+--------+
> test output misaligned for large number of assertions
> -----------------------------------------------------
>
> Key: STDCXX-134
> URL: http://issues.apache.org/jira/browse/STDCXX-134
> Project: C++ Standard Library
> Type: Bug
> Components: Tests
> 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
> Priority: Minor
>
> (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.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (STDCXX-134) driver assertion output misaligned for
large numbers
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Assigned: (STDCXX-134) test output misaligned for large
number of assertions
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (STDCXX-134) driver assertion output misaligned for
large numbers
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-134:
--------------------------------
Component/s: (was: Tests)
Test Driver
Fix Version/s: 4.2
Summary: driver assertion output misaligned for large numbers (was: test output misaligned for large number of assertions)
This is a problem in the test driver, not the tests.
> 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.