diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2012-12-17 00:54:58 -0800 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2012-12-17 00:54:58 -0800 |
commit | ffde5dec5c9e45d8e79e5f97710439ad75390d75 (patch) | |
tree | 6353ca9a87ed245e0fdfdad98c41a25c2722aca7 /framework/database.py | |
parent | 9ae5537647144f2bd85578eb7a37daf4fc53a31b (diff) |
result detail generation
Diffstat (limited to 'framework/database.py')
-rw-r--r-- | framework/database.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/database.py b/framework/database.py index a7415a7..4087d50 100644 --- a/framework/database.py +++ b/framework/database.py @@ -92,6 +92,6 @@ class ResultDatabase: def getResults(self, run): c = self.connection.cursor() - query = 'SELECT test_name, result, return_code, errors, output FROM results WHERE run_name = ?' + query = 'SELECT test_name, command, result, return_code, errors, output FROM results WHERE run_name = ?' rs = c.execute(query, [run]) - return dict([(r[0], {'result': r[1], 'return_code': r[2], 'errors': r[3], 'output': r[4]}) for r in rs]) + return dict([(r[0], {'command': r[1], 'result': r[2], 'return_code': r[3], 'errors': r[4], 'output': r[5]}) for r in rs]) |