Francois Gouget : winetest: Rename a $_ variable to $group for clarity.
Alexandre Julliard
julliard at winehq.org
Sat Mar 15 05:58:15 CDT 2008
Module: tools
Branch: master
Commit: cb36c591545f2927e60090a30621177eb7564c00
URL: http://source.winehq.org/git/tools.git/?a=commit;h=cb36c591545f2927e60090a30621177eb7564c00
Author: Francois Gouget <fgouget at free.fr>
Date: Fri Mar 14 19:56:31 2008 +0100
winetest: Rename a $_ variable to $group for clarity.
---
winetest/gather | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/winetest/gather b/winetest/gather
index 301485f..c37e4c1 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -203,24 +203,24 @@ foreach my $group (@groups) {
# Write out the tables
my ($header); # same in thead and tfoot
-foreach (@groups) {
- if (exists $_->{reports}) {
- my $report_count = @{$_->{reports}};
+foreach my $group (@groups) {
+ if (exists $group->{reports}) {
+ my $report_count = @{$group->{reports}};
if ($report_count > 1) {
- $header .= " <th><a href=\"#$_->{name}\">$_->{name}<br><small>$report_count reports</small></a></th>\n";
+ $header .= " <th><a href=\"#$group->{name}\">$group->{name}<br><small>$report_count reports</small></a></th>\n";
} else {
- my $report = $_->{reports}->[0];
+ my $report = $group->{reports}->[0];
# If dllinfo.txt exist we use a different layout (new style report)
if (-r "$datadir/$build/$report->{dir}/dllinfo.txt") {
$header .= <<"EOF";
- <th>$_->{name}<br><small>
+ <th>$group->{name}<br><small>
<a href=\"$report->{dir}/version.txt\">$report->{tag}</a><br>
<a href=\"$report->{dir}/dllinfo.txt\">[info]</a>
<a href=\"$report->{dir}/report\">[file]</a></small></th>
EOF
} else {
$header .= <<"EOF";
- <th>$_->{name}<br><small>
+ <th>$group->{name}<br><small>
<a href=\"$report->{dir}/build.txt\">$report->{tag}</a><br>
<a href=\"$report->{dir}/version.txt\">[info]</a>
<a href=\"$report->{dir}/report\">[file]</a></small></th>
More information about the wine-cvs
mailing list