1
0
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:
unknown
2008-04-22 12:40:48 +02:00
parent fd47c80e6d
commit 3674c72d20
2 changed files with 20 additions and 4 deletions

View File

@ -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
# -------------------------------------------------------