[PATCH] testbot: The Job priority is really a niceness field.

Francois Gouget fgouget at codeweavers.com
Mon Dec 10 09:48:20 CST 2018


Change the display name so it is shown as a niceness to make it clearer
that higher values indicate a lower priority.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/web/index.pl | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/testbot/web/index.pl b/testbot/web/index.pl
index e06f5154d7..4f1c191190 100644
--- a/testbot/web/index.pl
+++ b/testbot/web/index.pl
@@ -73,7 +73,11 @@ sub GenerateHeaderCell($$$)
   my ($self, $PropertyDescriptor) = @_;
 
   my $PropertyName = $PropertyDescriptor->GetName();
-  if ($PropertyName eq "Ended")
+  if ($PropertyName eq "Priority")
+  {
+    print "<th><a class='title' title='Higher values indicate a lower priority'>Nice</a></th>\n";
+  }
+  elsif ($PropertyName eq "Ended")
   {
     print "<th><a class='title' title='Ended'>Time</a></th>\n";
   }
-- 
2.19.2




More information about the wine-devel mailing list