[Tools 3/3] winetest: Link individual group results straight to the relevant line in the platform table.

Francois Gouget fgouget at free.fr
Mon Mar 10 08:13:38 CDT 2008


---

I believe this has been asked before and it just makes sense...


 winetest/gather |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/winetest/gather b/winetest/gather
index 59a8052..20a2bdc 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -331,7 +331,7 @@ EOF
         } elsif (@{$group->{tests}} == 1) {
             singletest ($group->{tests}->[0], $testname, $group->{name});
         } else {
-            my $href = "href=\"#$group->{name}\"";
+            my $href = "href=\"#$group->{name}:$testname\"";
             if (exists $group->{extrema}->{$testname}) {
                 my ($min,$max) = @{$group->{extrema}->{$testname}};
                 my $todo=$group->{todo}->{$testname};
@@ -411,7 +411,7 @@ EOF
         print OUT <<"EOF";
     <tr>
       <td class="test">
-        <a href="$alltests{$testname}">$testname</a></td>
+        <a href="$alltests{$testname}" name="$group->{name}:$testname">$testname</a></td>
 EOF
         singletest ($_, $testname, $group->{name}) foreach (@{$group->{tests}});
     print OUT <<"EOF";
-- 
1.5.4.1




More information about the wine-patches mailing list