Module: tools Branch: master Commit: af075ef37059020ee9595971fcb55dcfef60851e URL: http://source.winehq.org/git/tools.git/?a=commit;h=af075ef37059020ee9595971f...
Author: André Hentschel nerv@dawncrow.de Date: Thu Dec 4 00:16:35 2014 +0100
winetest: Improve output when dll is a stub.
---
winetest/dissect | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/winetest/dissect b/winetest/dissect index 61e85ca..cd24fc3 100755 --- a/winetest/dissect +++ b/winetest/dissect @@ -252,7 +252,7 @@ while ($_ = <IN>) { last if (!/^\s+([^ =]+)=(.*)\r?$/); my $module = $1; $dllinfo{$module} = { version => $2 }; - if ($2 eq "dll is missing" || $2 =~ /^load error/) + if ($2 eq "dll is missing" || $2 =~ /^load error/ || $2 eq "dll is a stub") { print SUM "- $module - missing - - - - -\n"; } @@ -365,6 +365,10 @@ foreach my $dll (sort keys %dllinfo) { $box->{data} .= sprintf "<tr><td>%s</td><td class="skipped">missing dependencies</td></tr>\n", escapeHTML($dll); } + elsif ($dllinfo{$dll}->{version} eq "dll is a stub") + { + $box->{data} .= sprintf "<tr><td>%s</td><td class="skipped">dll is a stub</td></tr>\n", escapeHTML($dll); + } elsif ($dllinfo{$dll}->{version} =~ /^load error/) { $box->{data} .= sprintf "<tr><td>%s</td><td class="failed">%s</td></tr>\n",