Module: tools
Branch: master
Commit: 4686519e3fa83b3eaa7c62b06316b73b481d4408
URL: https://source.winehq.org/git/tools.git/?a=commit;h=4686519e3fa83b3eaa7c62b…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Fri Apr 9 11:40:46 2021 +0200
winetest/gather: Use the report platform as the column header.
A group index page may contain reports from different but related
platforms, for instance Windows 8 and 8.1, or Windows 10 1507 and
1607. This allows immediately identifying a report's exact Windows
version.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
winetest/gather | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/winetest/gather b/winetest/gather
index 302def4..51d4838 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -295,9 +295,12 @@ foreach my $file (glob "$builddir/*/summary.txt") {
next;
}
- my $report = { group => $group};
- $report->{tag} = @tag?"@tag":"";
- $report->{dir} = $dir;
+ my $report = {
+ id => $id,
+ group => $group,
+ tag => @tag ? "@tag" : "",
+ dir => $dir,
+ };
if (!open TEST, "<$file") {
error("could not open '$file' for reading: $!\n");
next;
@@ -523,7 +526,7 @@ sub build_header_footer($)
if (!defined $msg) {
$msg = <<"EOF";
- $group->{name}<br><small>
+ $report->{id}<br><small>
<a href=\"$report->{dir}/version.html\">$report->{tag}</a></small>
EOF
chop $msg;