Francois Gouget : winetest/dissect: Make the load errors more explicit on the dll versions page.
Alexandre Julliard
julliard at winehq.org
Mon Apr 19 15:35:11 CDT 2021
Module: tools
Branch: master
Commit: 12ff7caa0cef3288708d1a06fe5a468d8b39e8ec
URL: https://source.winehq.org/git/tools.git/?a=commit;h=12ff7caa0cef3288708d1a06fe5a468d8b39e8ec
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Mon Apr 19 16:54:08 2021 +0200
winetest/dissect: Make the load errors more explicit on the dll versions page.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
winetest/dissect | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/winetest/dissect b/winetest/dissect
index 80fd6e2..2d0e9c2 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -879,11 +879,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}))
{
More information about the wine-cvs
mailing list