mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Manual merge of the added "--comment=<string>" option
to both the Shell and the Perl vaerion of "mysql-test-run"- mysql-test/mysql-test-run.pl: Manual merge. mysql-test/mysql-test-run.sh: Manual merge
This commit is contained in:
@ -193,6 +193,7 @@ our $opt_big_test= 0; # Send --big-test to mysqltest
|
||||
|
||||
our @opt_extra_mysqld_opt;
|
||||
|
||||
our $opt_comment;
|
||||
our $opt_compress;
|
||||
our $opt_ssl;
|
||||
our $opt_skip_ssl;
|
||||
@ -600,6 +601,7 @@ sub command_line_setup () {
|
||||
|
||||
# Misc
|
||||
'big-test' => \$opt_big_test,
|
||||
'comment=s' => \$opt_comment,
|
||||
'debug' => \$opt_debug,
|
||||
'fast' => \$opt_fast,
|
||||
'local' => \$opt_local,
|
||||
@ -633,6 +635,14 @@ sub command_line_setup () {
|
||||
usage("");
|
||||
}
|
||||
|
||||
if ( $opt_comment )
|
||||
{
|
||||
print "\n";
|
||||
print '#' x 78, "\n";
|
||||
print "# $opt_comment\n";
|
||||
print '#' x 78, "\n\n";
|
||||
}
|
||||
|
||||
foreach my $arg ( @ARGV )
|
||||
{
|
||||
if ( $arg =~ /^--skip-/ )
|
||||
@ -2997,6 +3007,7 @@ Options for coverage, profiling etc
|
||||
|
||||
Misc options
|
||||
|
||||
comment=STR Write STR to the output
|
||||
verbose Verbose output from this script
|
||||
script-debug Debug this script itself
|
||||
timer Show test case execution time
|
||||
|
Reference in New Issue
Block a user