mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
Only print thesort order debug printout if using script-debug
This commit is contained in:
parent
9350dbc4f9
commit
4d56a43cb0
1 changed files with 6 additions and 6 deletions
|
@ -186,13 +186,13 @@ sub collect_test_cases ($) {
|
||||||
|
|
||||||
@$cases = sort { $sort_criteria{$a->{"name"}} cmp $sort_criteria{$b->{"name"}}; } @$cases;
|
@$cases = sort { $sort_criteria{$a->{"name"}} cmp $sort_criteria{$b->{"name"}}; } @$cases;
|
||||||
|
|
||||||
### For debugging the sort-order
|
if ( $::opt_script_debug )
|
||||||
foreach $tinfo (@$cases)
|
|
||||||
{
|
{
|
||||||
print $sort_criteria{$tinfo->{"name"}};
|
# For debugging the sort-order
|
||||||
print " -> \t";
|
foreach $tinfo (@$cases)
|
||||||
print $tinfo->{"name"};
|
{
|
||||||
print "\n";
|
print("$sort_criteria{$tinfo->{'name'}} -> \t$tinfo->{'name'}\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue