From e1da710d5b00172a42e56948ccda253e148fb0b9 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 23 Mar 2006 22:29:53 +0100 Subject: 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. --- mysql-test/mysql-test-run.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"; } -- cgit v1.2.1