[llvm-commits] [zorg] r121240 - in /zorg/trunk/lnt/lnt: util/ImportData.py viewer/PerfDB.py
Daniel Dunbar
daniel at zuster.org
Wed Dec 8 00:40:30 PST 2010
Author: ddunbar
Date: Wed Dec 8 02:40:30 2010
New Revision: 121240
URL: http://llvm.org/viewvc/llvm-project?rev=121240&view=rev
Log:
LNT: Remove bogus assert, I came up with a good reason to allow reports to
contain multiple entries for the same test. We should reject at a higher level
if we want to explicitly disallow this.
- And, fix a typo.
Modified:
zorg/trunk/lnt/lnt/util/ImportData.py
zorg/trunk/lnt/lnt/viewer/PerfDB.py
Modified: zorg/trunk/lnt/lnt/util/ImportData.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/util/ImportData.py?rev=121240&r1=121239&r2=121240&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/util/ImportData.py (original)
+++ zorg/trunk/lnt/lnt/util/ImportData.py Wed Dec 8 02:40:30 2010
@@ -150,7 +150,7 @@
if result['added_tests']:
print >>out, "Added Tests : %d" % result['added_tests']
if result.get('added_samples', 0):
- print >>out, "Added Samples : %.2fs" % result['added_samples']
+ print >>out, "Added Samples : %d" % result['added_samples']
print >>out
# Print the test results.
Modified: zorg/trunk/lnt/lnt/viewer/PerfDB.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/viewer/PerfDB.py?rev=121240&r1=121239&r2=121240&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/viewer/PerfDB.py (original)
+++ zorg/trunk/lnt/lnt/viewer/PerfDB.py Wed Dec 8 02:40:30 2010
@@ -389,7 +389,6 @@
test_id = testMap.get((name,tuple(info)))
if test_id is None:
test,created = db.getOrCreateTest(testData['Name'],info)
- assert created
late_ids.append((i,test))
test_ids.append(test_id)
More information about the llvm-commits
mailing list