[tools] winetest/dissect: Make the load errors more explicit on the dll versions page.

Francois Gouget fgouget at codeweavers.com
Mon Apr 19 09:54:08 CDT 2021


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 winetest/dissect | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/winetest/dissect b/winetest/dissect
index 45af4c3dc..2bc078a25 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -896,11 +896,16 @@ foreach my $dll (sort keys %dllinfo)
         # There should be no native dll in the Wine tests
         $box->{data} .= sprintf "<td>%s</td><td class=\"failed\">native</td></tr>\n", escapeHTML($dll);
     }
-    elsif ($dllinfo{$dll}->{version} =~ /^load error/)
+    elsif ($dllinfo{$dll}->{version} eq "load error 258")
+    {
+        $box->{data} .= sprintf "<td>%s</td><td class=\"failed\">timed out getting the test list</td></tr>\n",
+                                   escapeHTML($dll);
+    }
+    elsif ($dllinfo{$dll}->{version} =~ /^load error (\d+)$/)
     {
         # Flag unknown errors
-        $box->{data} .= sprintf "<td>%s</td><td class=\"failed\">%s</td></tr>\n",
-                                   escapeHTML($dll), escapeHTML($dllinfo{$dll}->{version});
+        $box->{data} .= sprintf "<td>%s</td><td class=\"failed\">got error %s while getting the test list</td></tr>\n",
+                                   escapeHTML($dll), escapeHTML($1);
     }
     elsif (defined($dllinfo{$dll}->{first}))
     {
-- 
2.20.1



More information about the wine-devel mailing list