aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.misc-tests
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-11-12 11:10:28 +0100
committerMartin Liska <marxin@gcc.gnu.org>2019-11-12 10:10:28 +0000
commit75d6623156d3e69aa1ecc1d91c6a2c6879a97e74 (patch)
treefb91fc3d894c67c3f2f043ce39f7f8c845b53f09 /gcc/testsuite/gcc.misc-tests
parent11b5ca6eb718c8c3c951c776e127092b92888724 (diff)
downloadgcc-75d6623156d3e69aa1ecc1d91c6a2c6879a97e74.zip
gcc-75d6623156d3e69aa1ecc1d91c6a2c6879a97e74.tar.gz
gcc-75d6623156d3e69aa1ecc1d91c6a2c6879a97e74.tar.bz2
Fix test-suite fallout.
2019-11-12 Martin Liska <mliska@suse.cz> * gcc.dg/completion-3.c: Append = to all expected results and sort expected output. * gcc.dg/pr83620.c: Update error message. * gcc.dg/spellcheck-params-2.c: Likewise. * gcc.dg/spellcheck-params.c: Likewise. * gcc.misc-tests/help.exp: Update expected output. From-SVN: r278089
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests')
-rw-r--r--gcc/testsuite/gcc.misc-tests/help.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/help.exp b/gcc/testsuite/gcc.misc-tests/help.exp
index 4bb359f..60e794b 100644
--- a/gcc/testsuite/gcc.misc-tests/help.exp
+++ b/gcc/testsuite/gcc.misc-tests/help.exp
@@ -64,7 +64,7 @@ check_for_options c "-v --help" "" {are likely to\n -std} ""
check_for_options c "--help=optimizers" "-O" " -g " ""
check_for_options c "--help=params" "maximum number of" "-Wunsafe-loop-optimizations" ""
check_for_options_with_filter c "--help=params" \
- "^The --param option recognizes the following as parameters:$" "" {[^.]$} ""
+ "^The following options control parameters:$" "" {[^.]$} ""
check_for_options c "--help=C" "-ansi" "-gnatO" ""
check_for_options c {--help=C++} {-std=c\+\+} "-gnatO" ""
check_for_options c "--help=common" "-dumpbase" "-gnatO" ""
@@ -133,8 +133,6 @@ check_for_options c "--help=warnings,^joined" \
"^ +-Wtrigraphs" "^ +-Wformat=" ""
check_for_options c "--help=joined,separate" \
"^ +-I" "" ""
-check_for_options c "--help=^joined,separate" \
- "^ +--param " "" ""
check_for_options c "--help=joined,^separate" \
"^ +--help=" "" ""
check_for_options c "--help=joined,undocumented" "" "" ""