public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joe Buck <jbuck@synopsys.com>
To: law@cygnus.com
Cc: jbuck@synopsys.com, egcs@cygnus.com
Subject: Re: testing consistency
Date: Wed, 10 Sep 1997 16:15:00 -0000	[thread overview]
Message-ID: <199709102302.QAA21704@atrus.synopsys.com> (raw)
In-Reply-To: <17021.873930061@hurl.cygnus.com>

I wrote:
>   > I think that I'd like to see a bit more discipline in how we do testing.
>   > Many of us are doing various tests now, but I do want to make sure that
>   > we cover the cases that users are likely to use.

Jeff writes:

> The first step in this process is to get everyone to bootstrap in the
> same manner.  Is anyone else using the rough toplevel "bootstrap"
> target I posted last week?  Comments and improvements are definitely
> welcome!

I haven't yet tried it, I have a script that configures, cd's to gcc
and does the standard 3-stage bootstrap and install, then cd's back and
does make and make install.  I'll try it out.

In the meantime, the biggest remaining lack of consistency is caused by
the g++ tests that depend on libg++ classes that are not in libstdc++.
These fail for those who haven't installed libg++ in a place where egcs
will find it and pass for others.  They need to be rewritten or dropped.

This affects seven files:

g++.brendan/crash20.C (includes Complex.h)
g++.brendan/crash30.C (String.h)
g++.brendan/crash39.C (GetOpt.h, String.h)
g++.law/operators4.C (Complex.h)
g++.mike/p658.C (bool.h)
g++.mike/p784.C (bool.h)
g++.mike/p785.C (bool.h)

I suggest the following fixes:
* For the first four tests, replace them with the preprocessor output
  using libg++, or else move them to the libg++ test suite.
* For the last three, eliminate bool.h (it has no effect on compilation
  for these tests, after the preprocessor the token stream is the same).

A trivial patch (in the directory gcc/testsuite/g++.old-deja/g++.mike --
this patch avoids changing any line numbers)

ChangeLog:
	* g++.old-deja/g++.mike/p658.C: eliminate <bool.h> use.
	* g++.old-deja/g++.mike/p784.C: Ditto.
	* g++.old-deja/g++.mike/p785.C: Ditto.

	p658.C
*** p658.C	Tue Aug 19 00:34:51 1997
--- p658-fix.C	Wed Sep 10 15:49:13 1997
***************
*** 1,7 ****
  // prms-id: 658
  
  #include <ostream.h>
! #include <bool.h>
  extern "C" void abort();
  
  /* We may not find the libg++ <bool.h>.  */
--- 1,7 ----
  // prms-id: 658
  
  #include <ostream.h>
! 
  extern "C" void abort();
  
  /* We may not find the libg++ <bool.h>.  */
*** p784.C	Tue Aug 19 00:34:52 1997
--- p784-fix.C	Wed Sep 10 15:49:44 1997
***************
*** 134,140 ****
  // $Revision: 1.1.1.1 $
  // $Date: 1997/08/19 07:34:52 $
  
! #include <bool.h>
  
  //# 25 "../../GctSymbol.h" 2
  
--- 134,140 ----
  // $Revision: 1.1.1.1 $
  // $Date: 1997/08/19 07:34:52 $
  
! 
  
  //# 25 "../../GctSymbol.h" 2
  
*** p785.C	Tue Aug 19 00:34:52 1997
--- p785-fix.C	Wed Sep 10 15:51:19 1997
***************
*** 3246,3252 ****
  // $Revision: 1.1.1.1 $
  // $Date: 1997/08/19 07:34:52 $
  
! #include <bool.h>
  
  //# 25 "../../../../mips/include/Gct/Reference/GctReferenceCount.h" 2
  
--- 3246,3252 ----
  // $Revision: 1.1.1.1 $
  // $Date: 1997/08/19 07:34:52 $
  
