Module: tools Branch: master Commit: 9a0bacf0ed79ceef87b92d7b12e337566fb3c90c URL: http://source.winehq.org/git/tools.git/?a=commit;h=9a0bacf0ed79ceef87b92d7b1...
Author: Francois Gouget fgouget@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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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"; }