mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
backporting 11766169, fixing 13034450
This commit is contained in:
@@ -222,8 +222,11 @@ sub collect_test_cases ($$$) {
|
|||||||
sub split_testname {
|
sub split_testname {
|
||||||
my ($test_name)= @_;
|
my ($test_name)= @_;
|
||||||
|
|
||||||
# Get rid of directory part and split name on .'s
|
# If .test file name is used, get rid of directory part
|
||||||
my @parts= split(/\./, basename($test_name));
|
$test_name= basename($test_name) if $test_name =~ /\.test$/;
|
||||||
|
|
||||||
|
# Now split name on .'s
|
||||||
|
my @parts= split(/\./, $test_name);
|
||||||
|
|
||||||
if (@parts == 1){
|
if (@parts == 1){
|
||||||
# Only testname given, ex: alias
|
# Only testname given, ex: alias
|
||||||
|
Reference in New Issue
Block a user