Commit 117237a6 authored by Bjorn Munch's avatar Bjorn Munch

Bug #58608 mysqltestrun --help incongruences

Fixed some errors
Added note about 'no' prefix to options
See also follow-up comment to bug report
parent 9dca123d
...@@ -863,7 +863,7 @@ sub command_line_setup { ...@@ -863,7 +863,7 @@ sub command_line_setup {
my $opt_list_options; my $opt_list_options;
# Read the command line options # Read the command line options
# Note: Keep list, and the order, in sync with usage at end of this file # Note: Keep list in sync with usage at end of this file
Getopt::Long::Configure("pass_through"); Getopt::Long::Configure("pass_through");
my %options=( my %options=(
# Control what engine/variation to run # Control what engine/variation to run
...@@ -898,6 +898,7 @@ sub command_line_setup { ...@@ -898,6 +898,7 @@ sub command_line_setup {
'combination=s' => \@opt_combinations, 'combination=s' => \@opt_combinations,
'skip-combinations' => \&collect_option, 'skip-combinations' => \&collect_option,
'experimental=s' => \@opt_experimentals, 'experimental=s' => \@opt_experimentals,
# skip-im is deprecated and silently ignored
'skip-im' => \&ignore_option, 'skip-im' => \&ignore_option,
# Specify ports # Specify ports
...@@ -990,6 +991,7 @@ sub command_line_setup { ...@@ -990,6 +991,7 @@ sub command_line_setup {
'max-connections=i' => \$opt_max_connections, 'max-connections=i' => \$opt_max_connections,
'help|h' => \$opt_usage, 'help|h' => \$opt_usage,
# list-options is internal, not listed in help
'list-options' => \$opt_list_options, 'list-options' => \$opt_list_options,
); );
...@@ -5460,7 +5462,7 @@ Options to control what engine/variation to run ...@@ -5460,7 +5462,7 @@ Options to control what engine/variation to run
defaults-file=<config template> Use fixed config template for all defaults-file=<config template> Use fixed config template for all
tests tests
defaults_extra_file=<config template> Extra config template to add to defaults-extra-file=<config template> Extra config template to add to
all generated configs all generated configs
combination=<opt> Use at least twice to run tests with specified combination=<opt> Use at least twice to run tests with specified
options to mysqld options to mysqld
...@@ -5550,7 +5552,7 @@ Options for debugging the product ...@@ -5550,7 +5552,7 @@ Options for debugging the product
test(s) test(s)
manual-ddd Let user manually start mysqld in ddd, before running manual-ddd Let user manually start mysqld in ddd, before running
test(s) test(s)
strace-client=[path] Create strace output for mysqltest client, optionally strace-client[=path] Create strace output for mysqltest client, optionally
specifying name and path to the trace program to use. specifying name and path to the trace program to use.
Example: $0 --strace-client=ktrace Example: $0 --strace-client=ktrace
max-save-core Limit the number of core files saved (to avoid filling max-save-core Limit the number of core files saved (to avoid filling
...@@ -5583,7 +5585,7 @@ Options for valgrind ...@@ -5583,7 +5585,7 @@ Options for valgrind
Misc options Misc options
user=USER User for connecting to mysqld(default: $opt_user) user=USER User for connecting to mysqld(default: $opt_user)
comment=STR Write STR to the output comment=STR Write STR to the output
notimer Don't show test case execution time timer Show test case execution time.
verbose More verbose output(use multiple times for even more) verbose More verbose output(use multiple times for even more)
verbose-restart Write when and why servers are restarted verbose-restart Write when and why servers are restarted
start Only initialize and start the servers, using the start Only initialize and start the servers, using the
...@@ -5623,6 +5625,7 @@ Misc options ...@@ -5623,6 +5625,7 @@ Misc options
actions. Disable facility with NUM=0. actions. Disable facility with NUM=0.
gcov Collect coverage information after the test. gcov Collect coverage information after the test.
The result is a gcov file per source and header file. The result is a gcov file per source and header file.
gprof Collect profiling information using gprof.
experimental=<file> Refer to list of tests considered experimental; experimental=<file> Refer to list of tests considered experimental;
failures will be marked exp-fail instead of fail. failures will be marked exp-fail instead of fail.
report-features First run a "test" that reports mysql features report-features First run a "test" that reports mysql features
...@@ -5631,6 +5634,10 @@ Misc options ...@@ -5631,6 +5634,10 @@ Misc options
*previous* test started *previous* test started
max-connections=N Max number of open connection to server in mysqltest max-connections=N Max number of open connection to server in mysqltest
Some options that control enabling a feature for normal test runs,
can be turned off by prepending 'no' to the option, e.g. --notimer.
This applies to reorder, timer, check-testcases and warnings.
HERE HERE
exit(1); exit(1);
......
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