[tools] winetest/gather: Link 'test list' failures to the test's version page.

Francois Gouget fgouget at codeweavers.com
Thu Jul 1 12:26:08 CDT 2021


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 winetest/gather | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/winetest/gather b/winetest/gather
index e00077792..1e9b2da36 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -693,6 +693,12 @@ sub singletest($$$) {
         {
             $href = "$report->{dir}/$testname.html";
         }
+        elsif (-r "$builddir/$report->{dir}/version.html")
+        {
+            my $dll = $testname;
+            $dll =~ s/:.*//;
+            $href = "$report->{dir}/version.html#$dll";
+        }
         else
         {
             $href="";
-- 
2.20.1




More information about the wine-devel mailing list