mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-25393 Fix mysql-test/lib/mtr_cases.pm to search tests in submodules
This commit is contained in:
@ -64,8 +64,8 @@ my $plugin_suitedir_regex;
|
|||||||
my $overlay_regex;
|
my $overlay_regex;
|
||||||
|
|
||||||
if (-d '../sql') {
|
if (-d '../sql') {
|
||||||
@plugin_suitedirs= ('storage/*/mysql-test', 'plugin/*/mysql-test');
|
@plugin_suitedirs= ('storage/*/mysql-test', 'plugin/*/mysql-test', 'storage/*/*/mysql-test', );
|
||||||
$overlay_regex= '\b(?:storage|plugin)/(\w+)/mysql-test\b';
|
$overlay_regex= '\b(?:storage|plugin|storage[/][^/]*)/(\w+)/mysql-test\b';
|
||||||
} else {
|
} else {
|
||||||
@plugin_suitedirs= ('mysql-test/plugin/*');
|
@plugin_suitedirs= ('mysql-test/plugin/*');
|
||||||
$overlay_regex= '\bmysql-test/plugin/(\w+)\b';
|
$overlay_regex= '\bmysql-test/plugin/(\w+)\b';
|
||||||
|
Reference in New Issue
Block a user