public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Lee Iverson <leei@ai.sri.com>
To: Ian Lance Taylor <ian@cygnus.com>
Cc: mmitchell@usa.net, egcs@cygnus.com
Subject: Re: Dejagnu
Date: Mon, 30 Mar 1998 16:18:00 -0000	[thread overview]
Message-ID: <199803301636.IAA12857@Canada.AI.SRI.COM> (raw)
In-Reply-To: <199803281941.OAA14915@subrogation.cygnus.com>

In message < 199803281941.OAA14915@subrogation.cygnus.com > you write:
>    Date: Thu, 26 Mar 1998 21:56:35 -0800
>    From: Mark Mitchell <mmitchell@usa.net>
> 
>    Is there an easy way to teach dejagnu that some warnings are OK?
> 
> See prune_warnings in dejagnu/lib/target.exp.  I don't actually know
> that it is used for the egcs testsuite, but it may be, and it's the
> right place to change anyhow.

I already sent this patch in to the dejagnu maintainers:

*** dejagnu/lib/target.exp.~1~	Sun Nov 30 18:07:59 1997
--- dejagnu/lib/target.exp	Thu Mar 26 15:57:33 1998
*************** proc prune_warnings { text } {
*** 184,189 ****
  
      # Or the IRIX 6 ones.
!     regsub -all "(^|\n)(ld: WARNING \[^\n\]*\n?)+" $text "\\1" text
!     regsub -all "(^|\n)(ld: Giving up.*Use -wall\[^\n\]*\n?)+" $text "\\1" text
  
      # It might be tempting to get carried away and delete blank lines, etc.
--- 184,189 ----
  
      # Or the IRIX 6 ones.
!     regsub -all "(^|\n)(ld(|32|64): WARNING \[^\n\]*\n?)+" $text "\\1" text
!     regsub -all "(^|\n)(ld(|32|64): Giving up.*Use -wall\[^\n\]*\n?)+" $text "\\1" text
  
      # It might be tempting to get carried away and delete blank lines, etc.

-------------------------------------------------------------------------------
Lee Iverson     		SRI International
leei@ai.sri.com			333 Ravenswood Ave., Menlo Park CA 94025
http://www.ai.sri.com/~leei/	(650) 859-3307

  reply	other threads:[~1998-03-30 16:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-26 21:54 Dejagnu Mark Mitchell
1998-03-28 19:24 ` Dejagnu Ian Lance Taylor
1998-03-30 16:18   ` Lee Iverson [this message]
1998-04-02 18:26     ` Dejagnu Jim Wilson
1998-03-28 19:24 ` Dejagnu Jeffrey A Law
1998-03-30 17:00 ` Dejagnu Jim Wilson
2000-03-06 14:09 dejagnu 'David Scott Urban
2000-11-26  6:51 DejaGnu Gerald Pfeifer
2000-11-26 16:08 ` DejaGnu Richard Stallman
2001-06-14 13:44 dejagnu Alex Buell
2001-06-14 14:38 ` dejagnu bobbymcn2002
2001-06-14 15:07 ` dejagnu Alexandre Oliva
2001-06-14 15:13   ` dejagnu Alex Buell
2002-12-05 23:06 Dejagnu kwall
2002-12-06 10:45 ` Dejagnu Mike Stump
2002-12-10 17:46   ` Dejagnu kwall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199803301636.IAA12857@Canada.AI.SRI.COM \
    --to=leei@ai.sri.com \
    --cc=egcs@cygnus.com \
    --cc=ian@cygnus.com \
    --cc=mmitchell@usa.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).