Test --help=common for full sentences
authorAlexandre Oliva <oliva@adacore.com>
Thu, 31 Oct 2019 17:47:29 +0000 (17:47 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Thu, 31 Oct 2019 17:47:29 +0000 (17:47 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/help.exp

index 6f0cc3971b48d00721a179f282a8937cc76329ab..df49b0b1ad70426a5deb7499b173e7cac8d6e356 100644 (file)
@@ -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
index b8a09fcd5ab6bbe85bf64522da9a33b31591fe9c..4bb359f698de54b9d8b58121b8496061319042b7 100644 (file)
@@ -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" "" "^ +-.*\[^:.\]$" ""
 }