[llvm-commits] [zorg] r150764 - /zorg/trunk/lnt/lnt/tests/compile.py
Daniel Dunbar
daniel at zuster.org
Thu Feb 16 14:55:25 PST 2012
Author: ddunbar
Date: Thu Feb 16 16:55:25 2012
New Revision: 150764
URL: http://llvm.org/viewvc/llvm-project?rev=150764&view=rev
Log:
[lnt] lnt.tests.compile: For size statistics, report the value as many times as we multisample.
- It is really a UI/db bug that we need to do this, but I'm not willing to fix the real problem at the moment.
Modified:
zorg/trunk/lnt/lnt/tests/compile.py
Modified: zorg/trunk/lnt/lnt/tests/compile.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/tests/compile.py?rev=150764&r1=150763&r2=150764&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/tests/compile.py (original)
+++ zorg/trunk/lnt/lnt/tests/compile.py Thu Feb 16 16:55:25 2012
@@ -146,7 +146,14 @@
try:
stat = os.stat(output)
success = True
- samples.append(stat.st_size)
+
+ # For now, the way the software is set up things are going to get
+ # confused if we don't report the same number of samples as reported
+ # for other variables. So we just report the size N times.
+ #
+ # FIXME: We should resolve this, eventually.
+ for i in range(variables.get('run_count')):
+ samples.append(stat.st_size)
except OSError,e:
if e.errno != errno.ENOENT:
raise
More information about the llvm-commits
mailing list