mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
Bug #59216 mysql test suite can not run indiviual tests in engines/funcs suite
Test name spec would be cut at last / Only do this when .test file name given, not suite.<test>
This commit is contained in:
parent
3494a915fa
commit
3261c83722
1 changed files with 5 additions and 2 deletions
|
@ -229,8 +229,11 @@ sub collect_test_cases ($$$$) {
|
|||
sub split_testname {
|
||||
my ($test_name)= @_;
|
||||
|
||||
# Get rid of directory part and split name on .'s
|
||||
my @parts= split(/\./, basename($test_name));
|
||||
# If .test file name is used, get rid of directory part
|
||||
$test_name= basename($test_name) if $test_name =~ /\.test$/;
|
||||
|
||||
# Now split name on .'s
|
||||
my @parts= split(/\./, $test_name);
|
||||
|
||||
if (@parts == 1){
|
||||
# Only testname given, ex: alias
|
||||
|
|
Loading…
Reference in a new issue