mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix running test suite from installed package.
Some files are in different locations in this case.
This commit is contained in:
@ -249,6 +249,10 @@ sub collect_one_suite($)
|
||||
$suitedir= my_find_dir($::basedir,
|
||||
["mysql-test/suite",
|
||||
"mysql-test",
|
||||
"share/mysql-test/suite",
|
||||
"share/mysql-test",
|
||||
"share/mysql/mysql-test/suite",
|
||||
"share/mysql/mysql-test",
|
||||
# Look in storage engine specific suite dirs
|
||||
"storage/*/mysql-test-suites"
|
||||
],
|
||||
|
@ -1001,6 +1001,12 @@ sub command_line_setup {
|
||||
{
|
||||
$basedir= dirname($basedir);
|
||||
}
|
||||
# For .deb, it's like RPM, but installed in /usr/share/mysql/mysql-test.
|
||||
# So move up one more directory level yet.
|
||||
if ( ! $source_dist and ! -d "$basedir/bin" )
|
||||
{
|
||||
$basedir= dirname($basedir);
|
||||
}
|
||||
|
||||
# Look for the client binaries directory
|
||||
if ($path_client_bindir)
|
||||
|
Reference in New Issue
Block a user