diff mbox

[Branch,~linaro-validation/lava-test/trunk] Rev 84: Allow parsers to provide arbitrary objects (apart from test results) and merge them when making a...

Message ID 20110809130315.20255.65257.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

Zygmunt Krynicki Aug. 9, 2011, 1:03 p.m. UTC
------------------------------------------------------------
revno: 84
committer: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
branch nick: insanity-fixes
timestamp: Tue 2011-08-09 11:35:19 +0200
message:
  Allow parsers to provide arbitrary objects (apart from test results) and merge them when making a bundle
modified:
  abrek/dashboard.py


--
lp:lava-test
https://code.launchpad.net/~linaro-validation/lava-test/trunk

You are subscribed to branch lp:lava-test.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-test/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'abrek/dashboard.py'
--- abrek/dashboard.py	2011-07-26 17:16:42 +0000
+++ abrek/dashboard.py	2011-08-09 09:35:19 +0000
@@ -193,7 +193,7 @@ 
     fmt, bundle = DocumentIO.loads(bundle_text)
     test = testloader(bundle['test_runs'][0]['test_id'])
     test.parse(result)
-    bundle['test_runs'][0]["test_results"] = test.parser.results["test_results"]
+    bundle['test_runs'][0].update(test.parser.results)
     bundle['test_runs'][0]["attachments"] = [
         {
             "pathname": "testoutput.log",