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
06c73d7d
Commit
06c73d7d
authored
Mar 25, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#34761 Mysql-test-run.pl script hangs on Windows
parent
e1a6f3c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
24 deletions
+19
-24
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+19
-24
No files found.
mysql-test/mysql-test-run.pl
View file @
06c73d7d
...
@@ -62,6 +62,7 @@ use File::Path;
...
@@ -62,6 +62,7 @@ use File::Path;
use
File::
Basename
;
use
File::
Basename
;
use
File::
Copy
;
use
File::
Copy
;
use
File::
Temp
qw /tempdir/;
use
File::
Temp
qw /tempdir/;
use
File::Spec::
Functions
qw /splitdir/;
use
Cwd
;
use
Cwd
;
use
Getopt::
Long
;
use
Getopt::
Long
;
use
IO::
Socket
;
use
IO::
Socket
;
...
@@ -134,17 +135,6 @@ our $default_vardir;
...
@@ -134,17 +135,6 @@ our $default_vardir;
our
$opt_usage
;
our
$opt_usage
;
our
$opt_suites
;
our
$opt_suites
;
our
$opt_suites_default
=
"
main,binlog,rpl,rpl_ndb,ndb
";
# Default suites to run
our
$opt_suites_default
=
"
main,binlog,rpl,rpl_ndb,ndb
";
# Default suites to run
our
@extra_suites
=
(
["
mysql-5.1-new-ndb
",
"
ndb_team
"],
["
mysql-5.1-new-ndb-merge
",
"
ndb_team
"],
["
mysql-5.1-telco-6.2
",
"
ndb_team
"],
["
mysql-5.1-telco-6.2-merge
",
"
ndb_team
"],
["
mysql-5.1-telco-6.3
",
"
ndb_team
"],
["
mysql-6.0-ndb
",
"
ndb_team
"],
);
our
$opt_script_debug
=
0
;
# Script debugging, enable with --script-debug
our
$opt_script_debug
=
0
;
# Script debugging, enable with --script-debug
our
$opt_verbose
=
0
;
# Verbose output, enable with --verbose
our
$opt_verbose
=
0
;
# Verbose output, enable with --verbose
...
@@ -414,22 +404,27 @@ sub main () {
...
@@ -414,22 +404,27 @@ sub main () {
# Figure out which tests we are going to run
# Figure out which tests we are going to run
if
(
!
$opt_suites
)
if
(
!
$opt_suites
)
{
{
# use default and add any extra_suites as defined
$opt_suites
=
$opt_suites_default
;
$opt_suites
=
$opt_suites_default
;
my
$ccc
=
dirname
(
$glob_mysql_test_dir
);
my
$found
=
1
;
# BUG#34761 - disable this feature
# Check for any extra suites to enable based on the path name
while
(
!
$found
and
!
(
$ccc
eq
"
/
")
and
!
(
$ccc
eq
""))
my
%
extra_suites
=
{
(
my
$ddd
=
basename
(
$ccc
);
"
mysql-5.1-new-ndb
"
=>
"
ndb_team
",
foreach
my
$extra_suite
(
@extra_suites
)
"
mysql-5.1-new-ndb-merge
"
=>
"
ndb_team
",
{
"
mysql-5.1-telco-6.2
"
=>
"
ndb_team
",
if
(
$extra_suite
->
[
0
]
eq
"
$ddd
")
"
mysql-5.1-telco-6.2-merge
"
=>
"
ndb_team
",
"
mysql-5.1-telco-6.3
"
=>
"
ndb_team
",
"
mysql-6.0-ndb
"
=>
"
ndb_team
",
);
foreach
my
$dir
(
reverse
splitdir
(
$glob_basedir
)
)
{
{
$opt_suites
=
"
$extra_suite
->[1],
$opt_suites
";
my
$extra_suite
=
$extra_suites
{
$dir
};
$found
=
1
;
if
(
defined
$extra_suite
){
}
mtr_report
("
Found extra suite:
$extra_suite
");
$opt_suites
=
"
$extra_suite
,
$opt_suites
";
last
;
}
}
$ccc
=
dirname
(
$ccc
);
}
}
}
}
...
...
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