Commit 02cd4f5a authored by unknown's avatar unknown

BUG#24274 option "--big-test" of mysql-test-run.pl does not work anymore


mysql-test/lib/mtr_cases.pl:
  Don't look at lines that start with # ie. a comment
mysql-test/mysql-test-run.pl:
  Set env BIG_TEST if --big-test passed
parent f3e8cb19
...@@ -593,6 +593,10 @@ sub mtr_options_from_test_file($$) { ...@@ -593,6 +593,10 @@ sub mtr_options_from_test_file($$) {
while ( my $line= <$F> ) while ( my $line= <$F> )
{ {
# Skip line if it start's with #
next if ( $line =~ /^#/ );
# Match this line against tag in "tags" array # Match this line against tag in "tags" array
foreach my $tag (@tags) foreach my $tag (@tags)
{ {
......
...@@ -163,7 +163,7 @@ our $exe_libtool; ...@@ -163,7 +163,7 @@ our $exe_libtool;
our $opt_bench= 0; our $opt_bench= 0;
our $opt_small_bench= 0; our $opt_small_bench= 0;
our $opt_big_test= 0; # Send --big-test to mysqltest our $opt_big_test= 0;
our @opt_extra_mysqld_opt; our @opt_extra_mysqld_opt;
...@@ -912,6 +912,14 @@ sub command_line_setup () { ...@@ -912,6 +912,14 @@ sub command_line_setup () {
$opt_sleep_time_after_restart= $opt_sleep; $opt_sleep_time_after_restart= $opt_sleep;
} }
# --------------------------------------------------------------------------
# Big test flags
# --------------------------------------------------------------------------
if ( $opt_big_test )
{
$ENV{'BIG_TEST'}= 1;
}
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
# Gcov flag # Gcov flag
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
...@@ -4269,11 +4277,6 @@ sub run_mysqltest ($) { ...@@ -4269,11 +4277,6 @@ sub run_mysqltest ($) {
mtr_add_arg($args, "--timer-file=%s/log/timer", $opt_vardir); mtr_add_arg($args, "--timer-file=%s/log/timer", $opt_vardir);
} }
if ( $opt_big_test )
{
mtr_add_arg($args, "--big-test");
}
if ( $opt_compress ) if ( $opt_compress )
{ {
mtr_add_arg($args, "--compress"); mtr_add_arg($args, "--compress");
...@@ -4662,9 +4665,8 @@ Options to control what test suites or cases to run ...@@ -4662,9 +4665,8 @@ Options to control what test suites or cases to run
skip-rpl Skip the replication test cases. skip-rpl Skip the replication test cases.
skip-im Don't start IM, and skip the IM test cases skip-im Don't start IM, and skip the IM test cases
skip-test=PREFIX Skip test cases which name are prefixed with PREFIX skip-test=PREFIX Skip test cases which name are prefixed with PREFIX
big-test Pass "--big-test" to mysqltest which will set the big-test Set the environment variable BIG_TEST, which can be
environment variable BIG_TEST, which can be checked checked from test cases.
from test cases.
Options that specify ports Options that specify ports
......
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