! 
  
  //# 25 "../../../../mips/include/Gct/Reference/GctReferenceCount.h" 2
  




  reply	other threads:[~1997-09-10 16:15 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-04 18:48 Joe Buck
1997-09-04 20:13 ` Dave Avery
1997-09-04 21:11   ` Jim Wilson
1997-09-05  8:56     ` Joe Buck
1997-09-05  8:58   ` Joe Buck
1997-09-05  7:26 ` Joel Sherrill
1997-09-05 12:44   ` Jeffrey A Law
1997-09-05 16:40     ` Joel Sherrill
1997-09-10 15:21 ` Jeffrey A Law
1997-09-10 16:15   ` Joe Buck [this message]
1997-09-10 16:22     ` Jeffrey A Law
1997-09-10 22:23     ` Alexandre Oliva
1997-09-11  9:23       ` Jeffrey A Law
1997-09-11 10:01     ` Jeffrey A Law
1997-09-05 18:09 meissner
1997-09-05 18:55 ` Joel Sherrill
1997-09-10 22:37 Aaron Jackson
1997-09-11  0:40 ` Jim Wilson
1997-09-11  9:23 ` Jeffrey A Law
1997-09-11 10:17 ` H.J. Lu
1997-09-11 11:05   ` Jeffrey A Law
1997-09-11 11:05     ` H.J. Lu
1997-09-11 11:05       ` Jeffrey A Law
1997-09-11 11:36         ` H.J. Lu
1997-09-11 11:36           ` Jeffrey A Law
1997-09-11 12:54             ` H.J. Lu
1997-09-11 13:20               ` Jeffrey A Law
1997-09-11 14:01                 ` Per Bothner
1997-09-11 15:09                   ` Richard Henderson
1997-09-18 12:57                   ` Bob Glickstein
1997-09-11 13:37             ` Jim Wilson
1997-09-11 14:11               ` Per Bothner
1997-09-11 15:01               ` Jeffrey A Law
1997-09-11 16:13                 ` Joe Buck
1997-09-11 17:08                 ` Jim Wilson
1997-09-11 18:39                   ` Joe Buck
1997-09-11 13:20           ` Per Bothner
1997-09-12  7:27         ` Paul Koning
1997-09-11 12:57   ` Ian Lance Taylor
1997-09-11 13:51     ` H.J. Lu
1997-09-11 13:54       ` Ian Lance Taylor
1997-09-11 13:59         ` H.J. Lu
1997-09-11 14:04           ` Ian Lance Taylor
1997-09-11 19:01   ` Jim Wilson
1997-09-14 12:06 ` Joel Sherrill
1997-09-14 12:19   ` Jeffrey A Law
1997-09-14 12:44     ` Joel Sherrill
1997-09-18 22:56       ` Jeffrey A Law
1997-09-19  8:04         ` H.J. Lu
1997-09-19  8:15           ` Jeffrey A Law
1997-09-19 12:19           ` Jim Wilson
1997-09-19 13:14             ` Joe Buck
1997-09-19 14:51               ` Dave Love
1997-09-19 17:12               ` Jeffrey A Law
1997-09-11 11:36 Mike Stump
1997-09-11 12:47 ` Jim Wilson
1997-09-11 15:27 meissner
1997-09-11 16:06 ` Doug Evans
1997-09-11 17:08 ` Joe Buck
     [not found] <199709112227.SAA01970cygnus.egcs@tweedledumb.cygnus.com>
1997-09-11 16:31 ` not-for-mail
1997-09-11 21:33 Peter Seebach
1997-09-15 14:44 Alexandre Oliva
     [not found] <oren6qtfsg.fsf@sunsite.dcc.unicamp.br>
1997-09-18 20:37 ` Jeffrey A Law
1997-09-18 21:32   ` Alexandre Oliva
1997-09-18 22:24     ` Jeffrey A Law
1997-09-18 21:42 Mike Stump
1997-09-18 21:50 ` Jeffrey A Law
1997-09-18 21:55 ` Joe Buck
1997-09-19  9:52 Kaveh R. Ghazi
1997-09-19 10:20 ` Joe Buck

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=199709102302.QAA21704@atrus.synopsys.com \
    --to=jbuck@synopsys.com \
    --cc=egcs@cygnus.com \
    --cc=law@cygnus.com \
    /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).