OSDN Git Service

PR c++/42844
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / README
index bf9c2d9..7b41475 100644 (file)
@@ -1,29 +1,26 @@
-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.
+This is a collection of tests for GCC. For further information about
+the C testsuite, see README.gcc.
 
 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.
+ftp://gcc.gnu.org/pub/gcc/infrastructure, for example.
 
 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.
+a bug.  Bug reports for DejaGnu can go to bug-dejagnu@gnu.org.
 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.
+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 EGCS tree. `make check-g++` runs the C++ testsuite only.
+the GCC tree. `make check-g++` runs the C++ testsuite only.
+
+STRUCTURE OF THE G++ TESTSUITE
 
+  g++.dg tests:
 
-STRUCTURE OF THE TESTSUITE
+  All new tests should be placed in an appropriate subdirectory of g++.dg.
 
-All C++ tests reside in subdirectories of g++.old-deja, based on the
-following structure:
+  g++.old-deja tests:
 
   g++.benjamin Tests by Benjamin Koz
   g++.bob
@@ -41,5 +38,31 @@ following structure:
   g++.other
   g++.pt       Tests for templates
   g++.rfg
-  g++.robertl  Tests from egcs-bugs@cygnus.com, gathered by Robert Lipe
+  g++.robertl  Tests from gcc-bugs@gcc.gnu.org, gathered by Robert Lipe
        
+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.
+
+\f
+Copyright (C) 1998, 1999, 2000, 2003, 2005 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.