Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
22c2cdd1
Commit
22c2cdd1
authored
Nov 21, 2007
by
skozlov/ksm@mysql.com/virtop.localdomain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#3949, added skip combinations for some conditions
parent
95b65235
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
13 deletions
+26
-13
mysql-test/include/have_binlog_format_row_or_statement.inc
mysql-test/include/have_binlog_format_row_or_statement.inc
+7
-0
mysql-test/lib/mtr_cases.pl
mysql-test/lib/mtr_cases.pl
+16
-13
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+3
-0
No files found.
mysql-test/include/have_binlog_format_row_or_statement.inc
0 → 100644
View file @
22c2cdd1
--
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
mysql-test/lib/mtr_cases.pl
View file @
22c2cdd1
...
...
@@ -229,24 +229,27 @@ sub collect_one_suite($$)
my
$testdir
=
"
$suitedir
/t
";
my
$resdir
=
"
$suitedir
/r
";
if
(
!
@::opt_combination
)
if
(
!
defined
$::opt_record
and
!
defined
$::opt_skip_combination
)
{
# Read combinations file
if
(
open
(
COMB
,
$combination_file
)
)
if
(
!
@::opt_combination
)
{
while
(
<
COMB
>
)
# Read combinations file
if
(
open
(
COMB
,
$combination_file
)
)
{
chomp
;
s/\ +/ /g
;
push
(
@$combinations
,
$_
)
unless
(
$_
eq
'');
while
(
<
COMB
>
)
{
chomp
;
s/\ +/ /g
;
push
(
@$combinations
,
$_
)
unless
(
$_
eq
'');
}
close
COMB
;
}
close
COMB
;
}
}
else
{
# take the combination from command-line
@$combinations
=
@::opt_combination
;
else
{
# take the combination from command-line
@$combinations
=
@::opt_combination
;
}
}
# Remember last element position
my
$begin_index
=
$#
{
@$cases
}
+
1
;
...
...
mysql-test/mysql-test-run.pl
View file @
22c2cdd1
...
...
@@ -165,6 +165,7 @@ our $opt_small_bench= 0;
our
$opt_big_test
=
0
;
our
@opt_combination
;
our
$opt_skip_combination
;
our
@opt_extra_mysqld_opt
;
...
...
@@ -532,6 +533,7 @@ sub command_line_setup () {
'
skip-test=s
'
=>
\
$opt_skip_test
,
'
big-test
'
=>
\
$opt_big_test
,
'
combination=s
'
=>
\
@opt_combination
,
'
skip-combination
'
=>
\
$opt_skip_combination
,
# Specify ports
'
master_port=i
'
=>
\
$opt_master_myport
,
...
...
@@ -5179,6 +5181,7 @@ Options to control what test suites or cases to run
checked from test cases.
combination="ARG1 .. ARG2" Specify a set of "mysqld" arguments for one
combination.
skip-combination Skip any combination options and combinations files
Options that specify ports
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment