diff options
author | Edward Hervey <bilboed@bilboed.com> | 2008-12-08 11:35:25 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2008-12-08 11:35:25 +0100 |
commit | 1952ee5ee8738e293691390d133c9487b34a4330 (patch) | |
tree | 5f12cb8211f5734e5fc4ed04085755b529e6c86a /bin | |
parent | a66900e800704f6fb5b351b19a8530e440b40579 (diff) |
dbstorage: Remove all monitor-specific tables/indexes/fields, remove blob fields, remove subtests table
Add 'ismonitor', 'isscenario' and 'parentid' columns to the Test table
Update code in storage and django parts for db modifications.
Still not 100% done though
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/insanity-dumpresults | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/insanity-dumpresults b/bin/insanity-dumpresults index 8992f82..8c309a9 100755 --- a/bin/insanity-dumpresults +++ b/bin/insanity-dumpresults @@ -61,7 +61,7 @@ def printTestInfo(db, testid): print "\t% -30s:\t%s" % (key, val) if extras: print "Extra Information:" - for key,val in extras: + for key,val in extras.iteritems(): print "\t% -30s:\t%s" % (key, val) if outputfiles: print "Output files:" @@ -159,7 +159,7 @@ if __name__ == "__main__": from insanity.storage.sqlite import SQLiteStorage db = SQLiteStorage(path=args[0], async=False) if options.list: - # list all available test rus + # list all available test runs testruns = db.listTestRuns() for runid in testruns: printTestRunInfo(db, runid) |