Skip to content

Commit

Permalink
MDEV-25393 Fix mysql-test/lib/mtr_cases.pm to search tests in submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
abarkov committed Apr 12, 2021
1 parent 0ba845a commit 9636b7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysql-test/lib/mtr_cases.pm
Expand Up @@ -64,8 +64,8 @@ my $plugin_suitedir_regex;
my $overlay_regex;

if (-d '../sql') {
@plugin_suitedirs= ('storage/*/mysql-test', 'plugin/*/mysql-test');
$overlay_regex= '\b(?:storage|plugin)/(\w+)/mysql-test\b';
@plugin_suitedirs= ('storage/*/mysql-test', 'plugin/*/mysql-test', 'storage/*/*/mysql-test', );
$overlay_regex= '\b(?:storage|plugin|storage[/][^/]*)/(\w+)/mysql-test\b';
} else {
@plugin_suitedirs= ('mysql-test/plugin/*');
$overlay_regex= '\bmysql-test/plugin/(\w+)\b';
Expand Down

0 comments on commit 9636b7c

Please sign in to comment.