public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: mrs@wrs.com (Mike Stump)
To: msimons@saic1.com
Cc: egcs@cygnus.com
Subject: Re: debugging for egcs
Date: Mon, 23 Feb 1998 15:57:00 -0000	[thread overview]
Message-ID: <199802232243.OAA13877@kankakee.wrs.com> (raw)

> From: Mike Simons <msimons@saic1.com>
> Date: Mon, 23 Feb 1998 05:07:43 -0500 (EST)
> Cc: egcs@cygnus.com

>   Speaking of testcases... do all of the short code bug examples
> reports posted to this list turn themselves into additional
> testsuite cases?

No, some just get dumped on the floor.  :-( Counter claims are
welcome.  They are in the mailing list archive, but I think that is
about it.  Unless you submit an AI testcase that knows how to add
itself to the testsuite, testcases will never add themselves to the
testsuite.  :-)

> If not, how should they be packaged so they *are* added to the
> regression suite?

Well, the word `regression' has a meaning, and not all of the little
bug examples are regressions.

It would be good to have an expected to be broken directory
(non-regression), and add all the various broken things to it.

They way to get a testcase into such a place, is to find out the right
place, and submit diffs to add it.

For C++, you can check out any (or all) of the C++ testcases, and get
a fairly good feel, fairly quickly.  `make check' isn't that hard to
type.

	make check-c++ 'RUNTESTFLAGS=-v -v old-deja.exp=eh6.C'

for example will run just a single C++ testcase.

A couple canonical example testcases:

    nit i;	// ERROR - we should get an error message

and:

    int i;	// gets bogus error - come on, compile it for me

As you can see, they are really easy to write, each one it just one
line, and hopefully is really easy to understand.  If people want to
add non-regression testcases into the testsuite, how about a new
directory, gcc/testsuite/g++.old-deja/g++.broken?  Just start
submitting diffs for new files (diff -N)...

             reply	other threads:[~1998-02-23 15:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-23 15:57 Mike Stump [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-02-24 20:44 Mike Stump
1998-02-24 12:51 Mike Stump
1998-02-24 12:52 ` Jeffrey A Law
     [not found] <9802230548.AA32322@rios1.watson.ibm.com>
1998-02-23  1:13 ` Mike Simons
1998-02-24  5:07   ` Jeffrey A Law
1998-02-20  8:47 D. Bernstein
1998-02-20 16:12 ` Mike Simons
1998-02-22 14:25 ` Jeffrey A Law
1998-02-22 21:25   ` Mike Simons
1998-02-22 21:43     ` Jeffrey A Law
1998-02-23  2:14       ` Mike Simons
1998-02-24  5:07         ` 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=199802232243.OAA13877@kankakee.wrs.com \
    --to=mrs@wrs.com \
    --cc=egcs@cygnus.com \
    --cc=msimons@saic1.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).