mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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,
|
$suitedir= my_find_dir($::basedir,
|
||||||
["mysql-test/suite",
|
["mysql-test/suite",
|
||||||
"mysql-test",
|
"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
|
# Look in storage engine specific suite dirs
|
||||||
"storage/*/mysql-test-suites"
|
"storage/*/mysql-test-suites"
|
||||||
],
|
],
|
||||||
|
@ -1001,6 +1001,12 @@ sub command_line_setup {
|
|||||||
{
|
{
|
||||||
$basedir= dirname($basedir);
|
$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
|
# Look for the client binaries directory
|
||||||
if ($path_client_bindir)
|
if ($path_client_bindir)
|
||||||
|
Reference in New Issue
Block a user