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
8819e173
Commit
8819e173
authored
Dec 11, 2007
by
tomas@whalegate.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add capability to run certain testsuites optionally depending on name of clone
parent
fe46b09e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
2 deletions
+24
-2
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+24
-2
No files found.
mysql-test/mysql-test-run.pl
View file @
8819e173
...
...
@@ -129,7 +129,15 @@ our $opt_vs_config = $ENV{'MTR_VS_CONFIG'};
our
$default_vardir
;
our
$opt_usage
;
our
$opt_suites
=
"
main,binlog,rpl,rpl_ndb,ndb
";
# Default suites to run
our
$opt_suites
;
our
$opt_suites_default
=
"
main,binlog,rpl,rpl_ndb,ndb
";
# Default suites to run
our
@extra_suites
=
(
["
mysql-5.1-new-ndb
",
"
ndb_team
"],
["
mysql-5.1-telco-6.2
",
"
ndb_team
"],
["
mysql-5.1-telco-6.3
",
"
ndb_team
"],
);
our
$opt_script_debug
=
0
;
# Script debugging, enable with --script-debug
our
$opt_verbose
=
0
;
# Verbose output, enable with --verbose
...
...
@@ -397,6 +405,20 @@ sub main () {
else
{
# Figure out which tests we are going to run
if
(
!
$opt_suites
)
{
# use default and add any extra_suites as defined
$opt_suites
=
$opt_suites_default
;
my
$ddd
=
basename
(
dirname
(
$glob_mysql_test_dir
));
foreach
my
$extra_suite
(
@extra_suites
)
{
if
(
$extra_suite
->
[
0
]
eq
"
$ddd
")
{
$opt_suites
=
"
$extra_suite
->[1],
$opt_suites
";
}
}
}
my
$tests
=
collect_test_cases
(
$opt_suites
);
# Turn off NDB and other similar options if no tests use it
...
...
@@ -5195,7 +5217,7 @@ Options to control what test suites or cases to run
start-from=PREFIX Run test cases starting from test prefixed with PREFIX
suite[s]=NAME1,..,NAMEN Collect tests in suites from the comma separated
list of suite names.
The default is: "$opt_suites"
The default is: "$opt_suites
_default
"
skip-rpl Skip the replication test cases.
skip-im Don't start IM, and skip the IM test cases
big-test Set the environment variable BIG_TEST, which can be
...
...
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