[PATCH] doc: add 'cd' command before 'make check-gcc' command in install.texi
Hu Jiangping
hujiangping@cn.fujitsu.com
Thu Aug 27 07:49:00 GMT 2020
Hi,
This patch add 'cd' command before 'make check-gcc' command
when run the testsuite on selected tests.
I think the implicit meaning of the original text is to
execute the cd command to move to the gcc subdirectory of
the object directory before executing the make command.
However, due to the following reasons, it may cause
confusion if it is not clearly written.
* make check-gcc command also can be executed in
object directory which will run more testcases
than be executed in gcc subdirectory.
* the make check-g++ command below will report
'No rule to make target' error if be executed in
object directory.
Tested on x86_64. OK for master?
Regards!
hujp
---
gcc/doc/install.texi | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 5330bf3bb29..fd4409921ee 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -2975,6 +2975,7 @@ A more selective way to just run all @command{gcc} execute tests in the
testsuite is to use
@smallexample
+cd @var{objdir}/gcc
make check-gcc RUNTESTFLAGS="execute.exp @var{other-options}"
@end smallexample
--
2.17.1
More information about the Gcc-patches
mailing list