Commit b7858195 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 45c5eca0
......@@ -246,8 +246,10 @@ sub collect_test_cases ($) {
push(@criteria, "ndb=" . ($tinfo->{'ndb_test'} ? "1" : "0"));
# Group test with equal options together.
# Ending with "~" makes empty sort later than filled
if ( $tinfo->{'master_opt'}[0] )
{
push(@criteria, join("!", sort @{$tinfo->{'master_opt'}}) . "~");
}
$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