mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix mysql-test-run.pl so that mysql_client_test works in a CMake build tree.
mysql-test/mysql-test-run.pl: Also look for the mysql_test_run binary in the places where it is put by CMake builds.
This commit is contained in:
@ -1075,6 +1075,8 @@ sub executable_setup () {
|
||||
}
|
||||
$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",
|
||||
"$path_client_bindir/mysql_client_test",
|
||||
"/usr/bin/false");
|
||||
}
|
||||
@ -1138,6 +1140,8 @@ sub executable_setup () {
|
||||
$exe_mysqltest= mtr_exe_exists("$path_client_bindir/mysqltest");
|
||||
$exe_mysql_client_test=
|
||||
mtr_exe_exists("$path_client_bindir/mysql_client_test",
|
||||
"$glob_basedir/tests/release/mysql_client_test",
|
||||
"$glob_basedir/tests/debug/mysql_client_test",
|
||||
"/usr/bin/false"); # FIXME temporary
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user