public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Testsuite reorganization, documentation, cleanup?
@ 2002-10-05  0:06 Nathanael Nerode
  2002-10-05 13:21 ` Joseph S. Myers
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Nathanael Nerode @ 2002-10-05  0:06 UTC (permalink / raw)
  To: gcc

Looking at the testsuite, it's rather confusing.  Some directories are
documented in READMEs; many aren't.  There are multiple organizational
systems.  There are multiple drivers, many of which seem very similar;
one suspects redundancy.

I'd like to clean up the organization a little, or at least document it
better.  But that leads to two questions:

1. What do people think the ideal organization should be?

Here's a possible answer:

  One directory for each language's corectness tests, and one for
  anything genuinely non-language-specific (counting preprocessor as a
  language).  

  Beneath that, a subdivision by correctness, code quality, or compiler
  behavior quality.

  Beneath that, subdivision by category where appropriate (abi,
  templates, etc.)

  Beneath that, one directory for each variety (compile, execute, fail to
  compile, produce warning 'blah')

  Name tests with the date you added them plus a digit. (Eek.)

This is obviously not the best arrangement; someone with more experience
can certainly come up with better arrangements.  The point is to have one
organization which encapsulates pretty much everything.

2. What do the various existing undocumented directories represent?

For instance, why are there 'gcc.c-torture', 'gcc.dg',
and 'gcc.misc-tests'?  What are the tests in g++.dg in the subdirectories
'bprob','debug','gcov','opt',and 'tls', and why aren't they mentioned in
g++.dg/README ?  

Why are there 410 tests in gcc.dg, not sorted in any clear fashion?

I'm guessing a lot of this is historical cruft, and *can* theoretically
be simplified.

Help would, well, help. :-)

--Nathanael

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

end of thread, other threads:[~2002-10-21 17:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-05  0:06 Testsuite reorganization, documentation, cleanup? Nathanael Nerode
2002-10-05 13:21 ` Joseph S. Myers
2002-10-07 16:42 ` Mike Stump
2002-10-08  1:16   ` Hans-Peter Nilsson
2002-10-07 16:52 ` Stan Shebs
2002-10-08  1:19   ` Nathanael Nerode
2002-10-08  2:12     ` Hans-Peter Nilsson
2002-10-08 10:32       ` Janis Johnson
2002-10-08 11:09       ` Stan Shebs
2002-10-09 13:16         ` Nathanael Nerode
2002-10-21 12:32           ` Janis Johnson
2002-10-09  1:46 ` Ben Elliston

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).