[llvm-commits] [zorg] r150755 - /zorg/trunk/lnt/lnt/server/db/testsuitetypes.py
Daniel Dunbar
daniel at zuster.org
Thu Feb 16 14:54:56 PST 2012
Author: ddunbar
Date: Thu Feb 16 16:54:55 2012
New Revision: 150755
URL: http://llvm.org/viewvc/llvm-project?rev=150755&view=rev
Log:
[lnt] lnt.server.db.testsuitetypes: Fix up the field names for the compile test
suite.
Modified:
zorg/trunk/lnt/lnt/server/db/testsuitetypes.py
Modified: zorg/trunk/lnt/lnt/server/db/testsuitetypes.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/server/db/testsuitetypes.py?rev=150755&r1=150754&r2=150755&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/server/db/testsuitetypes.py (original)
+++ zorg/trunk/lnt/lnt/server/db/testsuitetypes.py Thu Feb 16 16:54:55 2012
@@ -24,12 +24,16 @@
"run_order", 0))
# We expect up to five fields per test, each with a status field.
- for name in ('user', 'sys', 'wall', 'size', 'mem'):
+ for name,type_name in (('user', 'time'),
+ ('sys', 'time'),
+ ('wall', 'time'),
+ ('size', 'bytes'),
+ ('mem', 'bytes')):
status = testsuite.SampleField(
"%s_status" % (name,), db.status_sample_type, "%s.status" % (name,))
ts.sample_fields.append(status)
value = testsuite.SampleField(
- "%s_time" % (name,), db.real_sample_type, ".%s" % (name,),
+ "%s_%s" % (name,type_name), db.real_sample_type, ".%s" % (name,),
status_field = status)
ts.sample_fields.append(value)
More information about the llvm-commits
mailing list