This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository fateserver.
commit 60185a8653b5beecd4946fca82d3494c9be793ea Author: Kacper Michajłow <[email protected]> AuthorDate: Wed Aug 12 00:15:19 2026 +0200 Commit: Kacper Michajłow <[email protected]> CommitDate: Wed Aug 12 00:51:33 2026 +0200 index: sort the Tests column by result, not by test count Sorting by the number of passed tests ranked a fully passing small configuration below a failing large one, and left broken builds tied with healthy build-only slots. Sort by outcome instead: broken builds first, then failed tests ordered by how many fail, then build-only, then full passes. Signed-off-by: Kacper Michajłow <[email protected]> --- index.cgi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/index.cgi b/index.cgi index 75302c3..d33fb1c 100755 --- a/index.cgi +++ b/index.cgi @@ -74,6 +74,15 @@ for my $slot (@slots) { } next if $not_matched; + # Sort key for the Tests column: broken builds, then runs where the tests + # passed until building further tests failed, then failed tests by how + # many fail, then build-only, then full passes. + $$rep{result} = + !$$rep{status} ? ($$rep{ntests} ? 4e8 : 3e8) : + !$$rep{npass} ? 0 : + $$rep{npass} < $$rep{ntests} ? 2e8 - $$rep{nfail} : + 1e8; + push @reps, $rep; if ($$rep{npass} == $$rep{ntests}) { # All tests passed, or none were meant to run; a non-zero status @@ -261,7 +270,7 @@ start 'th'; lsort 'OS', 'os'; end 'th'; start 'th'; lsort 'Compiler', 'cc'; end 'th'; start 'th'; lsort 'Comment', 'comment'; end 'th'; start 'th'; lsort 'Warnings', 'nwarn'; end 'th'; -start 'th'; lsort 'Tests', 'npass'; end 'th'; +start 'th'; lsort 'Tests', 'result'; end 'th'; end 'tr'; end 'thead'; start 'tbody'; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
