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
cbecd200
Commit
cbecd200
authored
Aug 20, 2007
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make it possible to pass mysql-test-run.pl test cases to run
also on the <suite>.<testname> format
parent
76d173fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
mysql-test/lib/mtr_cases.pl
mysql-test/lib/mtr_cases.pl
+7
-2
No files found.
mysql-test/lib/mtr_cases.pl
View file @
cbecd200
...
...
@@ -53,7 +53,8 @@ sub collect_test_cases ($) {
my
$found
=
0
;
foreach
my
$test
(
@$cases
)
{
if
(
mtr_match_extension
(
$test
->
{'
name
'},
$tname
)
)
if
(
$test
->
{'
name
'}
eq
$tname
||
mtr_match_extension
(
$test
->
{'
name
'},
$tname
)
)
{
$found
=
1
;
}
...
...
@@ -192,8 +193,9 @@ sub collect_one_suite($$)
if
(
@::opt_cases
)
{
# Collect in specified order, no sort
foreach
my
$tname
(
@::opt_cases
)
foreach
my
$tname
2
(
@::opt_cases
)
{
my
$tname
=
$tname2
;
# Don't modify @::opt_cases !
my
$elem
=
undef
;
my
$component_id
=
undef
;
...
...
@@ -202,6 +204,9 @@ sub collect_one_suite($$)
$tname
=
basename
(
$tname
);
# Get rid of suite part
$tname
=~
s/^$suite\.//
;
# Check if the extenstion has been specified.
if
(
mtr_match_extension
(
$tname
,
"
test
")
)
...
...
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