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
587584f1
Commit
587584f1
authored
Dec 16, 2004
by
joerg@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Have 'mysql-test-run' write a list of all failed tests at the end, if run with '--force'.
parent
cd874340
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+11
-3
No files found.
mysql-test/mysql-test-run.sh
View file @
587584f1
...
...
@@ -4,6 +4,7 @@
# Sligtly updated by Monty
# Cleaned up again by Matt
# Fixed by Sergei
# List of failed cases (--force) backported from 4.1 by Joerg
# :-)
#++
...
...
@@ -202,6 +203,7 @@ MYSQL_MANAGER_LOG=$MYSQL_TEST_DIR/var/log/manager.log
MYSQL_MANAGER_USER
=
root
NO_SLAVE
=
0
USER_TEST
=
FAILED_CASES
=
EXTRA_MASTER_OPT
=
""
EXTRA_MYSQL_TEST_OPT
=
""
...
...
@@ -1333,7 +1335,7 @@ run_testcase ()
show_failed_diff
$result_file
$ECHO
if
[
x
$FORCE
!=
x1
]
;
then
$ECHO
"Aborting. To continue, re-run with '--force'."
$ECHO
"Aborting
:
$tname
failed
. To continue, re-run with '--force'."
$ECHO
if
[
-z
"
$DO_GDB
"
]
&&
[
-z
"
$USE_RUNNING_SERVER
"
]
&&
[
-z
"
$DO_DDD
"
]
then
...
...
@@ -1342,7 +1344,7 @@ run_testcase ()
fi
exit
1
fi
FAILED_CASES
=
"
$FAILED_CASES
$tname
"
if
[
-z
"
$DO_GDB
"
]
&&
[
-z
"
$USE_RUNNING_SERVER
"
]
&&
[
-z
"
$DO_DDD
"
]
then
mysql_restart
...
...
@@ -1485,4 +1487,10 @@ $ECHO
[
"
$DO_GCOV
"
]
&&
gcov_collect
# collect coverage information
[
"
$DO_GPROF
"
]
&&
gprof_collect
# collect coverage information
exit
0
if
[
$TOT_FAIL
-ne
0
]
;
then
$ECHO
"mysql-test-run: *** Failing the test(s):
$FAILED_CASES
"
$ECHO
exit
1
else
exit
0
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