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
32da7903
Commit
32da7903
authored
Sep 30, 2010
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
upmerge 52828
parents
de5390a5
87234b74
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
2 deletions
+21
-2
.bzr-mysql/default.conf
.bzr-mysql/default.conf
+1
-1
client/mysqltest.cc
client/mysqltest.cc
+12
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+8
-0
No files found.
.bzr-mysql/default.conf
View file @
32da7903
[
MYSQL
]
[
MYSQL
]
post_commit_to
=
"commits@lists.mysql.com"
post_commit_to
=
"commits@lists.mysql.com"
post_push_to
=
"commits@lists.mysql.com"
post_push_to
=
"commits@lists.mysql.com"
tree_name
=
"mysql-5.5"
tree_name
=
"mysql-5.5
-mtr
"
client/mysqltest.cc
View file @
32da7903
...
@@ -3926,7 +3926,18 @@ void do_perl(struct st_command *command)
...
@@ -3926,7 +3926,18 @@ void do_perl(struct st_command *command)
if
(
!
error
)
if
(
!
error
)
my_delete
(
temp_file_path
,
MYF
(
0
));
my_delete
(
temp_file_path
,
MYF
(
0
));
handle_command_error
(
command
,
WEXITSTATUS
(
error
));
/* Check for error code that indicates perl could not be started */
int
exstat
=
WEXITSTATUS
(
error
);
#ifdef __WIN__
if
(
exstat
==
1
)
/* Text must begin 'perl not found' as mtr looks for it */
abort_not_supported_test
(
"perl not found in path or did not start"
);
#else
if
(
exstat
==
127
)
abort_not_supported_test
(
"perl not found in path"
);
#endif
else
handle_command_error
(
command
,
exstat
);
}
}
dynstr_free
(
&
ds_delimiter
);
dynstr_free
(
&
ds_delimiter
);
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
...
...
mysql-test/mysql-test-run.pl
View file @
32da7903
...
@@ -2194,6 +2194,11 @@ sub environment_setup {
...
@@ -2194,6 +2194,11 @@ sub environment_setup {
# to detect that valgrind is being used from test cases
# to detect that valgrind is being used from test cases
$ENV
{'
VALGRIND_TEST
'}
=
$opt_valgrind
;
$ENV
{'
VALGRIND_TEST
'}
=
$opt_valgrind
;
# Add dir of this perl to aid mysqltest in finding perl
my
$perldir
=
dirname
(
$^X
);
my
$pathsep
=
"
:
";
$pathsep
=
"
;
"
if
IS_WINDOWS
&&
!
IS_CYGWIN
;
$ENV
{'
PATH
'}
=
"
$ENV
{'PATH'}
"
.
$pathsep
.
$perldir
;
}
}
...
@@ -3666,6 +3671,9 @@ sub run_testcase ($) {
...
@@ -3666,6 +3671,9 @@ sub run_testcase ($) {
# Try to get reason from test log file
# Try to get reason from test log file
find_testcase_skipped_reason
(
$tinfo
);
find_testcase_skipped_reason
(
$tinfo
);
mtr_report_test_skipped
(
$tinfo
);
mtr_report_test_skipped
(
$tinfo
);
# Restart if skipped due to missing perl, it may have had side effects
stop_all_servers
(
$opt_shutdown_timeout
)
if
(
$tinfo
->
{'
comment
'}
=~
/^perl not found/
);
}
}
elsif
(
$res
==
65
)
elsif
(
$res
==
65
)
{
{
...
...
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