summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <msvensson@shellback.(none)>2006-03-23 22:29:53 +0100
committerunknown <msvensson@shellback.(none)>2006-03-23 22:29:53 +0100
commite1da710d5b00172a42e56948ccda253e148fb0b9 (patch)
tree32708cd2a2516d6853df73c97a191c55166219d5 /mysql-test
parent74a7b9a5f59fff6d9cb54cd681e2118140e315f9 (diff)
downloadmariadb-git-e1da710d5b00172a42e56948ccda253e148fb0b9.tar.gz
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.
Diffstat (limited to 'mysql-test')
-rwxr-xr-xmysql-test/mysql-test-run.pl3
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";
}