Commit 8d253fe2 authored by Bjorn Munch's avatar Bjorn Munch

Bug #53424 Certain combination of flags give internal error

Reorder code breaks when finding tests skipped due to --skip-rpl etc.
Add simple test that master_opt is non-empty
parent b18902fd
...@@ -246,8 +246,10 @@ sub collect_test_cases ($) { ...@@ -246,8 +246,10 @@ sub collect_test_cases ($) {
push(@criteria, "ndb=" . ($tinfo->{'ndb_test'} ? "1" : "0")); push(@criteria, "ndb=" . ($tinfo->{'ndb_test'} ? "1" : "0"));
# Group test with equal options together. # Group test with equal options together.
# Ending with "~" makes empty sort later than filled # Ending with "~" makes empty sort later than filled
push(@criteria, join("!", sort @{$tinfo->{'master_opt'}}) . "~"); if ( $tinfo->{'master_opt'}[0] )
{
push(@criteria, join("!", sort @{$tinfo->{'master_opt'}}) . "~");
}
$sort_criteria{$test_name} = join(" ", @criteria); $sort_criteria{$test_name} = join(" ", @criteria);
} }
} }
......
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