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
0bea4c61
Commit
0bea4c61
authored
Jan 05, 2005
by
serg@sergbook.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.1
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.0
parents
490d5224
7a183dd3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+6
-5
No files found.
mysql-test/mysql-test-run.sh
View file @
0bea4c61
...
@@ -239,11 +239,12 @@ MYSQL_TEST_SSL_OPTS=""
...
@@ -239,11 +239,12 @@ MYSQL_TEST_SSL_OPTS=""
USE_TIMER
=
""
USE_TIMER
=
""
USE_EMBEDDED_SERVER
=
""
USE_EMBEDDED_SERVER
=
""
RESULT_EXT
=
""
RESULT_EXT
=
""
TEST_MODE
=
"default"
while
test
$#
-gt
0
;
do
while
test
$#
-gt
0
;
do
case
"
$1
"
in
case
"
$1
"
in
--embedded-server
)
USE_EMBEDDED_SERVER
=
1
;
USE_MANAGER
=
0
;
NO_SLAVE
=
1
;
\
--embedded-server
)
USE_EMBEDDED_SERVER
=
1
USE_MANAGER
=
0
NO_SLAVE
=
1
;
\
USE_RUNNING_SERVER
=
""
RESULT_EXT
=
".es"
;;
USE_RUNNING_SERVER
=
""
RESULT_EXT
=
".es"
TEST_MODE
=
"embedded"
;;
--user
=
*
)
DBUSER
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--user=;;"
`
;;
--user
=
*
)
DBUSER
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--user=;;"
`
;;
--force
)
FORCE
=
1
;;
--force
)
FORCE
=
1
;;
--timer
)
USE_TIMER
=
1
;;
--timer
)
USE_TIMER
=
1
;;
...
@@ -323,7 +324,7 @@ while test $# -gt 0; do
...
@@ -323,7 +324,7 @@ while test $# -gt 0; do
SLEEP_TIME_AFTER_RESTART
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--sleep=;;"
`
SLEEP_TIME_AFTER_RESTART
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--sleep=;;"
`
;;
;;
--ps-protocol
)
--ps-protocol
)
EXTRA_MYSQL_TEST_OPT
=
"
$EXTRA_MYSQL_TEST_OPT
$1
"
;;
TEST_MODE
=
"ps-protocol"
EXTRA_MYSQL_TEST_OPT
=
"
$EXTRA_MYSQL_TEST_OPT
$1
"
;;
--user-test
=
*
)
--user-test
=
*
)
USER_TEST
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--user-test=;;"
`
USER_TEST
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--user-test=;;"
`
;;
;;
...
@@ -1566,7 +1567,7 @@ run_testcase ()
...
@@ -1566,7 +1567,7 @@ run_testcase ()
show_failed_diff
$tname
show_failed_diff
$tname
$ECHO
$ECHO
if
[
x
$FORCE
!=
x1
]
;
then
if
[
x
$FORCE
!=
x1
]
;
then
$ECHO
"Aborting:
$tname
failed. To continue, re-run with '--force'."
$ECHO
"Aborting:
$tname
failed
in
$TEST_MODE
mode
. To continue, re-run with '--force'."
$ECHO
$ECHO
if
[
-z
"
$DO_GDB
"
]
&&
[
-z
"
$USE_RUNNING_SERVER
"
]
&&
\
if
[
-z
"
$DO_GDB
"
]
&&
[
-z
"
$USE_RUNNING_SERVER
"
]
&&
\
[
-z
"
$DO_DDD
"
]
&&
[
-z
"
$USE_EMBEDDED_SERVER
"
]
[
-z
"
$DO_DDD
"
]
&&
[
-z
"
$USE_EMBEDDED_SERVER
"
]
...
@@ -1745,7 +1746,7 @@ $ECHO
...
@@ -1745,7 +1746,7 @@ $ECHO
[
"
$DO_GPROF
"
]
&&
gprof_collect
# collect coverage information
[
"
$DO_GPROF
"
]
&&
gprof_collect
# collect coverage information
if
[
$TOT_FAIL
-ne
0
]
;
then
if
[
$TOT_FAIL
-ne
0
]
;
then
$ECHO
"mysql-test-run: *** Failing the test(s):
$FAILED_CASES
"
$ECHO
"mysql-test-run
in
$TEST_MODE
mode
: *** Failing the test(s):
$FAILED_CASES
"
$ECHO
$ECHO
exit
1
exit
1
else
else
...
...
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