diff options
Diffstat (limited to 'mysql-test')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index a738a87bab3..23aeb004c71 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -3053,9 +3053,10 @@ sub run_mysqltest ($) { ddd_arguments(\$args, \$exe, "client"); } - if ($glob_use_libtool) + if ($glob_use_libtool and $opt_valgrind) { # Add "libtool --mode-execute" before the test to execute + # if running in valgrind(to avoid valgrinding bash) unshift(@$args, "--mode=execute", $exe); $exe= "libtool"; } |