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
f8462577
Commit
f8462577
authored
Nov 19, 2009
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
merge 48806
parents
713f8055
242f3f8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
16 deletions
+23
-16
mysql-test/lib/My/SafeProcess.pm
mysql-test/lib/My/SafeProcess.pm
+20
-16
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+3
-0
No files found.
mysql-test/lib/My/SafeProcess.pm
View file @
f8462577
...
@@ -81,24 +81,28 @@ sub is_child {
...
@@ -81,24 +81,28 @@ sub is_child {
}
}
# Find the safe process binary or script
my
@safe_process_cmd
;
my
@safe_process_cmd
;
my
$safe_kill
;
my
$safe_kill
;
if
(
IS_WIN32PERL
or
IS_CYGWIN
){
# Use my_safe_process.exe
# Find the safe process binary or script
my
$exe
=
my_find_bin
("
.
",
["
lib/My/SafeProcess
",
"
My/SafeProcess
"],
sub
find_bin
{
"
my_safe_process
");
if
(
IS_WIN32PERL
or
IS_CYGWIN
)
push
(
@safe_process_cmd
,
$exe
);
{
# Use my_safe_process.exe
# Use my_safe_kill.exe
my
$exe
=
my_find_bin
("
.
",
["
lib/My/SafeProcess
",
"
My/SafeProcess
"],
$safe_kill
=
my_find_bin
("
.
",
"
lib/My/SafeProcess
",
"
my_safe_kill
");
"
my_safe_process
");
}
push
(
@safe_process_cmd
,
$exe
);
else
{
# Use my_safe_kill.exe
# Use my_safe_process
$safe_kill
=
my_find_bin
("
.
",
"
lib/My/SafeProcess
",
"
my_safe_kill
");
my
$exe
=
my_find_bin
("
.
",
["
lib/My/SafeProcess
",
"
My/SafeProcess
"],
}
"
my_safe_process
");
else
push
(
@safe_process_cmd
,
$exe
);
{
# Use my_safe_process
my
$exe
=
my_find_bin
("
.
",
["
lib/My/SafeProcess
",
"
My/SafeProcess
"],
"
my_safe_process
");
push
(
@safe_process_cmd
,
$exe
);
}
}
}
...
...
mysql-test/mysql-test-run.pl
View file @
f8462577
...
@@ -266,6 +266,9 @@ sub main {
...
@@ -266,6 +266,9 @@ sub main {
command_line_setup
();
command_line_setup
();
# --help will not reach here, so now it's safe to assume we have binaries
My::SafeProcess::
find_bin
();
if
(
$opt_gcov
)
{
if
(
$opt_gcov
)
{
gcov_prepare
(
$basedir
);
gcov_prepare
(
$basedir
);
}
}
...
...
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