[llvm-commits] [zorg] r147080 - in /zorg/trunk/lnt/lnt/server/db: testsuitedb.py v4db.py
Daniel Dunbar
daniel at zuster.org
Wed Dec 21 12:00:20 PST 2011
Author: ddunbar
Date: Wed Dec 21 14:00:20 2011
New Revision: 147080
URL: http://llvm.org/viewvc/llvm-project?rev=147080&view=rev
Log:
[lnt/v0.4] lnt.server.db.testsuitedb: Store the suite name in the DB wrapper.
Modified:
zorg/trunk/lnt/lnt/server/db/testsuitedb.py
zorg/trunk/lnt/lnt/server/db/v4db.py
Modified: zorg/trunk/lnt/lnt/server/db/testsuitedb.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/server/db/testsuitedb.py?rev=147080&r1=147079&r2=147080&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/server/db/testsuitedb.py (original)
+++ zorg/trunk/lnt/lnt/server/db/testsuitedb.py Wed Dec 21 14:00:20 2011
@@ -24,9 +24,10 @@
through the model classes constructed by this wrapper object.
"""
- def __init__(self, v4db, test_suite):
+ def __init__(self, v4db, name, test_suite):
testsuitedb = self
self.v4db = v4db
+ self.name = name
self.test_suite = test_suite
# Save caches of the various fields.
Modified: zorg/trunk/lnt/lnt/server/db/v4db.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/server/db/v4db.py?rev=147080&r1=147079&r2=147080&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/server/db/v4db.py (original)
+++ zorg/trunk/lnt/lnt/server/db/v4db.py Wed Dec 21 14:00:20 2011
@@ -30,7 +30,8 @@
raise IndexError,name
# Instantiate the per-test suite wrapper object for this test suite.
- self._cache[name] = ts = testsuitedb.TestSuiteDB(self.v4db, ts)
+ self._cache[name] = ts = testsuitedb.TestSuiteDB(
+ self.v4db, name, ts)
return ts
def get(self, name, default = None):
More information about the llvm-commits
mailing list