Module: tools
Branch: master
Commit: 9a0bacf0ed79ceef87b92d7b12e337566fb3c90c
URL: http://source.winehq.org/git/tools.git/?a=commit;h=9a0bacf0ed79ceef87b92d7b…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Mon Mar 20 23:59:55 2017 +0100
winetest: Add 32 and 64 bit executable links to the index pages.
The build id normally links to website pages so having it link to the
test executable is a bit surprising. Plus it cannot link to both the 32
and 64 bit binaries.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
winetest/gather | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/winetest/gather b/winetest/gather
index 10ed2da..ec6573e 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -695,7 +695,7 @@ EOF
print OUT " | <a href=\"..\">index</a>";
print OUT "<script type=\"text/javascript\" src=\"/summary.js\"></script>\n</div>\n";
print OUT "<div class=\"main\">\n";
- print OUT "<h1>Main summary for build <a href=\"/builds/winetest-$short_build.exe\" title=\"$build\">$short_build</a></h1>\n";
+ print OUT "<h1>Main summary for build $short_build</h1>\n";
print OUT "<table class=\"report\">\n$header_footer\n <tbody onDblClick=\"clone();\">\n";
}
@@ -725,7 +725,19 @@ EOF
}
printf OUT " %s\n </tr>\n", test_links($testname, $group);
}
- print OUT " </tbody>\n</table>\n</div>\n$legend\n</body>\n</html>";
+ print OUT <<"EOF";
+ </tbody>
+</table>
+</div>
+$legend
+<div class="navbar">
+To run the tests on your Windows machine, download the <a href="/builds/winetest-$short_build.exe">32-bit winetest</a>.
+If you have a 64-bit Windows OS, you can also run the <a href="/builds/winetest64-$short_build.exe">64-bit winetest</a>.
+</div>
+</body>
+</html>
+EOF
+
close OUT;
rename "$idx_file.new", $idx_file or unlink "$idx_file.new";
}
Module: tools
Branch: master
Commit: aed32f045354e6bc8d88142e13c67430d86e9431
URL: http://source.winehq.org/git/tools.git/?a=commit;h=aed32f045354e6bc8d88142e…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Mon Mar 20 23:57:08 2017 +0100
testbot: Detect the 'invalid unit test' error messages.
Take them into account so we don't complain the test returns non-zero
when it has no test failure.
Also show these errors in the web report summary.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/bin/WineRunTask.pl | 9 +++++++++
testbot/web/JobDetails.pl | 1 +
2 files changed, 10 insertions(+)
diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl
index fcde9f8..faf8314 100755
--- a/testbot/bin/WineRunTask.pl
+++ b/testbot/bin/WineRunTask.pl
@@ -484,6 +484,15 @@ if ($TA->GetFile($RptFileName, $FullLogFileName))
# If the failure is not for the current test unit we'll let its
# developer hash it out with the polluter ;-)
$CurrentIsPolluted = 1 if ($1 ne $CurrentUnit);
+
+ $LineFailures++;
+ }
+ elsif ($Line =~ /^Fatal: test '([_a-z0-9]+)' does not exist/)
+ {
+ # This also replaces a test summary line.
+ $CurrentPids{0} = 1;
+ $SummaryFailures++;
+
$LineFailures++;
}
elsif ($Line =~ /^(?:([0-9a-f]+):)?([_.a-z0-9]+): unhandled exception [0-9a-fA-F]{8} at / or
diff --git a/testbot/web/JobDetails.pl b/testbot/web/JobDetails.pl
index c57094b..4a5596c 100644
--- a/testbot/web/JobDetails.pl
+++ b/testbot/web/JobDetails.pl
@@ -350,6 +350,7 @@ sub GenerateBody($)
$CurrentDll = $1;
}
if ($FullLog || $Line =~ m/: Test failed: / ||
+ $Line =~ m/Fatal: test '[^']+' does not exist/ ||
$Line =~ m/ done \(258\)/ ||
$Line =~ m/: unhandled exception [0-9a-fA-F]{8} at /)
{