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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
17e3f899
Commit
17e3f899
authored
Sep 25, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return from function 'collect_one_test_case' as sson it's detected that testcase should be skipped
parent
17c81bc0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
mysql-test/lib/mtr_cases.pl
mysql-test/lib/mtr_cases.pl
+12
-0
No files found.
mysql-test/lib/mtr_cases.pl
View file @
17e3f899
...
...
@@ -390,6 +390,7 @@ sub collect_one_test_case($$$$$$$) {
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
comment
'}
=
"
No tests with sh scripts on Windows
";
return
;
}
else
{
...
...
@@ -404,6 +405,7 @@ sub collect_one_test_case($$$$$$$) {
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
comment
'}
=
"
No tests with sh scripts on Windows
";
return
;
}
else
{
...
...
@@ -448,6 +450,7 @@ sub collect_one_test_case($$$$$$$) {
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
disable
'}
=
1
;
# Sub type of 'skip'
return
;
}
}
...
...
@@ -457,16 +460,19 @@ sub collect_one_test_case($$$$$$$) {
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
comment
'}
=
"
No IM with embedded server
";
return
;
}
elsif
(
$::opt_ps_protocol
)
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
comment
'}
=
"
No IM with --ps-protocol
";
return
;
}
elsif
(
$::opt_skip_im
)
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
comment
'}
=
"
No IM tests(--skip-im)
";
return
;
}
}
else
...
...
@@ -477,18 +483,21 @@ sub collect_one_test_case($$$$$$$) {
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
comment
'}
=
"
Test need 'big-test' option
";
return
;
}
if
(
$tinfo
->
{'
ndb_extra
'}
and
!
$::opt_ndb_extra_test
)
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
comment
'}
=
"
Test need 'ndb_extra' option
";
return
;
}
if
(
$tinfo
->
{'
require_manager
'}
)
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
comment
'}
=
"
Test need the _old_ manager(to be removed)
";
return
;
}
if
(
defined
$tinfo
->
{'
binlog_format
'}
and
...
...
@@ -496,12 +505,14 @@ sub collect_one_test_case($$$$$$$) {
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
comment
'}
=
"
Not running with binlog format '
$tinfo
->{'binlog_format'}'
";
return
;
}
if
(
$tinfo
->
{'
need_debug
'}
&&
!
$::debug_compiled_binaries
)
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
comment
'}
=
"
Test need debug binaries
";
return
;
}
}
...
...
@@ -512,6 +523,7 @@ sub collect_one_test_case($$$$$$$) {
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
comment
'}
=
"
Can't restart a running server
";
return
;
}
}
...
...
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