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
d18f67bb
Commit
d18f67bb
authored
Feb 25, 2014
by
sayantan dutta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #17926328 - MTR SHOULD NOT WAIT FOR CHILDREN WHEN ABORTING TEST RUN ON WINDOWS
parent
42bfa908
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+12
-10
No files found.
mysql-test/mysql-test-run.pl
View file @
d18f67bb
#!/usr/bin/perl
#!/usr/bin/perl
# -*- cperl -*-
# -*- cperl -*-
# Copyright (c) 2004, 201
3
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2004, 201
4
, Oracle and/or its affiliates. All rights reserved.
#
#
# This program is free software; you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
...
@@ -474,7 +474,8 @@ sub main {
...
@@ -474,7 +474,8 @@ sub main {
# Send Ctrl-C to any children still running
# Send Ctrl-C to any children still running
kill
("
INT
",
keys
(
%
children
));
kill
("
INT
",
keys
(
%
children
));
# Wait for childs to exit
if
(
!
IS_WINDOWS
)
{
# Wait for children to exit
foreach
my
$pid
(
keys
%
children
)
foreach
my
$pid
(
keys
%
children
)
{
{
my
$ret_pid
=
waitpid
(
$pid
,
0
);
my
$ret_pid
=
waitpid
(
$pid
,
0
);
...
@@ -485,6 +486,7 @@ sub main {
...
@@ -485,6 +486,7 @@ sub main {
delete
$children
{
$ret_pid
};
delete
$children
{
$ret_pid
};
}
}
}
}
}
if
(
not
defined
@$completed
)
{
if
(
not
defined
@$completed
)
{
mtr_error
("
Test suite aborted
");
mtr_error
("
Test suite aborted
");
...
...
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