Francois Gouget : testbot: Fix the default Failures sort order.
Alexandre Julliard
julliard at winehq.org
Fri Jun 17 14:44:39 CDT 2022
Module: tools
Branch: master
Commit: 114d42a03cc9ede960aa98a97b07c7d264e98891
URL: https://source.winehq.org/git/tools.git/?a=commit;h=114d42a03cc9ede960aa98a97b07c7d264e98891
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Fri Jun 17 16:52:45 2022 +0200
testbot: Fix the default Failures sort order.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/lib/WineTestBot/Failures.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/lib/WineTestBot/Failures.pm b/testbot/lib/WineTestBot/Failures.pm
index f0f78b6f..90620511 100644
--- a/testbot/lib/WineTestBot/Failures.pm
+++ b/testbot/lib/WineTestBot/Failures.pm
@@ -53,7 +53,7 @@ sub Compare($$)
my $Cmp = ($StatusOrders{$self->GetColValue("BugStatus")} || 0) <=> ($StatusOrders{$B->GetColValue("BugStatus")} || 0) ||
$self->GetColValue("ErrorGroup") cmp $B->GetColValue("ErrorGroup") ||
$self->GetColValue("TestUnit") cmp $B->GetColValue("TestUnit") ||
- $self->GetColValue("BugDescription") <=> $B->GetColValue("BugDescription");
+ $self->GetColValue("BugDescription") cmp $B->GetColValue("BugDescription");
return $Cmp
}
More information about the wine-cvs
mailing list