Loading mysql-test/lib/mtr_cases.pl +12 −0 Original line number Diff line number Diff line Loading @@ -390,6 +390,7 @@ sub collect_one_test_case($$$$$$$) { { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "No tests with sh scripts on Windows"; return; } else { Loading @@ -404,6 +405,7 @@ sub collect_one_test_case($$$$$$$) { { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "No tests with sh scripts on Windows"; return; } else { Loading Loading @@ -448,6 +450,7 @@ sub collect_one_test_case($$$$$$$) { { $tinfo->{'skip'}= 1; $tinfo->{'disable'}= 1; # Sub type of 'skip' return; } } Loading @@ -457,16 +460,19 @@ sub collect_one_test_case($$$$$$$) { { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "No IM with embedded server"; return; } elsif ( $::opt_ps_protocol ) { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "No IM with --ps-protocol"; return; } elsif ( $::opt_skip_im ) { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "No IM tests(--skip-im)"; return; } } else Loading @@ -477,18 +483,21 @@ sub collect_one_test_case($$$$$$$) { { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "Test need 'big-test' option"; return; } if ( $tinfo->{'ndb_extra'} and ! $::opt_ndb_extra_test ) { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "Test need 'ndb_extra' option"; return; } if ( $tinfo->{'require_manager'} ) { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "Test need the _old_ manager(to be removed)"; return; } if ( defined $tinfo->{'binlog_format'} and Loading @@ -496,12 +505,14 @@ sub collect_one_test_case($$$$$$$) { { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "Not running with binlog format '$tinfo->{'binlog_format'}'"; return; } if ( $tinfo->{'need_debug'} && ! $::debug_compiled_binaries ) { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "Test need debug binaries"; return; } } Loading @@ -512,6 +523,7 @@ sub collect_one_test_case($$$$$$$) { { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "Can't restart a running server"; return; } } Loading Loading
mysql-test/lib/mtr_cases.pl +12 −0 Original line number Diff line number Diff line Loading @@ -390,6 +390,7 @@ sub collect_one_test_case($$$$$$$) { { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "No tests with sh scripts on Windows"; return; } else { Loading @@ -404,6 +405,7 @@ sub collect_one_test_case($$$$$$$) { { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "No tests with sh scripts on Windows"; return; } else { Loading Loading @@ -448,6 +450,7 @@ sub collect_one_test_case($$$$$$$) { { $tinfo->{'skip'}= 1; $tinfo->{'disable'}= 1; # Sub type of 'skip' return; } } Loading @@ -457,16 +460,19 @@ sub collect_one_test_case($$$$$$$) { { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "No IM with embedded server"; return; } elsif ( $::opt_ps_protocol ) { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "No IM with --ps-protocol"; return; } elsif ( $::opt_skip_im ) { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "No IM tests(--skip-im)"; return; } } else Loading @@ -477,18 +483,21 @@ sub collect_one_test_case($$$$$$$) { { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "Test need 'big-test' option"; return; } if ( $tinfo->{'ndb_extra'} and ! $::opt_ndb_extra_test ) { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "Test need 'ndb_extra' option"; return; } if ( $tinfo->{'require_manager'} ) { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "Test need the _old_ manager(to be removed)"; return; } if ( defined $tinfo->{'binlog_format'} and Loading @@ -496,12 +505,14 @@ sub collect_one_test_case($$$$$$$) { { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "Not running with binlog format '$tinfo->{'binlog_format'}'"; return; } if ( $tinfo->{'need_debug'} && ! $::debug_compiled_binaries ) { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "Test need debug binaries"; return; } } Loading @@ -512,6 +523,7 @@ sub collect_one_test_case($$$$$$$) { { $tinfo->{'skip'}= 1; $tinfo->{'comment'}= "Can't restart a running server"; return; } } Loading