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
8fedf8ac
Commit
8fedf8ac
authored
Jan 25, 2012
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mtr runs only "big" tests, if --big-test is repeated twice
parent
ac3c60d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
mysql-test/lib/mtr_cases.pm
mysql-test/lib/mtr_cases.pm
+7
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+3
-2
No files found.
mysql-test/lib/mtr_cases.pm
View file @
8fedf8ac
...
@@ -925,6 +925,13 @@ sub collect_one_test_case {
...
@@ -925,6 +925,13 @@ sub collect_one_test_case {
return
$tinfo
return
$tinfo
}
}
if
(
!
$tinfo
->
{'
big_test
'}
and
$::opt_big_test
>
1
)
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
comment
'}
=
"
Small test
";
return
$tinfo
}
if
(
$tinfo
->
{'
need_debug
'}
&&
!
$::debug_compiled_binaries
)
if
(
$tinfo
->
{'
need_debug
'}
&&
!
$::debug_compiled_binaries
)
{
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
skip
'}
=
1
;
...
...
mysql-test/mysql-test-run.pl
View file @
8fedf8ac
...
@@ -986,7 +986,7 @@ sub command_line_setup {
...
@@ -986,7 +986,7 @@ sub command_line_setup {
'
skip-test=s
'
=>
\&
collect_option
,
'
skip-test=s
'
=>
\&
collect_option
,
'
do-test=s
'
=>
\&
collect_option
,
'
do-test=s
'
=>
\&
collect_option
,
'
start-from=s
'
=>
\&
collect_option
,
'
start-from=s
'
=>
\&
collect_option
,
'
big-test
'
=>
\
$opt_big_test
,
'
big-test
+
'
=>
\
$opt_big_test
,
'
combination=s
'
=>
\
@opt_combinations
,
'
combination=s
'
=>
\
@opt_combinations
,
'
skip-combinations
'
=>
\&
collect_option
,
'
skip-combinations
'
=>
\&
collect_option
,
'
experimental=s
'
=>
\
@opt_experimentals
,
'
experimental=s
'
=>
\
@opt_experimentals
,
...
@@ -5984,7 +5984,8 @@ Options to control what test suites or cases to run
...
@@ -5984,7 +5984,8 @@ Options to control what test suites or cases to run
list of suite names.
list of suite names.
The default is: "$DEFAULT_SUITES"
The default is: "$DEFAULT_SUITES"
skip-rpl Skip the replication test cases.
skip-rpl Skip the replication test cases.
big-test Also run tests marked as "big"
big-test Also run tests marked as "big". Repeat this option
twice to run only "big" tests.
staging-run Run a limited number of tests (no slow tests). Used
staging-run Run a limited number of tests (no slow tests). Used
for running staging trees with valgrind.
for running staging trees with valgrind.
enable-disabled Run also tests marked as disabled
enable-disabled Run also tests marked as disabled
...
...
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