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
7831bd00
Commit
7831bd00
authored
Apr 24, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup formatting
parent
7f1d1586
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
38 deletions
+47
-38
.bzrignore
.bzrignore
+3
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+44
-38
No files found.
.bzrignore
View file @
7831bd00
...
...
@@ -1278,3 +1278,6 @@ include/openssl
mysql-test/r/bdb.log
mysql-test/r/im_client_port.log
mysql-test/r/udf.log
extra/yassl/taocrypt/benchmark/benchmark
extra/yassl/taocrypt/test/test
extra/yassl/testsuite/testsuite
mysql-test/mysql-test-run.pl
View file @
7831bd00
...
...
@@ -1223,6 +1223,7 @@ sub signal_setup () {
$SIG
{
INT
}
=
\&
handle_int_signal
;
}
sub
handle_int_signal
()
{
$SIG
{
INT
}
=
'
DEFAULT
';
# If we get a ^C again, we die...
mtr_warning
("
got INT signal, cleaning up.....
");
...
...
@@ -1438,7 +1439,6 @@ sub check_ndbcluster_support () {
return
;
}
# FIXME why is there a different start below?!
sub
ndbcluster_install
()
{
...
...
@@ -1465,6 +1465,7 @@ sub ndbcluster_install () {
return
0
;
}
sub
ndbcluster_start
($)
{
my
$use_ndbcluster
=
shift
;
...
...
@@ -1497,6 +1498,7 @@ sub ndbcluster_start ($) {
return
0
;
}
sub
ndbcluster_stop
()
{
if
(
!
$using_ndbcluster_master
or
$glob_use_running_ndbcluster
)
{
...
...
@@ -1594,6 +1596,7 @@ sub run_tests () {
run_suite
(
$opt_suite
);
}
sub
run_suite
()
{
my
$suite
=
shift
;
...
...
@@ -1947,9 +1950,9 @@ sub run_testcase ($) {
mtr_tofile
(
$master
->
[
0
]
->
{'
path_myerr
'},"
CURRENT_TEST:
$tname
\n
");
# FIXME test cases that depend on each other, prevent this from
# being at this location.
#
do_before_start_master($tname,$tinfo->{'master_sh'});
# FIXME test cases that depend on each other, prevent this from
# being at this location.
#
do_before_start_master($tname,$tinfo->{'master_sh'});
# ----------------------------------------------------------------------
# If any mysqld servers running died, we have to know
...
...
@@ -2125,6 +2128,7 @@ sub run_testcase ($) {
}
}
#
# Save a snapshot of the installed test db(s)
# I.e take a snapshot of the var/ dir
...
...
@@ -2161,6 +2165,7 @@ sub save_files_before_restore($$) {
}
}
#
# Restore snapshot of the installed test db(s)
# if the snapshot exists
...
...
@@ -2230,9 +2235,9 @@ sub report_failure_and_restart ($) {
#
##############################################################################
# The embedded server needs the cleanup so we do some of the start work
# but stop before actually running mysqld or anything.
sub
do_before_start_master
($$)
{
my
$tname
=
shift
;
my
$init_script
=
shift
;
...
...
@@ -2265,13 +2270,14 @@ sub do_before_start_master ($$) {
if
(
$ret
!=
0
)
{
# FIXME rewrite those scripts to return 0 if successful
#
mtr_warning("$init_script exited with code $ret");
#
mtr_warning("$init_script exited with code $ret");
}
}
# for gcov FIXME needed? If so we need more absolute paths
# chdir($glob_basedir);
# chdir($glob_basedir);
}
sub
do_before_start_slave
($$)
{
my
$tname
=
shift
;
my
$init_script
=
shift
;
...
...
@@ -2299,7 +2305,7 @@ sub do_before_start_slave ($$) {
if
(
$ret
!=
0
)
{
# FIXME rewrite those scripts to return 0 if successful
#
mtr_warning("$init_script exited with code $ret");
#
mtr_warning("$init_script exited with code $ret");
}
}
...
...
@@ -2309,6 +2315,7 @@ sub do_before_start_slave ($$) {
}
}
sub
mysqld_arguments
($$$$$$)
{
my
$args
=
shift
;
my
$type
=
shift
;
# master/slave/bootstrap
...
...
@@ -2532,14 +2539,6 @@ sub mysqld_arguments ($$$$$$) {
return
$args
;
}
# FIXME
# if ( $type eq 'master' and $glob_use_embedded_server )
# {
# # Add a -A to each argument to pass it to embedded server
# my @mysqltest_opt= map {("-A",$_)} @args;
# $opt_extra_mysqltest_opt= \@mysqltest_opt;
# return;
# }
##############################################################################
#
...
...
@@ -2639,6 +2638,7 @@ sub mysqld_start ($$$$$) {
return
0
;
}
sub
stop_masters_slaves
()
{
print
"
Ending Tests
\n
";
...
...
@@ -2656,6 +2656,7 @@ sub stop_masters_slaves () {
print
"
Slave(s) shutdown finished
\n
";
}
sub
stop_masters
()
{
my
@args
;
...
...
@@ -2685,6 +2686,7 @@ sub stop_masters () {
mtr_stop_mysqld_servers
(
\
@args
);
}
sub
stop_slaves
()
{
my
$force
=
shift
;
...
...
@@ -2761,6 +2763,7 @@ sub im_start($$) {
mtr_get_pid_from_file
(
$instance_manager
->
{'
path_pid
'});
}
sub
im_stop
($)
{
my
$instance_manager
=
shift
;
...
...
@@ -2801,6 +2804,7 @@ sub im_stop($) {
$instance_manager
->
{'
pid
'}
=
undef
;
}
#
# Run include/check-testcase.test
# Before a testcase, run in record mode, save result file to var
...
...
@@ -2849,6 +2853,7 @@ sub run_check_testcase ($) {
}
}
sub
run_mysqltest
($)
{
my
$tinfo
=
shift
;
...
...
@@ -3185,6 +3190,7 @@ sub gdb_arguments {
$$exe
=
"
xterm
";
}
#
# Modify the exe and args so that program is run in ddd
#
...
...
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