From: aoliva Date: Thu, 31 Oct 2019 17:47:29 +0000 (+0000) Subject: Test --help=common for full sentences X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6728d0e4588be85e2a42a7995be2004e83981124;p=thirdparty%2Fgcc.git Test --help=common for full sentences The portion of help.exp that checks that help output contains full sentences failed to cover common options. for gcc/testsuite/ChangeLog * gcc.misc-tests/help.exp: Test --help=common for full sentences. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277686 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6f0cc3971b48..df49b0b1ad70 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-10-31 Alexandre Oliva + + * gcc.misc-tests/help.exp: Test --help=common for full sentences. + 2019-10-31 Jakub Jelinek PR preprocessor/92296 diff --git a/gcc/testsuite/gcc.misc-tests/help.exp b/gcc/testsuite/gcc.misc-tests/help.exp index b8a09fcd5ab6..4bb359f698de 100644 --- a/gcc/testsuite/gcc.misc-tests/help.exp +++ b/gcc/testsuite/gcc.misc-tests/help.exp @@ -146,8 +146,7 @@ check_for_options c "--help=joined,undocumented" "" "" "" # find the source a failure. foreach cls { "ada" "c" "c++" "d" "fortran" "go" \ - "optimizers" "param" "target" "warnings" } { - + "common" "optimizers" "param" "target" "warnings" } { check_for_options c "--help=$cls" "" "^ +-.*\[^:.\]$" "" }