gcc/gcc/testsuite
Daniel Jacobowitz 4ea0d487c2 * gcc.c-torture/compile/20030219-1.c: New test.
From-SVN: r63111
2003-02-19 14:47:37 +00:00
..
config
consistency.vlad
g77.dg re PR rtl-optimization/9258 (ICE in compensate_edge, at reg-stack.c:2589) 2003-01-28 17:20:41 +00:00
g77.f-torture
g++.dg re PR c++/9704 (miscompilation of classes with bit fields) 2003-02-18 19:17:28 +00:00
g++.old-deja nested1.C: Test moved from ... 2003-01-28 20:11:44 +00:00
gcc.c-torture * gcc.c-torture/compile/20030219-1.c: New test. 2003-02-19 14:47:37 +00:00
gcc.dg cgraph.c (NPREDECESORC, [...]): Kill. 2003-02-19 10:24:56 +00:00
gcc.misc-tests
lib
objc
objc.dg
treelang
ChangeLog * gcc.c-torture/compile/20030219-1.c: New test. 2003-02-19 14:47:37 +00:00
README README: Move relevant parts from README.g++. 2003-01-28 17:05:33 +00:00
README.compat
README.gcc
README.QMTEST

This is a collection of tests for the C and C++ frontends of GCC. For
further information please check README.gcc and README.g++, though the
latter may not be up-to-date any more.

The driver that runs this testsuite is called DejaGnu and you will
need a current DejaGnu snapshot, which is available from
ftp://gcc.gnu.org/pub/gcc/infrastructure, for example.

Most of these tests were originally developed and/or collected by
Cygnus Solutions, but these days many are being added by the GCC
developers.

These tests are included "as is". If any of them fails, do not report
a bug.  Bug reports for DejaGnu can go to bug-dejagnu@prep.ai.mit.edu.
Discussion and comments about this testsuite should be sent to
gcc@gcc.gnu.org; additions and changes to should go to sent to
gcc-patches@gcc.gnu.org.

The entire testsuite is invoked by `make check` at the top level of
the GCC tree. `make check-g++` runs the C++ testsuite only.


STRUCTURE OF THE TESTSUITE

Almost all C++ tests reside in subdirectories of g++.old-deja, based on
the following structure:

  g++.benjamin	Tests by Benjamin Koz
  g++.bob
  g++.brendan	Tests by Brendan Kehoe
  g++.bugs
  g++.eh  	Tests for exception handling
  g++.ext  	Tests for g++ extensions
  g++.gb  	Tests by Gerald Baumgartner
  g++.jason	Tests by Jason Merill
  g++.jeff	Tests by Jeffrey A Law
  g++.martin	Tests by Martin v. Löwis
  g++.mike	Tests by Mike Stump
  g++.niklas	Tests by Niklas Hallqvist
  g++.ns  	Tests for namespaces
  g++.other
  g++.pt  	Tests for templates
  g++.rfg
  g++.robertl	Tests from gcc-bugs@gcc.gnu.org, gathered by Robert Lipe
	
g++.old-deja uses a fixed driver for all g++ tests based on the old
DejaGnu drivers. But just because its old, doesn't mean its redundant!
Tests that want to use the normal dg.exp driver can be put in g++.dg instead.
This may be required for platform-specific tests, or tests with other
special requirements.


Finally, some random last minute notes by Mike Stump <mrs@cygnus.com>, on
how to run tests (in the GCC 2.7 era):

	runtest --tool g++ --srcdir ./testsuite

where 

	runtest	Is the name used to invoke DejaGnu.   If DejaGnu is not
		install this will be the relative path name for runtest.

	--tool	This tells DejaGnu which tool you are testing. It is
		mainly used to find the testsuite directories for a
		particular tool when several testsuites are in the
		same directory. (like the gcc and g++ testsuites)

	--srcdir This points to the top level of the directory
		containing the sources of the testsuite. This is
		./testsuite if you are in the directory that has the
		testsuite directory.