summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/testsuite/README.g++
blob: 7ded0fdade4121a12304b3311fa837e946bdd25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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

> doesn't work.  I got it to work by explicitly setting CXX and CXXFLAGS
> on the command line, e.g.

> runtest --tool g++ --srcdir ./testsuite CXX=g++ CXXFLAGS=""

site.exp updated to have right CXXFLAGS and CXX, but not at the FSF yet.


  To run the tests, first change to the gcc-2.7.1 directory, then type:

	runtest --tool g++ --srcdir ./testsuite

Here's a brief explanation.

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.