[Toaster] [review-request] 5921 "Task outcomes are sorted by database value, instead of alphabetically"

Barros Pena, Belen belen.barros.pena at intel.com
Fri Apr 11 08:14:27 PDT 2014


On 11/04/2014 05:56, "Reyna, David" <david.reyna at windriver.com> wrote:

>Hi Belén and Alex,
> 
>I have completed 5921, using the technique of a python class Œproperty¹
>as a Œfield¹ together with an explicit python sort (instead of Œsortby¹),
>as described in this web site. This general method can be used for any
>transient or synthesized value of a
> class instance.
> 
>    
>http://blog.mattwoodward.com/2013/02/generating-and-sorting-on-transient.h
>tml 
><http://blog.mattwoodward.com/2013/02/generating-and-sorting-on-transient.
>html>
> 
>The branch is here: dreyna/outcome_sort_5921

This seems to be working for the Outcome column. Does it also solve the
problem for the "Cache attempt" one?

Cheers

Belén

> 
>This patch handles both forward and reverse sorts, plus it handles the
>Œ-1¹ base for the outcome text table and the convention of using a blank
>string for sstate_cache values of SSTATE_NA. The regular column sorts
>pass the regression test. I also ran the
> HTML Validator.
> 
>- David
> 
> 



More information about the toaster mailing list