public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/57605] New: colors break note pruning in the testsuite
@ 2013-06-13 11:27 glisse at gcc dot gnu.org
  2013-06-13 16:01 ` [Bug testsuite/57605] " jakub at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: glisse at gcc dot gnu.org @ 2013-06-13 11:27 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57605

            Bug ID: 57605
           Summary: colors break note pruning in the testsuite
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: glisse at gcc dot gnu.org

Hello,

I set GCC_COLORS in my .profile, and since then (roughly) I get many excess
error failures in the libstdc++ testsuite. My guess is that it breaks:

    # Ignore informational notes.
    regsub -all "(^|\n)\[^\n\]*: note: \[^\n\]*" $text "" text

Maybe the testsuite could explicitly disable colors?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug testsuite/57605] colors break note pruning in the testsuite
  2013-06-13 11:27 [Bug testsuite/57605] New: colors break note pruning in the testsuite glisse at gcc dot gnu.org
@ 2013-06-13 16:01 ` jakub at gcc dot gnu.org
  2013-09-20 17:52 ` jakub at gcc dot gnu.org
  2013-10-12 19:30 ` glisse at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-06-13 16:01 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57605

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
gcc/testsuite/lib/prune.exp adds -fdiagnostics-color=never to options, if
libstdc++ doesn't source that tcl file, but uses something different, perhaps
it needs to be tweaked similarly.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug testsuite/57605] colors break note pruning in the testsuite
  2013-06-13 11:27 [Bug testsuite/57605] New: colors break note pruning in the testsuite glisse at gcc dot gnu.org
  2013-06-13 16:01 ` [Bug testsuite/57605] " jakub at gcc dot gnu.org
@ 2013-09-20 17:52 ` jakub at gcc dot gnu.org
  2013-10-12 19:30 ` glisse at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-09-20 17:52 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57605

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Sep 20 17:52:29 2013
New Revision: 202791

URL: http://gcc.gnu.org/viewcvs?rev=202791&root=gcc&view=rev
Log:
    PR testsuite/57605
libstdc++-v3/
    * testsuite/lib/libstdc++.exp (libstdc++_init): Prepend
    -fdiagnostics-color=never to cxxflags.
libmudflap/
    * testsuite/lib/libmudflap.exp (libmudflap-init): Append
    -fdiagnostics-color=never to cxxflags.
libgomp/
    * testsuite/lib/libgomp.exp: Add -fdiagnostics-color=never to
    ALWAYS_CFLAGS.

Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/testsuite/lib/libgomp.exp
    trunk/libmudflap/ChangeLog
    trunk/libmudflap/testsuite/lib/libmudflap.exp
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/testsuite/lib/libstdc++.exp


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug testsuite/57605] colors break note pruning in the testsuite
  2013-06-13 11:27 [Bug testsuite/57605] New: colors break note pruning in the testsuite glisse at gcc dot gnu.org
  2013-06-13 16:01 ` [Bug testsuite/57605] " jakub at gcc dot gnu.org
  2013-09-20 17:52 ` jakub at gcc dot gnu.org
@ 2013-10-12 19:30 ` glisse at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: glisse at gcc dot gnu.org @ 2013-10-12 19:30 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57605

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
Fixed by Jakub's patch, I assume.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-12 19:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-13 11:27 [Bug testsuite/57605] New: colors break note pruning in the testsuite glisse at gcc dot gnu.org
2013-06-13 16:01 ` [Bug testsuite/57605] " jakub at gcc dot gnu.org
2013-09-20 17:52 ` jakub at gcc dot gnu.org
2013-10-12 19:30 ` glisse at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).