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

No need to pass --valgrind to mysqltest anymore, the simple task of

creating an environment variable is handled directly from the perl code.
This commit is contained in:
msvensson@neptunus.(none)
2006-10-05 20:45:16 +02:00
parent c03c618dd8
commit 42e60f5e90

View File

@ -1749,6 +1749,11 @@ sub environment_setup () {
print "Using IM_MYSQLD2_PORT = $ENV{IM_MYSQLD2_PORT}\n"; print "Using IM_MYSQLD2_PORT = $ENV{IM_MYSQLD2_PORT}\n";
} }
} }
# Create an environment variable to make it possible
# to detect that valgrind is being used from test cases
$ENV{'VALGRIND_TEST'}= $opt_valgrind;
} }
@ -4009,11 +4014,6 @@ sub run_mysqltest ($) {
mtr_add_arg($args, "--big-test"); mtr_add_arg($args, "--big-test");
} }
if ( $opt_valgrind )
{
mtr_add_arg($args, "--valgrind");
}
if ( $opt_compress ) if ( $opt_compress )
{ {
mtr_add_arg($args, "--compress"); mtr_add_arg($args, "--compress");