[LNT] r212295 - Remove the now unused comparison_window parameter from send email comparison

Chris Matthews cmatthews5 at apple.com
Thu Jul 3 14:55:16 PDT 2014


Author: cmatthews
Date: Thu Jul  3 16:55:15 2014
New Revision: 212295

URL: http://llvm.org/viewvc/llvm-project?rev=212295&view=rev
Log:
Remove the now unused comparison_window parameter from send email comparison

Modified:
    lnt/trunk/lnt/lnttool/main.py

Modified: lnt/trunk/lnt/lnttool/main.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/lnttool/main.py?rev=212295&r1=212294&r2=212295&view=diff
==============================================================================
--- lnt/trunk/lnt/lnttool/main.py (original)
+++ lnt/trunk/lnt/lnttool/main.py Thu Jul  3 16:55:15 2014
@@ -109,7 +109,7 @@ def action_checkformat(name, args):
 
     if input == '-':
         input = StringIO.StringIO(sys.stdin.read())
-    
+
     import lnt.server.db.v4db
     import lnt.server.config
     db = lnt.server.db.v4db.V4DB('sqlite:///:memory:',
@@ -384,14 +384,10 @@ def action_send_run_comparison(name, arg
     if run_b is None:
         parser.error("invalid run ID %r (not in database)" % (run_b_id,))
 
-    # Gather the runs to use for statistical data.
-    comparison_window = list(ts.get_previous_runs_on_machine(
-                run_a, N=10))
-
     # Generate the report.
     reports = lnt.server.reporting.runs.generate_run_report(
         run_b, baseurl=config.zorgURL, only_html_body=False, result=None,
-        compare_to=run_a, baseline=None, comparison_window=comparison_window,
+        compare_to=run_a, baseline=None,
         aggregation_fn=min)
     subject, text_report, html_report, _ = reports
 





More information about the llvm-commits mailing list