mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 09:04:29 +02:00
Skip looking for mysql_client_test in 4.1 on windows as it's not built by default
This commit is contained in:
parent
00e327ed88
commit
0d9e6366a8
1 changed files with 17 additions and 8 deletions
|
|
@ -1417,18 +1417,27 @@ sub executable_setup () {
|
|||
|
||||
}
|
||||
|
||||
# Look for mysql_client_test executable
|
||||
if ( $glob_use_embedded_server )
|
||||
if ( $glob_win32 and $mysql_version_id < 50000 )
|
||||
{
|
||||
$exe_mysql_client_test=
|
||||
mtr_exe_exists("$glob_basedir/libmysqld/examples/mysql_client_test_embedded");
|
||||
# Skip looking for exe_mysql_client_test as its not built by default
|
||||
# in 4.1 for windows.
|
||||
exe_mysql_client_test= "unavailable";
|
||||
}
|
||||
else
|
||||
{
|
||||
$exe_mysql_client_test=
|
||||
mtr_exe_exists("$glob_basedir/tests/mysql_client_test",
|
||||
"$glob_basedir/tests/release/mysql_client_test",
|
||||
"$glob_basedir/tests/debug/mysql_client_test");
|
||||
# Look for mysql_client_test executable
|
||||
if ( $glob_use_embedded_server )
|
||||
{
|
||||
$exe_mysql_client_test=
|
||||
mtr_exe_exists("$glob_basedir/libmysqld/examples/mysql_client_test_embedded");
|
||||
}
|
||||
else
|
||||
{
|
||||
$exe_mysql_client_test=
|
||||
mtr_exe_exists("$glob_basedir/tests/mysql_client_test",
|
||||
"$glob_basedir/tests/release/mysql_client_test",
|
||||
"$glob_basedir/tests/debug/mysql_client_test");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue