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
351b32fd
Commit
351b32fd
authored
Jan 11, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow start-from to also filter on suitename
parent
2490e747
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
mysql-test/lib/mtr_cases.pm
mysql-test/lib/mtr_cases.pm
+12
-4
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+4
-2
No files found.
mysql-test/lib/mtr_cases.pm
View file @
351b32fd
...
@@ -653,18 +653,26 @@ sub collect_one_test_case {
...
@@ -653,18 +653,26 @@ sub collect_one_test_case {
#print " filename: $filename\n";
#print " filename: $filename\n";
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
#
Skip some tests silently
#
Check --start-from
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
if
(
$start_from
and
$tname
lt
$start_from
)
if
(
$start_from
)
{
{
return
;
# start_from can be specified as [suite.].testname_prefix
my
(
$suite
,
$test
,
$ext
)
=
split_testname
(
$start_from
);
if
(
$suite
and
$suitename
lt
$suite
){
return
;
# Skip silently
}
if
(
$tname
lt
$test
){
return
;
# Skip silently
}
}
}
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# Set defaults
# Set defaults
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
my
$tinfo
=
{};
my
$tinfo
=
{};
$tinfo
->
{'
name
'}
=
basename
(
$suitename
)
.
"
.
$tname
";
$tinfo
->
{'
name
'}
=
$suitename
.
"
.
$tname
";
$tinfo
->
{'
path
'}
=
"
$testdir
/
$filename
";
$tinfo
->
{'
path
'}
=
"
$testdir
/
$filename
";
# TODO allow nonexistsing result file
# TODO allow nonexistsing result file
...
...
mysql-test/mysql-test-run.pl
View file @
351b32fd
...
@@ -3588,8 +3588,10 @@ Options to control what test suites or cases to run
...
@@ -3588,8 +3588,10 @@ Options to control what test suites or cases to run
skip-test=PREFIX or REGEX
skip-test=PREFIX or REGEX
Skip test cases which name are prefixed with PREFIX
Skip test cases which name are prefixed with PREFIX
or fulfills REGEX
or fulfills REGEX
start-from=PREFIX Run test cases starting from test prefixed with PREFIX
start-from=PREFIX Run test cases starting test prefixed with PREFIX where
suite[s]=NAME1,..,NAMEN Collect tests in suites from the comma separated
prefix may be suite.testname or just testname
suite[s]=NAME1,..,NAMEN
Collect tests in suites from the comma separated
list of suite names.
list of suite names.
The default is: "$opt_suites"
The default is: "$opt_suites"
skip-rpl Skip the replication test cases.
skip-rpl Skip the replication test cases.
...
...
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