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
d09b73c8
Commit
d09b73c8
authored
Jun 23, 2010
by
Luis Soares
Browse files
Options
Browse Files
Download
Plain Diff
WL 5408: automerged bzr bundle from original commit.
parents
545d8a5b
2745978a
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
213 additions
and
14 deletions
+213
-14
mysql-test/collections/default.daily
mysql-test/collections/default.daily
+1
-0
mysql-test/collections/default.push
mysql-test/collections/default.push
+3
-3
mysql-test/collections/disabled-per-push.list
mysql-test/collections/disabled-per-push.list
+186
-0
mysql-test/lib/mtr_cases.pm
mysql-test/lib/mtr_cases.pm
+17
-10
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+6
-1
No files found.
mysql-test/collections/default.daily
View file @
d09b73c8
...
...
@@ -3,3 +3,4 @@ perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collection
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=embedded --vardir=var-emebbed --embedded
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=funcs_1 --vardir=var-funcs_1 --suite=funcs_1
perl mysql-test-run.pl --timer --force --parallel=auto --comment=rpl_ndb_row --vardir=var-rpl_ndb_row --mysqld=--binlog-format=row --suite=rpl_ndb,ndb
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=rpl_binlog_row --vardir=var-rpl_binlog_row --mysqld=--binlog-format=row --suite=rpl,binlog --skip-ndb
mysql-test/collections/default.push
View file @
d09b73c8
perl mysql-test-run.pl --timer --force --parallel=auto --comment=n_mix --vardir=var-n_mix --mysqld=--binlog-format=mixed --experimental=collections/default.experimental --skip-ndb
perl mysql-test-run.pl --timer --force --parallel=auto --comment=ps_row --vardir=var-ps_row --ps-protocol --mysqld=--binlog-format=row --experimental=collections/default.experimental --skip-ndb
perl mysql-test-run.pl --timer --force --parallel=auto --comment=n_mix --vardir=var-n_mix --mysqld=--binlog-format=mixed --experimental=collections/default.experimental --skip-ndb
--skip-test-list=collections/disabled-per-push.list
perl mysql-test-run.pl --timer --force --parallel=auto --comment=ps_row --vardir=var-ps_row --ps-protocol --mysqld=--binlog-format=row --experimental=collections/default.experimental --skip-ndb
--skip-test-list=collections/disabled-per-push.list
perl mysql-test-run.pl --timer --force --parallel=auto --comment=embedded --vardir=var-emebbed --embedded --experimental=collections/default.experimental --skip-ndb
perl mysql-test-run.pl --timer --force --parallel=auto --comment=rpl_binlog_row --vardir=var-rpl_binlog_row --suite=rpl,binlog --mysqld=--binlog-format=row --experimental=collections/default.experimental --skip-ndb
perl mysql-test-run.pl --timer --force --parallel=auto --comment=rpl_binlog_row --vardir=var-rpl_binlog_row --suite=rpl,binlog --mysqld=--binlog-format=row --experimental=collections/default.experimental --skip-ndb
--skip-test-list=collections/disabled-per-push.list
perl mysql-test-run.pl --timer --force --parallel=auto --comment=funcs_1 --vardir=var-funcs_1 --suite=funcs_1 --experimental=collections/default.experimental --skip-ndb
mysql-test/collections/disabled-per-push.list
0 → 100644
View file @
d09b73c8
This diff is collapsed.
Click to expand it.
mysql-test/lib/mtr_cases.pm
View file @
d09b73c8
...
...
@@ -104,10 +104,11 @@ sub init_pattern {
#
##############################################################################
sub
collect_test_cases
($$$)
{
sub
collect_test_cases
($$$
$
)
{
my
$opt_reorder
=
shift
;
# True if we're reordering tests
my
$suites
=
shift
;
# Semicolon separated list of test suites
my
$opt_cases
=
shift
;
my
$opt_skip_test_list
=
shift
;
my
$cases
=
[]
;
# Array of hash(one hash for each testcase)
$do_test_reg
=
init_pattern
(
$do_test
,
"
--do-test
");
...
...
@@ -131,7 +132,7 @@ sub collect_test_cases ($$$) {
{
foreach
my
$suite
(
split
("
,
",
$suites
))
{
push
(
@$cases
,
collect_one_suite
(
$suite
,
$opt_cases
));
push
(
@$cases
,
collect_one_suite
(
$suite
,
$opt_cases
,
$opt_skip_test_list
));
last
if
$some_test_found
;
}
}
...
...
@@ -256,6 +257,7 @@ sub collect_one_suite($)
{
my
$suite
=
shift
;
# Test suite name
my
$opt_cases
=
shift
;
my
$opt_skip_test_list
=
shift
;
my
@cases
;
# Array of hash
mtr_verbose
("
Collecting:
$suite
");
...
...
@@ -317,18 +319,23 @@ sub collect_one_suite($)
# Build a hash of disabled testcases for this suite
# ----------------------------------------------------------------------
my
%
disabled
;
if
(
open
(
DISABLED
,
"
$testdir
/disabled.def
"
)
)
my
@disabled_collection
=
@
{
$opt_skip_test_list
}
if
defined
@
{
$opt_skip_test_list
};
unshift
(
@disabled_collection
,
"
$testdir
/disabled.def
");
for
my
$skip
(
@disabled_collection
)
{
if
(
open
(
DISABLED
,
$skip
)
)
{
while
(
<
DISABLED
>
)
{
chomp
;
if
(
/^\s*(\S+)\s*:\s*(.*?)\s*$/
)
{
$disabled
{
$1
}
=
$2
;
$disabled
{
$1
}
=
$2
if
not
exists
$disabled
{
$1
}
;
}
}
close
DISABLED
;
}
}
# Read suite.opt file
my
$suite_opt_file
=
"
$testdir
/suite.opt
";
...
...
mysql-test/mysql-test-run.pl
View file @
d09b73c8
...
...
@@ -165,6 +165,7 @@ our @opt_extra_mysqld_opt;
my
$opt_compress
;
my
$opt_ssl
;
my
$opt_skip_ssl
;
my
@opt_skip_test_list
;
our
$opt_ssl_supported
;
my
$opt_ps_protocol
;
my
$opt_sp_protocol
;
...
...
@@ -326,7 +327,7 @@ sub main {
}
mtr_report
("
Collecting tests...
");
my
$tests
=
collect_test_cases
(
$opt_reorder
,
$opt_suites
,
\
@opt_cases
);
my
$tests
=
collect_test_cases
(
$opt_reorder
,
$opt_suites
,
\
@opt_cases
,
\
@opt_skip_test_list
);
if
(
$opt_report_features
)
{
# Put "report features" as the first test to run
...
...
@@ -948,6 +949,7 @@ sub command_line_setup {
'
help|h
'
=>
\
$opt_usage
,
'
list-options
'
=>
\
$opt_list_options
,
'
skip-test-list=s
'
=>
\
@opt_skip_test_list
);
GetOptions
(
%
options
)
or
usage
("
Can't read options
");
...
...
@@ -5440,6 +5442,9 @@ Options to control what test suites or cases to run
enable-disabled Run also tests marked as disabled
print-testcases Don't run the tests but print details about all the
selected tests, in the order they would be run.
skip-test-list=FILE Skip the tests listed in FILE. Each line in the file
is an entry and should be formatted as:
<TESTNAME> : <COMMENT>
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