[LNT] r212741 - Fix server bug in client result reporting

Chris Matthews cmatthews5 at apple.com
Thu Jul 10 09:59:59 PDT 2014


Author: cmatthews
Date: Thu Jul 10 11:59:59 2014
New Revision: 212741

URL: http://llvm.org/viewvc/llvm-project?rev=212741&view=rev
Log:
Fix server bug in client result reporting

LNT client was reporting everything as UNCHANGED_PASS, because a
comparison_window of 0, each result was only compared with itself.

This should make both email reports and command line summary work.

Modified:
    lnt/trunk/lnt/util/NTEmailReport.py

Modified: lnt/trunk/lnt/util/NTEmailReport.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/util/NTEmailReport.py?rev=212741&r1=212740&r2=212741&view=diff
==============================================================================
--- lnt/trunk/lnt/util/NTEmailReport.py (original)
+++ lnt/trunk/lnt/util/NTEmailReport.py Thu Jul 10 11:59:59 2014
@@ -50,5 +50,5 @@ def getReport(result, db, run, baseurl,
 
     reports = lnt.server.reporting.runs.generate_run_report(
         run, baseurl=baseurl, only_html_body=only_html_body,
-        result=result, compare_to=compare_to)
+        result=result, compare_to=compare_to, num_comparison_runs=10)
     return reports[:3]





More information about the llvm-commits mailing list