[LNT] r239030 - daily_report: Flip colours of regression and improvement if the field type is bigger_is_better.

James Molloy james.molloy at arm.com
Thu Jun 4 02:30:35 PDT 2015


Author: jamesm
Date: Thu Jun  4 04:30:35 2015
New Revision: 239030

URL: http://llvm.org/viewvc/llvm-project?rev=239030&view=rev
Log:
daily_report: Flip colours of regression and improvement if the field type is bigger_is_better.

This is a simple find-and-replace that I missed originally.

Modified:
    lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html

Modified: lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html?rev=239030&r1=239029&r2=239030&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html (original)
+++ lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html Thu Jun  4 04:30:35 2015
@@ -100,7 +100,7 @@
 
 {% if (value_status == analysis.REGRESSED or
        value_status == analysis.IMPROVED) %}
-    {{ cr.pct_delta|aspctcell|safe }}
+    {{ cr.pct_delta|aspctcell(reverse=cr.bigger_is_better)|safe }}
 {% else %}
     <td style="{{ styles.td }}">-</td>
 {% endif %}





More information about the llvm-commits mailing list