mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
mysql-test-run.pl:
Pass on all --skip-* to mysqld
This commit is contained in:
@ -467,6 +467,7 @@ sub command_line_setup () {
|
|||||||
# Read the command line
|
# Read the command line
|
||||||
# Note: Keep list, and the order, in sync with usage at end of this file
|
# Note: Keep list, and the order, in sync with usage at end of this file
|
||||||
|
|
||||||
|
Getopt::Long::Configure("pass_through");
|
||||||
GetOptions(
|
GetOptions(
|
||||||
# Control what engine/variation to run
|
# Control what engine/variation to run
|
||||||
'embedded-server' => \$opt_embedded_server,
|
'embedded-server' => \$opt_embedded_server,
|
||||||
@ -554,7 +555,21 @@ sub command_line_setup () {
|
|||||||
usage("");
|
usage("");
|
||||||
}
|
}
|
||||||
|
|
||||||
@opt_cases= @ARGV;
|
foreach my $arg ( @ARGV )
|
||||||
|
{
|
||||||
|
if ( $arg =~ /^--skip-/ )
|
||||||
|
{
|
||||||
|
push(@opt_extra_mysqld_opt, $arg);
|
||||||
|
}
|
||||||
|
elsif ( $arg =~ /^-/ )
|
||||||
|
{
|
||||||
|
usage("Invalid option \"$arg\"");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
push(@opt_cases, $arg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
# Set the "var/" directory, as it is the base for everything else
|
# Set the "var/" directory, as it is the base for everything else
|
||||||
|
Reference in New Issue
Block a user