diff mbox series

install: Correct check-g++ to check-gcc-c++

Message ID 20231231072524.1816878-1-syq@gcc.gnu.org
State New
Headers show
Series install: Correct check-g++ to check-gcc-c++ | expand

Commit Message

YunQiang Su Dec. 31, 2023, 7:25 a.m. UTC
make: *** No rule to make target 'check-g++'.  Stop.

gcc

	* doc/install.texi (Testing): Correct check-g++ to
	check-gcc-c++.
---
 gcc/doc/install.texi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Andrew Pinski Dec. 31, 2023, 7:37 a.m. UTC | #1
On Sat, Dec 30, 2023 at 11:26 PM YunQiang Su <syq@gcc.gnu.org> wrote:
>
> make: *** No rule to make target 'check-g++'.  Stop.
>
> gcc
>
>         * doc/install.texi (Testing): Correct check-g++ to
>         check-gcc-c++.

Actually these targets exist in the gcc subdirectory.
Which is mentioned slightly above:
```
In order to run sets of tests selectively, there are targets
@samp{make check-gcc} and language specific @samp{make check-c},
@samp{make check-c++}, @samp{make check-d} @samp{make check-fortran},
@samp{make check-ada}, @samp{make check-m2}, @samp{make check-objc},
@samp{make check-obj-c++}, @samp{make check-lto} in the @file{gcc}
subdirectory of the object directory.
```

Though maybe it should be clear that these make targets are talking
about the targets in the gcc subdirectory rather than from the
toplevel.

Thanks,
Andrew Pinski


> ---
>  gcc/doc/install.texi | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
> index d20b43a5b21..cff4d0cd71f 100644
> --- a/gcc/doc/install.texi
> +++ b/gcc/doc/install.texi
> @@ -3345,7 +3345,7 @@ Likewise, in order to run only the @command{g++} ``old-deja'' tests in
>  the testsuite with filenames matching @samp{9805*}, you would use
>
>  @smallexample
> -make check-g++ RUNTESTFLAGS="old-deja.exp=9805* @var{other-options}"
> +make check-gcc-c++ RUNTESTFLAGS="old-deja.exp=9805* @var{other-options}"
>  @end smallexample
>
>  The file-matching expression following @var{filename}@command{.exp=} is treated
> @@ -3354,8 +3354,8 @@ may be passed, although any whitespace must either be escaped or surrounded by
>  single quotes if multiple expressions are desired. For example,
>
>  @smallexample
> -make check-g++ RUNTESTFLAGS="old-deja.exp=9805*\ virtual2.c @var{other-options}"
> -make check-g++ RUNTESTFLAGS="'old-deja.exp=9805* virtual2.c' @var{other-options}"
> +make check-gcc-c++ RUNTESTFLAGS="old-deja.exp=9805*\ virtual2.c @var{other-options}"
> +make check-gcc-c++ RUNTESTFLAGS="'old-deja.exp=9805* virtual2.c' @var{other-options}"
>  @end smallexample
>
>  The @file{*.exp} files are located in the testsuite directories of the GCC
> @@ -3373,7 +3373,7 @@ You can pass multiple options to the testsuite using the
>  work outside the makefiles.  For example,
>
>  @smallexample
> -make check-g++ RUNTESTFLAGS="--target_board=unix/-O3/-fmerge-constants"
> +make check-gcc-c++ RUNTESTFLAGS="--target_board=unix/-O3/-fmerge-constants"
>  @end smallexample
>
>  will run the standard @command{g++} testsuites (``unix'' is the target name
> --
> 2.39.2
>
diff mbox series

Patch

diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index d20b43a5b21..cff4d0cd71f 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -3345,7 +3345,7 @@  Likewise, in order to run only the @command{g++} ``old-deja'' tests in
 the testsuite with filenames matching @samp{9805*}, you would use
 
 @smallexample
-make check-g++ RUNTESTFLAGS="old-deja.exp=9805* @var{other-options}"
+make check-gcc-c++ RUNTESTFLAGS="old-deja.exp=9805* @var{other-options}"
 @end smallexample
 
 The file-matching expression following @var{filename}@command{.exp=} is treated
@@ -3354,8 +3354,8 @@  may be passed, although any whitespace must either be escaped or surrounded by
 single quotes if multiple expressions are desired. For example,
 
 @smallexample
-make check-g++ RUNTESTFLAGS="old-deja.exp=9805*\ virtual2.c @var{other-options}"
-make check-g++ RUNTESTFLAGS="'old-deja.exp=9805* virtual2.c' @var{other-options}"
+make check-gcc-c++ RUNTESTFLAGS="old-deja.exp=9805*\ virtual2.c @var{other-options}"
+make check-gcc-c++ RUNTESTFLAGS="'old-deja.exp=9805* virtual2.c' @var{other-options}"
 @end smallexample
 
 The @file{*.exp} files are located in the testsuite directories of the GCC
@@ -3373,7 +3373,7 @@  You can pass multiple options to the testsuite using the
 work outside the makefiles.  For example,
 
 @smallexample
-make check-g++ RUNTESTFLAGS="--target_board=unix/-O3/-fmerge-constants"
+make check-gcc-c++ RUNTESTFLAGS="--target_board=unix/-O3/-fmerge-constants"
 @end smallexample
 
 will run the standard @command{g++} testsuites (``unix'' is the target name