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
633f50cb
Commit
633f50cb
authored
Mar 08, 2005
by
jani@ua141d10.elisa.omakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added possibility to add disabled tests to mysql-test-run.
parent
48cd94d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+18
-0
No files found.
mysql-test/mysql-test-run.sh
View file @
633f50cb
...
@@ -817,6 +817,18 @@ skip_test() {
...
@@ -817,6 +817,18 @@ skip_test() {
$ECHO
"
$RES$RES_SPACE
[ skipped ]"
$ECHO
"
$RES$RES_SPACE
[ skipped ]"
}
}
disable_test
()
{
USERT
=
" ...."
SYST
=
" ...."
REALT
=
" ...."
pname
=
`
$ECHO
"
$1
"
|
$CUT
-c
1-24
`
RES
=
"
$pname
"
skip_inc
$ECHO
"
$RES$RES_SPACE
[ disabled ]
$2
"
}
report_current_test
()
{
report_current_test
()
{
tname
=
$1
tname
=
$1
echo
"CURRENT_TEST:
$tname
"
>>
$MASTER_MYERR
echo
"CURRENT_TEST:
$tname
"
>>
$MASTER_MYERR
...
@@ -1471,6 +1483,12 @@ run_testcase ()
...
@@ -1471,6 +1483,12 @@ run_testcase ()
if
[
-n
"
$RESULT_EXT
"
-a
\(
x
$RECORD
=
x1
-o
-f
"
$result_file$RESULT_EXT
"
\)
]
;
then
if
[
-n
"
$RESULT_EXT
"
-a
\(
x
$RECORD
=
x1
-o
-f
"
$result_file$RESULT_EXT
"
\)
]
;
then
result_file
=
"
$result_file$RESULT_EXT
"
result_file
=
"
$result_file$RESULT_EXT
"
fi
fi
if
[
-f
"
$TESTDIR
/
$tname
.disabled"
]
then
comment
=
`
$CAT
$TESTDIR
/
$tname
.disabled
`
;
disable_test
$tname
"
$comment
"
return
fi
if
[
"
$USE_MANAGER
"
=
1
]
;
then
if
[
"
$USE_MANAGER
"
=
1
]
;
then
many_slaves
=
`
$EXPR
\(
\(
$tname
: rpl_failsafe
\)
!=
0
\)
\|
\(
\(
$tname
: rpl_chain_temp_table
\)
!=
0
\)
`
many_slaves
=
`
$EXPR
\(
\(
$tname
: rpl_failsafe
\)
!=
0
\)
\|
\(
\(
$tname
: rpl_chain_temp_table
\)
!=
0
\)
`
fi
fi
...
...
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