[Tools 2/6] winetest: Link individual group results straight to the relevant line in the platform table.
Francois Gouget
fgouget at free.fr
Mon Mar 17 06:17:43 CDT 2008
---
This has been asked for some time ago and is quite practical.
winetest/gather | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/winetest/gather b/winetest/gather
index 8ec43bd..5c9d393 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -372,7 +372,7 @@ EOF
} elsif (@{$group->{reports}} == 1) {
singletest($group->{reports}->[0], $testname, $group->{name});
} else {
- my $href = "href=\"#group_$group->{name}\"";
+ my $href = "href=\"#group_$group->{name}:$testname\"";
if (exists $group->{extrema}->{$testname}) {
my ($min,$max) = @{$group->{extrema}->{$testname}};
my $todos = (exists $group->{todo}->{$testname})?"todo_":"";
@@ -450,7 +450,7 @@ EOF
print OUT <<"EOF";
<tr>
<td class="test">
- <a href="$alltests{$testname}">$testname</a></td>
+ <a href="$alltests{$testname}" name="group_$group->{name}:$testname">$testname</a></td>
EOF
foreach my $report (@{$group->{reports}}) {
singletest($report, $testname, $group->{name});
--
1.5.4.3
More information about the wine-patches
mailing list