Commit 2a56b1b0 authored by Bjorn Munch's avatar Bjorn Munch

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>
parent 8937cbd5
...@@ -229,8 +229,11 @@ sub collect_test_cases ($$$$) { ...@@ -229,8 +229,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment