Commit d5a9005e by Alexandre Oliva Committed by Alexandre Oliva

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
parent aa23e73b
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
......
......@@ -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" "" "^ +-.*\[^:.\]$" ""
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment