From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 76E74A0558; Sat, 22 Feb 2020 21:55:07 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 781D525B3; Sat, 22 Feb 2020 21:55:06 +0100 (CET) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by dpdk.org (Postfix) with ESMTP id 47D501F1C for ; Sat, 22 Feb 2020 21:55:04 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 4E97C5FE; Sat, 22 Feb 2020 15:55:03 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 22 Feb 2020 15:55:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=6STp4I6usJGaTn3X1hTJdP1J7gXEy9yKNUbNFZk5Q6E=; b=qa3M4gGQnusX 4PrZdNIKqv6G52bWi1yn2oniB4G/YuBZzNtJnnQA5aBXemL5MUG4Fg1QGfFzNqlr E02WsMHDNxIIcAl6bOjrHDA09gnlTO5+dnXWWR/If/n+DlCGgq9EbmevPS1Tf1zp 4dOidrhec1Nl4MgbiRO7EhwNfUVV6hk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=6STp4I6usJGaTn3X1hTJdP1J7gXEy9yKNUbNFZk5Q 6E=; b=mEsg/J1F300DHJOmF6/OHX8E5BfT9eVivExhBDJmK5aruBA+gkF0+Yk2B IAHF5eTNONDzBzrP8IsunUEPDmbPkzjgi2b9WTa7RF9UiPCXGDXCcFPq+rM1Ejdh NP5fxTx+4eF+F+k56KmTinF5b0EFEwgl4sGoSwv1HOBuGO7ii2+Sj7ysmwVWfgp7 IZBfo5Fvb6m5Tcw+oT4KTT6VGOYrerJ5E/tp1z5u+plKGOK5CTuVdPGF2N00KzxI 5dJVwXwBrNSzwkJ1MHPojTOGWMRXxS1STkURXmPFN/gtHx/mx1XPZQtSrPiYwJIv 6L+Xl2CvbmhLSa0eG1TpKfYA3meGw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrkeeigddugeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedunecurfgr rhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 43F853060F09; Sat, 22 Feb 2020 15:55:02 -0500 (EST) From: Thomas Monjalon To: Ciara Power Cc: dev@dpdk.org, ferruh.yigit@intel.com Date: Sat, 22 Feb 2020 21:55:01 +0100 Message-ID: <1836812.CrzyxZ31qj@xps> In-Reply-To: <20200128150256.14339-3-ciara.power@intel.com> References: <20200128150256.14339-1-ciara.power@intel.com> <20200128150256.14339-3-ciara.power@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 2/2] devtools: added stats print X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 28/01/2020 16:02, Ciara Power: > When all checks are completed on the specified commit logs, the script > indicates if all are valid, or if there were some failures. I think the most important would be to have an error code. Please could you exit with 0 only if no issue is found? [...] > +total=$(echo "$commits" | wc -l) > +if $failure ; then > + printf "\nInvalid patch(es) found - checked $total patch" > +else > + printf "\n$total/$total valid patch" > +fi > +[ $total -le 1 ] || printf 'es' > +printf '\n'