From patchwork Tue Aug 9 13:03:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 3317 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 3BDF5241D4 for ; Tue, 9 Aug 2011 13:03:18 +0000 (UTC) Received: from mail-qy0-f180.google.com (mail-qy0-f180.google.com [209.85.216.180]) by fiordland.canonical.com (Postfix) with ESMTP id F3F35A1819C for ; Tue, 9 Aug 2011 13:03:17 +0000 (UTC) Received: by qyk31 with SMTP id 31so3323950qyk.11 for ; Tue, 09 Aug 2011 06:03:17 -0700 (PDT) Received: by 10.229.183.84 with SMTP id cf20mr5194496qcb.121.1312894997120; Tue, 09 Aug 2011 06:03:17 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.190.71 with SMTP id dh7cs45986qcb; Tue, 9 Aug 2011 06:03:16 -0700 (PDT) Received: from mr.google.com ([10.227.133.144]) by 10.227.133.144 with SMTP id f16mr7606550wbt.97.1312894996772 (num_hops = 1); Tue, 09 Aug 2011 06:03:16 -0700 (PDT) Received: by 10.227.133.144 with SMTP id f16mr5609428wbt.97.1312894996253; Tue, 09 Aug 2011 06:03:16 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id fe3si14438648wbb.101.2011.08.09.06.03.15; Tue, 09 Aug 2011 06:03:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Qqlxj-00054h-NT for ; Tue, 09 Aug 2011 13:03:15 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id ADF6F2E8005 for ; Tue, 9 Aug 2011 13:03:15 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-test X-Launchpad-Branch: ~linaro-validation/lava-test/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 84 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [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> Date: Tue, 09 Aug 2011 13:03:15 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13628"; Instance="initZopeless config overlay" X-Launchpad-Hash: b3824986f3c1964267958b631754f0ce9f529513 ------------------------------------------------------------ revno: 84 committer: Zygmunt Krynicki 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 === 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",