1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Only run in libtool if running in valgrind.

Apparently libtool isn't properly setup on all our build hosts.


mysql-test/mysql-test-run.pl:
  Only run in libtool if running in valgrind.
This commit is contained in:
unknown
2006-03-23 22:29:53 +01:00
parent 74a7b9a5f5
commit e1da710d5b

View File

@ -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";
}