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
cb49825d
Commit
cb49825d
authored
Oct 05, 2010
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable NDB tests to run by default.
parent
58a8c4b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
mysql-test/lib/mtr_cases.pl
mysql-test/lib/mtr_cases.pl
+1
-1
mysql-test/mysql-test-run-shell.sh
mysql-test/mysql-test-run-shell.sh
+2
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+11
-3
No files found.
mysql-test/lib/mtr_cases.pl
View file @
cb49825d
...
...
@@ -581,7 +581,7 @@ sub collect_one_test_case($$$$$$$) {
{
# Ndb is not supported, skip it
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
comment
'}
=
"
No ndbcluster support
";
$tinfo
->
{'
comment
'}
=
"
No ndbcluster support
or ndb tests disabled
";
return
;
}
elsif
(
$::opt_skip_ndbcluster
)
...
...
mysql-test/mysql-test-run-shell.sh
View file @
cb49825d
...
...
@@ -292,7 +292,8 @@ EXTRA_MYSQLDUMP_OPT=""
EXTRA_MYSQLSHOW_OPT
=
""
EXTRA_MYSQLBINLOG_OPT
=
""
USE_RUNNING_SERVER
=
0
USE_NDBCLUSTER
=
@USE_NDBCLUSTER@
#USE_NDBCLUSTER=@USE_NDBCLUSTER@
USE_NDBCLUSTER
=
0
USE_NDBCLUSTER_ONLY
=
0
USE_RUNNING_NDBCLUSTER
=
""
USE_PURIFY
=
""
...
...
mysql-test/mysql-test-run.pl
View file @
cb49825d
...
...
@@ -276,8 +276,9 @@ our $opt_stress_test_file= "";
our
$opt_warnings
;
our
$opt_skip_ndbcluster
=
0
;
our
$opt_skip_ndbcluster_slave
=
0
;
our
$opt_skip_ndbcluster
=
1
;
our
$opt_skip_ndbcluster_slave
=
1
;
our
$opt_include_ndbcluster
=
0
;
our
$opt_with_ndbcluster
=
0
;
our
$opt_with_ndbcluster_only
=
0
;
our
$glob_ndbcluster_supported
=
0
;
...
...
@@ -537,6 +538,7 @@ sub command_line_setup () {
'
force
'
=>
\
$opt_force
,
'
with-ndbcluster-only
'
=>
\
$opt_with_ndbcluster_only
,
'
skip-ndbcluster|skip-ndb
'
=>
\
$opt_skip_ndbcluster
,
'
include-ndbcluster
'
=>
\
$opt_include_ndbcluster
,
'
skip-ndbcluster-slave|skip-ndb-slave
'
=>
\
$opt_skip_ndbcluster_slave
,
'
ndb-extra-test
'
=>
\
$opt_ndb_extra_test
,
...
...
@@ -2531,6 +2533,11 @@ sub vs_config_dirs ($$) {
sub
check_ndbcluster_support
($)
{
my
$mysqld_variables
=
shift
;
if
(
$opt_include_ndbcluster
)
{
$opt_skip_ndbcluster
=
0
;
}
if
(
$opt_skip_ndbcluster
||
$opt_extern
)
{
if
(
!
$opt_extern
)
...
...
@@ -5189,8 +5196,9 @@ Options to control what test suites or cases to run
force Continue to run the suite after failure
with-ndbcluster-only Run only tests that include "ndb" in the filename
skip-ndb[cluster] Skip all tests that need cluster
skip-ndb[cluster] Skip all tests that need cluster
. Default.
skip-ndb[cluster]-slave Skip all tests that need a slave cluster
include-ndb[cluster] Enable all tests that need cluster
ndb-extra Run extra tests from ndb directory
do-test=PREFIX or REGEX
Run test cases which name are prefixed with PREFIX
...
...
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