mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Improve 'collect_one_suite' so it looks in storage/*/mysql-test-suites by default
Also make it possible to specify a path to the suite, for example: ./mtr --suite=/some/path/to/suitedir mysql-test/lib/My/Find.pm: Extend 'my_find_paths' to glob path names
This commit is contained in:
@ -168,6 +168,12 @@ sub my_find_paths {
|
||||
@paths= map { "$base/$_" } @paths;
|
||||
#print "paths: @paths\n";
|
||||
|
||||
# -------------------------------------------------------
|
||||
# Glob all paths to expand wildcards
|
||||
# -------------------------------------------------------
|
||||
@paths= map { glob("$_") } @paths;
|
||||
#print "paths: @paths\n";
|
||||
|
||||
# -------------------------------------------------------
|
||||
# Return the list of paths
|
||||
# -------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user