[driver] Ensure --help=params lines end with period
authorTom de Vries <tdevries@suse.de>
Wed, 21 Nov 2018 08:10:41 +0000 (08:10 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 21 Nov 2018 08:10:41 +0000 (08:10 +0000)
commit25baeeb36ea512632ca128b6fc3f3ab27f17203b
treed5fb76f3b41f379967a8b2312657cb138f2fcdfc
parent7c74e813c9de0562b447f20fb51de8d36ea396bb
[driver] Ensure --help=params lines end with period

Ensure that gcc --help=params lines end with a period by:
- fixing the help message of param HOT_BB_COUNT_FRACTION, and
- adding a test-case.

Build and tested on x86_64.

2018-11-21  Tom de Vries  <tdevries@suse.de>

PR driver/79855
* params.def (HOT_BB_COUNT_FRACTION): Terminate help message with
period.

* lib/options.exp (check_for_options_with_filter): New proc.
* gcc.misc-tests/help.exp: Check that --help=params lines end with
period.

From-SVN: r266338
gcc/ChangeLog
gcc/params.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/help.exp
gcc/testsuite/lib/options.exp