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
8213d05a
Commit
8213d05a
authored
Jul 28, 2011
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
upmerge 12726039
parents
aeec4c7c
1a56b927
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
11 deletions
+35
-11
mysql-test/lib/mtr_cases.pm
mysql-test/lib/mtr_cases.pm
+35
-11
No files found.
mysql-test/lib/mtr_cases.pm
View file @
8213d05a
...
...
@@ -337,17 +337,41 @@ sub collect_one_suite($)
for
my
$skip
(
@disabled_collection
)
{
if
(
open
(
DISABLED
,
$skip
)
)
{
while
(
<
DISABLED
>
)
{
chomp
;
if
(
/^\s*(\S+)\s*:\s*(.*?)\s*$/
)
{
$disabled
{
$1
}
=
$2
if
not
exists
$disabled
{
$1
};
}
}
close
DISABLED
;
}
{
# $^O on Windows considered not generic enough
my
$plat
=
(
IS_WINDOWS
)
?
'
windows
'
:
$^O
;
while
(
<
DISABLED
>
)
{
chomp
;
#diasble the test case if platform matches
if
(
/\@/
)
{
if
(
/\@$plat/
)
{
/^\s*(\S+)\s*\@$plat.*:\s*(.*?)\s*$/
;
$disabled
{
$1
}
=
$2
if
not
exists
$disabled
{
$1
};
}
elsif
(
/\@!(\S*)/
)
{
if
(
$1
ne
$plat
)
{
/^\s*(\S+)\s*\@!.*:\s*(.*?)\s*$/
;
$disabled
{
$1
}
=
$2
if
not
exists
$disabled
{
$1
};
}
}
}
elsif
(
/^\s*(\S+)\s*:\s*(.*?)\s*$/
)
{
chomp
;
if
(
/^\s*(\S+)\s*:\s*(.*?)\s*$/
)
{
$disabled
{
$1
}
=
$2
if
not
exists
$disabled
{
$1
};
}
}
}
close
DISABLED
;
}
}
# Read suite.opt file
...
...
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