diff options
author | sayantan dutta <sayantan.dutta@oracle.com> | 2013-05-16 14:18:04 +0530 |
---|---|---|
committer | sayantan dutta <sayantan.dutta@oracle.com> | 2013-05-16 14:18:04 +0530 |
commit | 0bec3c414262f8de0518df19dfd762435c859ea4 (patch) | |
tree | e60917c5faf72785ac1f2226a2fdf3d71baecd77 /mysql-test/mysql-test-run.pl | |
parent | 9486aaeffa54583fa1b76bb63ffbd310bf06fa31 (diff) | |
download | mariadb-git-0bec3c414262f8de0518df19dfd762435c859ea4.tar.gz |
Bug #16813007 - MTR IS NOT TAKING MYSQLTEST CLIENT USING THE ENV VARIABLE MYSQL_TEST
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index bcc43a97cdf..c8675b03e25 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -1785,7 +1785,17 @@ sub executable_setup () { } else { - $exe_mysqltest= mtr_exe_exists("$path_client_bindir/mysqltest"); + if ( defined $ENV{'MYSQL_TEST'} ) + { + $exe_mysqltest=$ENV{'MYSQL_TEST'}; + print "===========================================================\n"; + print "WARNING:The mysqltest binary is fetched from $exe_mysqltest\n"; + print "===========================================================\n"; + } + else + { + $exe_mysqltest= mtr_exe_exists("$path_client_bindir/mysqltest"); + } } } |