1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +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
This commit is contained in:
msvensson@pilot.mysql.com
2008-04-22 12:40:48 +02:00
parent 5a0ae425c6
commit ceb5e439a6
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
# -------------------------------------------------------