From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 10CDE436F2; Thu, 14 Dec 2023 18:03:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F3F444326C; Thu, 14 Dec 2023 18:03:50 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id F003E402C2 for ; Thu, 14 Dec 2023 18:03:49 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 4F94420B74C0; Thu, 14 Dec 2023 09:03:49 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 4F94420B74C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1702573429; bh=fyaTrDFSlLH+S1q/zM8sEOhwoe/JX4o3ayYkFwH8UPo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=moxSYNGCs74uoZ6W0Qezw17Q9+g3alXoYeT+AvQFNSeXLk8h8owLIk8bqntxbHVyv 19YiIz+xBcPp+W54Wu1rbVgLoXgarsItTnDIUH1M8Tl8YhCCW7hyLTOhrtdwo3+9g3 4KPQwd9nj4Fvn/d0jPaTAoyT93hIhc3Lr7hLrZcc= Date: Thu, 14 Dec 2023 09:03:49 -0800 From: Tyler Retzlaff To: Bruce Richardson Cc: dev@dpdk.org Subject: Re: [PATCH] app/test: prevent exiting after skipped test Message-ID: <20231214170349.GB22258@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20231214113813.574758-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231214113813.574758-1-bruce.richardson@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Dec 14, 2023 at 11:38:13AM +0000, Bruce Richardson wrote: > When processing a list of tests to run, the loop termination condition > was a test returning a value != 0. This means that if one of a series of > tests was skipped, i.e. returned TEST_SKIPPED, the whole execution run > was stopped. Since a test being skipped is not an error condition, we > put in an explicit check for that to keep executing any remaining tests. > > Signed-off-by: Bruce Richardson > --- Acked-by: Tyler Retzlaff