1This is a collection of tests for GCC. For further information about 2the C testsuite, see README.gcc. 3 4The driver that runs this testsuite is called DejaGnu and you will 5need a current DejaGnu snapshot, which is available from 6ftp://gcc.gnu.org/pub/gcc/infrastructure, for example. 7 8These tests are included "as is". If any of them fails, do not report 9a bug. Bug reports for DejaGnu can go to bug-dejagnu@gnu.org. 10Discussion and comments about this testsuite should be sent to 11gcc@gcc.gnu.org; additions and changes to should go to sent to 12gcc-patches@gcc.gnu.org. 13 14The entire testsuite is invoked by `make check` at the top level of 15the GCC tree. `make check-g++` runs the C++ testsuite only. 16 17STRUCTURE OF THE G++ TESTSUITE 18 19 g++.dg tests: 20 21 All new tests should be placed in an appropriate subdirectory of g++.dg. 22 23 g++.old-deja tests: 24 25 g++.benjamin Tests by Benjamin Koz 26 g++.bob 27 g++.brendan Tests by Brendan Kehoe 28 g++.bugs 29 g++.eh Tests for exception handling 30 g++.ext Tests for g++ extensions 31 g++.gb Tests by Gerald Baumgartner 32 g++.jason Tests by Jason Merill 33 g++.jeff Tests by Jeffrey A Law 34 g++.martin Tests by Martin v. L�wis 35 g++.mike Tests by Mike Stump 36 g++.niklas Tests by Niklas Hallqvist 37 g++.ns Tests for namespaces 38 g++.other 39 g++.pt Tests for templates 40 g++.rfg 41 g++.robertl Tests from gcc-bugs@gcc.gnu.org, gathered by Robert Lipe 42 43Finally, some random last minute notes by Mike Stump <mrs@cygnus.com>, on 44how to run tests (in the GCC 2.7 era): 45 46 runtest --tool g++ --srcdir ./testsuite 47 48where 49 50 runtest Is the name used to invoke DejaGnu. If DejaGnu is not 51 install this will be the relative path name for runtest. 52 53 --tool This tells DejaGnu which tool you are testing. It is 54 mainly used to find the testsuite directories for a 55 particular tool when several testsuites are in the 56 same directory. (like the gcc and g++ testsuites) 57 58 --srcdir This points to the top level of the directory 59 containing the sources of the testsuite. This is 60 ./testsuite if you are in the directory that has the 61 testsuite directory. 62 63 64Copyright (C) 1998-2018 Free Software Foundation, Inc. 65 66Copying and distribution of this file, with or without modification, 67are permitted in any medium without royalty provided the copyright 68notice and this notice are preserved. 69