public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Matthias Klose <Matthias.Klose@cs.tu-berlin.de>
To: Alexandre Oliva <oliva@dcc.unicamp.br>
Cc: egcs@cygnus.com
Subject: Re: How to generate test reports?
Date: Thu, 21 May 1998 20:15:00 -0000	[thread overview]
Message-ID: <13668.47665.916355.782487@gargleblaster> (raw)
In-Reply-To: <or7m3ot6h3.fsf@zecarneiro.lsd.dcc.unicamp.br>

Alexandre Oliva writes:
> I've attached a new version of this script, that is expected to comply 
> with these requirements.

gawk is not available on all systems.

Fri May 22 00:33:52 1998  Matthias Klose  <doko@cs.tu-berlin.de>

	* test_summary: find good awk (copied from warn_summary).

*** gcc/test_summary~	Thu May 21 00:44:58 1998
--- gcc/test_summary	Fri May 22 00:32:26 1998
***************
*** 31,36 ****
--- 31,48 ----
  # -t: prevents logs from being renamed
  # -m: specify the e-mail address to send notes to.  An appropriate default should be selected from the log files.
  # -f: force reports to be mailed; if omitted, only reports that differ from the sent.* version are sent
+ 
+ # Find a good awk.
+ if test -z "$AWK" ; then
+   for AWK in gawk nawk awk ; do
+     if type $AWK 2>&1 | grep 'not found' > /dev/null 2>&1 ; then
+       :
+     else
+       break
+     fi
+   done
+ fi
+ 
  : ${filesuffix=}; export fileprefix
  : ${move=true}; export move
  : ${forcemail=false}; export forcemail
***************
*** 63,69 ****
  done &&
  $anyfile &&
  if $forcemail || $anychange; then :; else mailto=nobody; fi &&
! gawk '
  BEGIN {
    lang="";
    print "cat <<EOF |";
--- 75,81 ----
  done &&
  $anyfile &&
  if $forcemail || $anychange; then :; else mailto=nobody; fi &&
! $AWK '
  BEGIN {
    lang="";
    print "cat <<EOF |";

  parent reply	other threads:[~1998-05-21 20:15 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-12  8:13 Matthias Klose
1998-05-12 12:36 ` Jeffrey A Law
1998-05-13  0:56   ` Matthias Klose
1998-05-13  1:47     ` Jeffrey A Law
1998-05-13  7:22       ` Robert Lipe
1998-05-13  7:22       ` Alexandre Oliva
1998-05-13 10:04       ` Joe Buck
1998-05-13 20:23         ` Joe Buck
1998-05-15  1:48           ` Alexandre Oliva
1998-05-20 22:55             ` Jeffrey A Law
1998-05-21 20:15               ` Alexandre Oliva
1998-05-23 22:47                 ` Jeffrey A Law
1998-05-25 10:57               ` [patch] " Alexandre Oliva
1998-06-19  6:07                 ` Jeffrey A Law
1998-06-19  6:07                 ` Jeffrey A Law
1998-06-22 17:41                   ` Alexandre Oliva
1998-05-21 20:15             ` Matthias Klose [this message]
1998-05-14 11:50       ` Joe Buck
1998-05-13  1:58     ` Alexandre Oliva
1998-05-12 18:04 ` Alexandre Oliva
1998-05-12 12:36 Mike Stump
1998-05-13 10:04 Kaveh R. Ghazi
1998-05-13 16:02 Michael Meissner
1998-05-22 16:41 ` Gerald Pfeifer
1998-05-22 12:21   ` Jeffrey A Law

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=13668.47665.916355.782487@gargleblaster \
    --to=matthias.klose@cs.tu-berlin.de \
    --cc=egcs@cygnus.com \
    --cc=oliva@dcc.unicamp.br \
    /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).