mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-14 07:19:38 +08:00
README: New file...
* README: New file, general information about the testsuite and new description of the various C++ test subdirectories. * README.g++: Eliminate obsolete information, update and move most relevant stuff to README. From-SVN: r23597
This commit is contained in:
parent
edfe71c480
commit
b3385ec01c
@ -1,3 +1,10 @@
|
||||
1998-11-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
|
||||
|
||||
* README: New file, general information about the testsuite and
|
||||
new description of the various C++ test subdirectories.
|
||||
* README.g++: Eliminate obsolete information, update and move most
|
||||
relevant stuff to README.
|
||||
|
||||
Sat Nov 7 02:55:55 1998 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* gcc.c-torture/compile/981107-1.c: New test.
|
||||
|
45
gcc/testsuite/README
Normal file
45
gcc/testsuite/README
Normal file
@ -0,0 +1,45 @@
|
||||
This is a collection of tests for the C and C++ frontends of EGCS. 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://egcs.cygnus.com/pub/egcs/infrastructure, for example.
|
||||
|
||||
Most of these tests were originally developed and/or collected by
|
||||
Cygnus Support, but these days many are being added by the EGCS
|
||||
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
|
||||
egcs@cygnus.com; additions and changes to should go to sent to
|
||||
egcs-patches@cygnus.com.
|
||||
|
||||
The entire testsuite is invoked by `make check` at the top level of
|
||||
the EGCS tree. `make check-g++` runs the C++ testsuite only.
|
||||
|
||||
|
||||
STRUCTURE OF THE TESTSUITE
|
||||
|
||||
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 egcs-bugs@cygnus.com, gathered by Robert Lipe
|
||||
|
@ -1,8 +1,5 @@
|
||||
This file needs a little updating, but is pretty close. Here are some
|
||||
random last minute notes:
|
||||
|
||||
make check and make check-g++ aren't in FSF's gcc yet, I am planning
|
||||
on getting this work into the tree some time...
|
||||
Here are some random last minute notes by this file's original maintainer,
|
||||
Mike Stump <mrs@cygnus.com>:
|
||||
|
||||
> and the command
|
||||
|
||||
@ -16,29 +13,6 @@ on getting this work into the tree some time...
|
||||
site.exp updated to have right CXXFLAGS and CXX, but not at the FSF yet.
|
||||
|
||||
|
||||
This is a collection of tests for g++, the FSF's C++ compiler. The
|
||||
driver that runs the testsuite is called DejaGnu. If you do not have
|
||||
DejaGnu yet, you will need to get it (ftp://ftp.cygnus.com/pub/dejagnu).
|
||||
You will need a snapshot of DejaGnu of 02/21/97 or later. The tests
|
||||
were developed and/or collected by Cygnus Support. These tests are
|
||||
included "as is". If any of the tests fail, don't report a bug. Bug
|
||||
reports for DejaGnu can go to bug-dejagnu@prep.ai.mit.edu. Discussion
|
||||
and comments about this testsuite can be sent to me, at the address
|
||||
below.
|
||||
|
||||
Since these are part of the development source tree at Cygnus, this
|
||||
tar file is supposed to be untarred so that the testsuite directory is
|
||||
in the gcc source tree. Most of the time DejaGnu is run by hand using
|
||||
"runtest", but as we believe in solid testing, we've integrated it
|
||||
into the Makefile as a target. We normally use the testsuite by doing
|
||||
a "make all; make check-g++" at the top level and building and testing
|
||||
our whole tree. If you have both the gcc testsuite and the g++
|
||||
testsuite, you can check both with the "make check" command.
|
||||
|
||||
DejaGnu can be run either installed, or uninstalled. Usually it gets
|
||||
installed so that anyone can just run the tests without having to
|
||||
configure or build DejaGnu.
|
||||
|
||||
To run the tests, first change to the gcc-2.7.1 directory, then type:
|
||||
|
||||
runtest --tool g++ --srcdir ./testsuite
|
||||
@ -57,8 +31,3 @@ runtest - Is the name used to invoke DejaGnu. If DejaGnu is not
|
||||
containing the sources of the testsuite. This is
|
||||
./testsuite if you are in the directory that has the
|
||||
testsuite directory.
|
||||
|
||||
|
||||
Mike Stump
|
||||
mrs@cygnus.com
|
||||
FSF C++ developer
|
||||
|
Loading…
Reference in New Issue
Block a user