mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2 mysql-test/lib/mtr_cases.pm: Auto merged
This commit is contained in:
@ -52,6 +52,7 @@ sub collect_option {
|
||||
}
|
||||
|
||||
use File::Basename;
|
||||
use File::Spec::Functions qw / splitdir /;
|
||||
use IO::File();
|
||||
use My::Config;
|
||||
use My::Platform;
|
||||
@ -214,8 +215,12 @@ sub collect_one_suite($)
|
||||
my $suitedir= "$::glob_mysql_test_dir"; # Default
|
||||
if ( $suite ne "main" )
|
||||
{
|
||||
if ( -d $suite ){
|
||||
# Allow suite to be path to "some dir" if $suite has at least
|
||||
# one directory part
|
||||
if ( -d $suite and splitdir($suite) > 1 ){
|
||||
$suitedir= $suite;
|
||||
mtr_report(" - from '$suitedir'");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user