Commit 4d56a43c authored by unknown's avatar unknown

Only print thesort order debug printout if using script-debug

parent 9350dbc4
...@@ -186,13 +186,13 @@ sub collect_test_cases ($) { ...@@ -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 )
{
# For debugging the sort-order
foreach $tinfo (@$cases) foreach $tinfo (@$cases)
{ {
print $sort_criteria{$tinfo->{"name"}}; print("$sort_criteria{$tinfo->{'name'}} -> \t$tinfo->{'name'}\n");
print " -> \t"; }
print $tinfo->{"name"};
print "\n";
} }
} }
......
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