From patchwork Thu Apr 21 13:19:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Lo=C3=AFc_Minier?= X-Patchwork-Id: 1140 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:49:37 -0000 Delivered-To: patches@linaro.org Received: by 10.224.67.148 with SMTP id r20cs163859qai; Thu, 21 Apr 2011 06:19:18 -0700 (PDT) Received: by 10.216.69.67 with SMTP id m45mr3461650wed.42.1303391957508; Thu, 21 Apr 2011 06:19:17 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id f15si4217139wer.95.2011.04.21.06.19.17; Thu, 21 Apr 2011 06:19:17 -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 1QCtmu-0006o9-RY for ; Thu, 21 Apr 2011 13:19:16 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id CF6752E889C for ; Thu, 21 Apr 2011 13:19:16 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: linaro-image-tools X-Launchpad-Branch: ~linaro-maintainers/linaro-image-tools/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 323 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-maintainers/linaro-image-tools/trunk] Rev 323: TestBootSteps.make_boot_files(): only return a d_img_data if the BoardConfig Message-Id: <20110421131916.9911.39676.launchpad@loganberry.canonical.com> Date: Thu, 21 Apr 2011 13:19:16 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="12883"; Instance="initZopeless config overlay" X-Launchpad-Hash: cc48f4325f505bb379c24a868aeea74c1a2013fa ------------------------------------------------------------ revno: 323 committer: Loïc Minier branch nick: linaro-image-tools timestamp: Thu 2011-04-21 15:13:59 +0200 message: TestBootSteps.make_boot_files(): only return a d_img_data if the BoardConfig defines a dtb_name. modified: linaro_image_tools/media_create/tests/test_media_create.py --- lp:linaro-image-tools https://code.launchpad.net/~linaro-maintainers/linaro-image-tools/trunk You are subscribed to branch lp:linaro-image-tools. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-maintainers/linaro-image-tools/trunk/+edit-subscription === modified file 'linaro_image_tools/media_create/tests/test_media_create.py' --- linaro_image_tools/media_create/tests/test_media_create.py 2011-04-21 13:12:57 +0000 +++ linaro_image_tools/media_create/tests/test_media_create.py 2011-04-21 13:13:59 +0000 @@ -177,6 +177,8 @@ def make_boot_files(self, config): def _get_kflavor_files_mock(cls, path): + if cls.dtb_name is None: + return (path, path, None) return (path, path, path) self.useFixture(MockSomethingFixture(