[llvm-commits] [zorg] r106239 - /zorg/trunk/lnt/lnt/db/runinfo.py
Daniel Dunbar
daniel at zuster.org
Thu Jun 17 14:41:45 PDT 2010
Author: ddunbar
Date: Thu Jun 17 16:41:44 2010
New Revision: 106239
URL: http://llvm.org/viewvc/llvm-project?rev=106239&view=rev
Log:
LNT/simple: Fix a couple refactos.
Modified:
zorg/trunk/lnt/lnt/db/runinfo.py
Modified: zorg/trunk/lnt/lnt/db/runinfo.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/db/runinfo.py?rev=106239&r1=106238&r2=106239&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/db/runinfo.py (original)
+++ zorg/trunk/lnt/lnt/db/runinfo.py Thu Jun 17 16:41:44 2010
@@ -128,7 +128,7 @@
# Determine whether this (test,pset) passed or failed in the current and
# previous runs.
run_failed = prev_failed = False
- if not status_test:
+ if not status_test_id:
run_failed = not run_values
prev_failed = not prev_values
else:
@@ -172,7 +172,7 @@
# Get all previous values in the comparison window.
prev_values = [v for run_id in comparison_window
- for v in self.sample_map.get((run_id, test.id), ())]
+ for v in self.sample_map.get((run_id, test_id), ())]
if prev_values:
stddev = stats.standard_deviation(prev_values)
MAD = stats.median_absolute_deviation(prev_values)
More information about the llvm-commits
mailing list