From patchwork Sat Dec 1 00:29:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 203092 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 1D96E2C0085 for ; Sat, 1 Dec 2012 11:53:30 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5EAF54A058; Sat, 1 Dec 2012 01:53:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pc3tXyvj0ePV; Sat, 1 Dec 2012 01:53:27 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4282D4A092; Sat, 1 Dec 2012 01:53:23 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 18A604A0A8 for ; Sat, 1 Dec 2012 01:53:17 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hcm41xDkiYGN for ; Sat, 1 Dec 2012 01:53:12 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-wg0-f74.google.com (mail-wg0-f74.google.com [74.125.82.74]) by theia.denx.de (Postfix) with ESMTPS id 51CC84A04B for ; Sat, 1 Dec 2012 01:53:10 +0100 (CET) Received: by mail-wg0-f74.google.com with SMTP id dt14so68868wgb.3 for ; Fri, 30 Nov 2012 16:53:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=dNfD5apzUepd5xqr+Ya4r+VlAKd+wqAThm1/tfknXvM=; b=V9hrD5mI+SwX11rj0prSwU9s0VmKFvGCU0h4SDqrWUrJNVlD+pJxD7Dm9ul0ysQawr rF/O2RIznJPH+SD/Zt/H3bXxGkd77i0i/Of9DHfYSMJmk/G9d+Vkjh8qtH5rSIhhs+t0 tUbIBl6vwWieuTIUnh7DhQXJhCZ/QU5+UhjDZFjhLBk8fFtMf4ws0PwQeeb9uA8MEeLx yvkmfVcH1HZCcCNlQCxBBe7M4ayJeLT1M+EM0JWOLNR/72GWS4XKJwkUTZW2VRY1Xa9y O1dzNrwryYyXUhj8CRlL0zChG0RRY1l21up7zMO68BNEZcBSNexCMax8B8JLlJZUxzKY 7CQQ== Received: by 10.14.214.197 with SMTP id c45mr3694466eep.7.1354321760369; Fri, 30 Nov 2012 16:29:20 -0800 (PST) Received: from hpza10.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id z47si1533221eel.0.2012.11.30.16.29.20 (version=TLSv1/SSLv3 cipher=AES128-SHA); Fri, 30 Nov 2012 16:29:20 -0800 (PST) Received: from tictac.mtv.corp.google.com (tictac.mtv.corp.google.com [172.22.73.80]) by hpza10.eem.corp.google.com (Postfix) with ESMTP id 0656F200057; Fri, 30 Nov 2012 16:29:20 -0800 (PST) Received: by tictac.mtv.corp.google.com (Postfix, from userid 121310) id 65ABF80876; Fri, 30 Nov 2012 16:29:19 -0800 (PST) From: Doug Anderson To: Simon Glass Date: Fri, 30 Nov 2012 16:29:05 -0800 Message-Id: <1354321745-1359-4-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1354321745-1359-1-git-send-email-dianders@chromium.org> References: <1354321745-1359-1-git-send-email-dianders@chromium.org> X-Gm-Message-State: ALoCoQlpP8isv/r+AOvkJX6jhGluy85/kqrVRVGbYQbJvWWIT3nFNHD3ublTn2IbORR7HB2groOlzbvUpLrD6Tmg+B050ARL3SQoZgBvwPdAYb41r4JMayAWG+WbUVhk7fe9ObrmmOSL+6wCpYfedFX5d7t1fLBb2kyQ3Nft8WZCyBbQ5IPcUoMZshMVKRvBL5rut73Fv/7E Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 4/4] patman: Add settings to the list of modules to doctest X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de The settings modules now has doctests, so run them. Signed-off-by: Doug Anderson Acked-by: Simon Glass --- tools/patman/patman.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/patman/patman.py b/tools/patman/patman.py index 54a252e..6825de4 100755 --- a/tools/patman/patman.py +++ b/tools/patman/patman.py @@ -85,8 +85,9 @@ if options.test: result = unittest.TestResult() suite.run(result) - suite = doctest.DocTestSuite('gitutil') - suite.run(result) + for module in ['gitutil', 'settings']: + suite = doctest.DocTestSuite(module) + suite.run(result) # TODO: Surely we can just 'print' result? print result