diff options
author | Alexandre Oliva <oliva@adacore.com> | 2019-10-31 17:47:29 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2019-10-31 17:47:29 +0000 |
commit | d5a9005e641f25c0363c3998ed2fa9abc826a289 (patch) | |
tree | ab63b3ae829953d7901ca1e57f938c8a3fb87893 /gcc | |
parent | aa23e73b1a090659344ff88361135bd947064e30 (diff) | |
download | gcc-d5a9005e641f25c0363c3998ed2fa9abc826a289.zip gcc-d5a9005e641f25c0363c3998ed2fa9abc826a289.tar.gz gcc-d5a9005e641f25c0363c3998ed2fa9abc826a289.tar.bz2 |
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.
From-SVN: r277686
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.misc-tests/help.exp | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6f0cc39..df49b0b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-10-31 Alexandre Oliva <oliva@adacore.com> + + * gcc.misc-tests/help.exp: Test --help=common for full sentences. + 2019-10-31 Jakub Jelinek <jakub@redhat.com> PR preprocessor/92296 diff --git a/gcc/testsuite/gcc.misc-tests/help.exp b/gcc/testsuite/gcc.misc-tests/help.exp index b8a09fc..4bb359f 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" "" "^ +-.*\[^:.\]$" "" } |