mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
WL#3949, added skip combinations for some conditions
This commit is contained in:

parent
95b65235ba
commit
22c2cdd1a7
@@ -0,0 +1,7 @@
|
|||||||
|
--source include/have_log_bin.inc
|
||||||
|
|
||||||
|
-- require r/have_binlog_format_statement.require
|
||||||
|
--disable_query_log
|
||||||
|
--replace_result ROW STATEMENT
|
||||||
|
show variables like "binlog_format";
|
||||||
|
--enable_query_log
|
@@ -229,6 +229,8 @@ sub collect_one_suite($$)
|
|||||||
my $testdir= "$suitedir/t";
|
my $testdir= "$suitedir/t";
|
||||||
my $resdir= "$suitedir/r";
|
my $resdir= "$suitedir/r";
|
||||||
|
|
||||||
|
if (!defined $::opt_record and !defined $::opt_skip_combination)
|
||||||
|
{
|
||||||
if (!@::opt_combination)
|
if (!@::opt_combination)
|
||||||
{
|
{
|
||||||
# Read combinations file
|
# Read combinations file
|
||||||
@@ -248,6 +250,7 @@ sub collect_one_suite($$)
|
|||||||
# take the combination from command-line
|
# take the combination from command-line
|
||||||
@$combinations = @::opt_combination;
|
@$combinations = @::opt_combination;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
# Remember last element position
|
# Remember last element position
|
||||||
my $begin_index = $#{@$cases} + 1;
|
my $begin_index = $#{@$cases} + 1;
|
||||||
|
|
||||||
|
@@ -165,6 +165,7 @@ our $opt_small_bench= 0;
|
|||||||
our $opt_big_test= 0;
|
our $opt_big_test= 0;
|
||||||
|
|
||||||
our @opt_combination;
|
our @opt_combination;
|
||||||
|
our $opt_skip_combination;
|
||||||
|
|
||||||
our @opt_extra_mysqld_opt;
|
our @opt_extra_mysqld_opt;
|
||||||
|
|
||||||
@@ -532,6 +533,7 @@ sub command_line_setup () {
|
|||||||
'skip-test=s' => \$opt_skip_test,
|
'skip-test=s' => \$opt_skip_test,
|
||||||
'big-test' => \$opt_big_test,
|
'big-test' => \$opt_big_test,
|
||||||
'combination=s' => \@opt_combination,
|
'combination=s' => \@opt_combination,
|
||||||
|
'skip-combination' => \$opt_skip_combination,
|
||||||
|
|
||||||
# Specify ports
|
# Specify ports
|
||||||
'master_port=i' => \$opt_master_myport,
|
'master_port=i' => \$opt_master_myport,
|
||||||
@@ -5179,6 +5181,7 @@ Options to control what test suites or cases to run
|
|||||||
checked from test cases.
|
checked from test cases.
|
||||||
combination="ARG1 .. ARG2" Specify a set of "mysqld" arguments for one
|
combination="ARG1 .. ARG2" Specify a set of "mysqld" arguments for one
|
||||||
combination.
|
combination.
|
||||||
|
skip-combination Skip any combination options and combinations files
|
||||||
|
|
||||||
Options that specify ports
|
Options that specify ports
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user