This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Testsuite (was: New features of old-dejagnu.exp)


[ Please remove egcs@cygnus.com from replies. ]

On Wed, 4 Nov 1998, Mike Stump wrote:
>>  o the features of the testsuite
>>    (Part of which you have described in your mail -- thanks!)
> :-) I use grep and memory.  If someone wants to doc it up, I'd be
> happy to describe stuff.

As it was me who asked and you spent time responding and none else
seemed to bother, I felt to obliged to give it a first shot. :-)

This is by *no* means perfect, but I'd like to see this serving as a
starting point.

Okay to install?

Gerald


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.

Index: README
===================================================================
RCS file: README
diff -N README
*** /dev/null	Mon Dec 31 20:00:00 1979
--- README	Sat Nov  7 12:42:08 1998
***************
*** 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
+ 	
Index: README.g++
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/README.g++,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 README.g++
*** README.g++	1997/08/19 07:34:41	1.1.1.1
--- README.g++	1998/11/07 20:42:08
***************
*** 1,9 ****
! 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...
- 
  > and the command
  
  >       runtest --tool g++ --srcdir ./testsuite
--- 1,6 ----
! Here are some random last minute notes by this file's original maintainer,
! Mike Stump <mrs@cygnus.com>:
  
  > and the command
  
  >       runtest --tool g++ --srcdir ./testsuite
*************** on getting this work into the tree some 
*** 16,44 ****
  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
--- 13,18 ----
*************** runtest         - Is the name used to in
*** 57,64 ****
                    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
--- 31,33 ----



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]