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
b4b0fcee
Commit
b4b0fcee
authored
May 04, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Debug printouts for not all tests completed
parent
6cef6279
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
20 deletions
+5
-20
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+5
-20
No files found.
mysql-test/mysql-test-run.pl
View file @
b4b0fcee
...
...
@@ -333,31 +333,16 @@ sub main {
if
(
@$completed
!=
$num_tests
){
if
(
$opt_force
){
# All test should have been run, print the ones that differs
my
%
tests
=
();
foreach
my
$t
(
@$tests
)
{
$tests
{
$t
->
key
()}
=
1
;
};
foreach
my
$done
(
@$completed
){
if
(
$tests
{
$done
->
key
()})
{
mtr_report
("
Found one extra completed
");
$done
->
print_test
();
}
}
%
tests
=
();
foreach
my
$t
(
@$completed
)
{
$tests
{
$t
->
key
()}
=
1
;
};
foreach
my
$done
(
@$tests
){
if
(
$tests
{
$done
->
key
()})
{
mtr_report
("
Found one test not run
");
$done
->
print_test
();
}
# All test should have been run, print any that are still in $tests
foreach
my
$test
(
@$tests
){
$test
->
print_test
();
}
}
# Not all tests completed, failure
mtr_report
();
mtr_report
(
int
(
@$completed
),
"
of
$num_tests
completed.
");
mtr_error
("
Test failed.
",
"
To continue, re-run with '--force'
");
mtr_report
("
Only
",
int
(
@$completed
),
"
of
$num_tests
completed.
");
mtr_error
("
Not all tests completed
");
}
mtr_print_line
();
...
...
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