Only run in libtool if running in valgrind.

Apparently libtool isn't properly setup on all our build hosts.
parent 9c7279e3
...@@ -3053,9 +3053,10 @@ sub run_mysqltest ($) { ...@@ -3053,9 +3053,10 @@ sub run_mysqltest ($) {
ddd_arguments(\$args, \$exe, "client"); 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 # Add "libtool --mode-execute" before the test to execute
# if running in valgrind(to avoid valgrinding bash)
unshift(@$args, "--mode=execute", $exe); unshift(@$args, "--mode=execute", $exe);
$exe= "libtool"; $exe= "libtool";
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment