annotate gcc/testsuite/README @ 158:494b0b89df80 default tip

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