From patchwork Fri Mar 23 18:11:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Tunnicliffe X-Patchwork-Id: 7437 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 D8BAB23E29 for ; Fri, 23 Mar 2012 18:11:17 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id A1F8BA18296 for ; Fri, 23 Mar 2012 18:11:17 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so6556899iag.11 for ; Fri, 23 Mar 2012 11:11:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :content-type:mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state; bh=nBXqI34HAgmu1rrcHJyXbtiRyMdSuI/lSHyBg0UxPK0=; b=QVAg6L/yiniXb96lyLx78sOEi9kazM3tGzXyQlm32ZNYl83Z6bxGKpO3udiL2ksyxK Z7/9ww9Ro5BT/IXryT9OUX9ev+IC3zsYG/IrCiPv6IOien9Y7bsvf572h5snYkUK1QEZ I2B5dnCl8IxQeSUDDo/QvH2kwDizC9cCAvi/puXg6ODiMRHvc83zXxTKea+NfqTORhg1 pnSUD5q/BufpSs09Ge4f0SMlQ5gdA/exnkroP70ZnHjNBU3om5GYkL22Io3uStTBz5+g oEkewdv0MHj2/S5opTFxvTbupdgw9OJxVRUgNP8bF9SqlkUBWgudK/lHyTVjltsZ4JYf mPOA== Received: by 10.42.72.130 with SMTP id o2mr9290339icj.8.1332526277436; Fri, 23 Mar 2012 11:11: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.231.203.79 with SMTP id fh15csp30476ibb; Fri, 23 Mar 2012 11:11:14 -0700 (PDT) Received: by 10.216.144.210 with SMTP id n60mr9352983wej.5.1332526272710; Fri, 23 Mar 2012 11:11:12 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id v8si6837055wid.22.2012.03.23.11.11.12 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 23 Mar 2012 11:11:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1SB8xD-000358-Vd for ; Fri, 23 Mar 2012 18:11:11 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id DFF89E0123 for ; Fri, 23 Mar 2012 18:11:11 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: linaro-image-tools X-Launchpad-Branch: ~linaro-image-tools/linaro-image-tools/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 503 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-image-tools/linaro-image-tools/trunk] Rev 503: Patched up failing test for 2012.03 release. Removed linaro-fetch-image from setup.py Message-Id: <20120323181111.5497.85598.launchpad@ackee.canonical.com> Date: Fri, 23 Mar 2012 18:11:11 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14996"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 1e296c8d2c691899cc414ef1aa1f5e85655dc41b X-Gm-Message-State: ALoCoQkj02sHh637/cT92yAmNUqzR5oa60GOV1CJdea2uPhBg2NWlwczMrQYm6dzooMyUNQjBfkq ------------------------------------------------------------ revno: 503 committer: James Tunnicliffe branch nick: linaro-image-tools timestamp: Fri 2012-03-23 18:08:37 +0000 message: Patched up failing test for 2012.03 release. Removed linaro-fetch-image from setup.py modified: linaro_image_tools/hwpack/tests/test_script.py setup.py --- lp:linaro-image-tools https://code.launchpad.net/~linaro-image-tools/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-image-tools/linaro-image-tools/trunk/+edit-subscription === modified file 'linaro_image_tools/hwpack/tests/test_script.py' --- linaro_image_tools/hwpack/tests/test_script.py 2011-06-17 15:22:40 +0000 +++ linaro_image_tools/hwpack/tests/test_script.py 2012-03-23 18:08:37 +0000 @@ -103,9 +103,15 @@ '\n[ubuntu]\nsources-entry=%s\n' % ( package_name, source.sources_entry))) stdout, stderr = self.run_script([config.filename, "1.0"]) + + # XXX Adding in the format deprecation message below is just a hack + # until the test can be fixed up to test a new format hwpack. + self.assertThat( stderr, DocTestMatches( "Building for %(arch)s\nFetching packages\n" + "The format '1.0' is deprecated, please update your hardware " + "pack configuration.\n" "Wrote hwpack_ahwpack_1.0_%(arch)s.tar.gz" "\n" % dict(arch=architecture))) === modified file 'setup.py' --- setup.py 2011-10-03 08:37:32 +0000 +++ setup.py 2012-03-23 18:08:37 +0000 @@ -18,6 +18,5 @@ "initrd-do", "linaro-hwpack-create", "linaro-hwpack-install", "linaro-media-create", "linaro-android-media-create", - "linaro-hwpack-replace", "linaro-fetch-image", - "linaro-fetch-image-ui"], + "linaro-hwpack-replace"], )