From patchwork Sun Jul 14 09:27:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerhard Sittig X-Patchwork-Id: 258895 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 29D9D2C015D for ; Sun, 14 Jul 2013 19:28:41 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DD98B4A028; Sun, 14 Jul 2013 11:28:37 +0200 (CEST) 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 rV6eBUv9rcNq; Sun, 14 Jul 2013 11:28:37 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E1A474A020; Sun, 14 Jul 2013 11:28:34 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 74B7A4A020 for ; Sun, 14 Jul 2013 11:28:27 +0200 (CEST) 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 dibvxNULDgr2 for ; Sun, 14 Jul 2013 11:28:21 +0200 (CEST) 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-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by theia.denx.de (Postfix) with ESMTPS id 60C414A01F for ; Sun, 14 Jul 2013 11:28:16 +0200 (CEST) Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3btMxC0BXjz4KK3X; Sun, 14 Jul 2013 11:28:14 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3btMxB6HpFzbbp5; Sun, 14 Jul 2013 11:28:14 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id X8_07TRM3ja7; Sun, 14 Jul 2013 11:28:13 +0200 (CEST) X-Auth-Info: 7Dfq4v8vHMyC3yHZm5dHLyycEomkhhpL3maWazb4zVE= Received: from localhost (kons-4d03e01e.pool.mediaWays.net [77.3.224.30]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 14 Jul 2013 11:28:13 +0200 (CEST) From: Gerhard Sittig To: Simon Glass Date: Sun, 14 Jul 2013 11:27:45 +0200 Message-Id: <1373794066-7349-1-git-send-email-gsi@denx.de> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1372317147-22099-1-git-send-email-gsi@denx.de> References: <1372317147-22099-1-git-send-email-gsi@denx.de> Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v2 1/1] patman: README documentation nits (unit test) 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 adjust instructions for the invocation of Patman's self test: the -t flag appears to have a different meaning now, refer to the --test option for the builtin unit test; adjust a directory location and make sure to run the file which resides in the source directory Signed-off-by: Gerhard Sittig Acked-by: Simon Glass --- tools/patman/README | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) changes in v2: - fix another previously missed directory location - prefix script with './' since '.' is usually not in $PATH couldn't determine the appropriate subsystem/tree and corresponding custodian for this patch, who'd pick it up and thus is to Cc: to? Simon, can you take it? diff --git a/tools/patman/README b/tools/patman/README index 8cffcd1..c954989 100644 --- a/tools/patman/README +++ b/tools/patman/README @@ -452,12 +452,12 @@ Most of these are indicated by a TODO in the code. It would be nice if this could handle the In-reply-to side of things. -The tests are incomplete, as is customary. Use the -t flag to run them, -and make sure you are in the tools/scripts/patman directory first: +The tests are incomplete, as is customary. Use the --test flag to run them, +and make sure you are in the tools/patman directory first: $ cd /path/to/u-boot - $ cd tools/scripts/patman - $ patman -t + $ cd tools/patman + $ ./patman --test Error handling doesn't always produce friendly error messages - e.g. putting an incorrect tag in a commit may provide a confusing message.