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 32E0541F53; Tue, 29 Aug 2023 11:34:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B278340293; Tue, 29 Aug 2023 11:34:06 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 0DD9040279 for ; Tue, 29 Aug 2023 11:34:05 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 5D77A5C0115; Tue, 29 Aug 2023 05:34:04 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 29 Aug 2023 05:34:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1693301644; x=1693388044; bh=P5bU3txl8RGknaSS73xPRS7qpR3Ffd55OBj 63AVyxx0=; b=NQkhwgTCeZePLXRvBxfkNhl2ygUC6XHD/JoSicDj1w7eWsyzqir dRiRzUCY/eJW8UjnvE9LIFTlPs5qME2Dqh4zb20mbYoYJU2iWsT0t14AvuUUooYV Myc4MvryWzStYFYyU5EDcuHnRp0YzLq4jvPB/dTSJTsr1oMKBvA394hiQnpSgCAU u/24yd6O9A4DRca0KasMOtgdvUkVLW0DN02YxDwMMBNzWrEdra9JxFie6eG1PNpY 0VXwWz51sL261run+4XtT5VroJNYUBU1absqvclj5oV/rD/5MGqZ0mG80nC8CnYH 3zXhRHGX/HfOg+wKVAfGUFLUmPg+xWw4RGg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1693301644; x=1693388044; bh=P5bU3txl8RGknaSS73xPRS7qpR3Ffd55OBj 63AVyxx0=; b=wAvVeatLqAC2aXSKYN00WY1WGVXL7ZOCqldmHpB3GPQj6uJkwlC LlZK5qUbpP+Ak4XPGbnpi0EyrDW/1MocTt79Ty6NVwJeHYat8+lixbQPkGm9MFTj 2OVPBDMYDntmG5T3hkk2dNon64IDxqjB3l6NeuDjbX21bE4ODjRi5MHZha/KipLK IAq8LUrJlIc/oPsLbYRwFsjhkIamcyjoxYNvH9R+dkRWKowozYS5i2ek85kA0y3L s8GmvUoG0XfRfG/1nagZC6rgYaaoSB+Rz9ffOffPZ1S4KQF+fe7AaWVjR4uNmH3c +Tfnxku0wQ+1A+3HstdHhxftObZVa23bHjg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudefiedgudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthhqredttddtudenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeefhfejleeuvdevtddutdeutdevhfeijeethfffueejhfetuddu vedtkedtieekffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 29 Aug 2023 05:34:03 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, david.marchand@redhat.com, probb@iol.unh.edu Subject: Re: [RFC PATCH] app/test: add support for skipping tests Date: Tue, 29 Aug 2023 11:34:02 +0200 Message-ID: <2810173.usQuhbGJ8B@thomas> In-Reply-To: <20230817105851.501947-1-bruce.richardson@intel.com> References: <20230817105851.501947-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" 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 jeudi 17 ao=FBt 2023, Bruce Richardson: > When called from automated tools, like meson test, it is often useful to > skip tests in a test suite, without having to alter the test build. To > do so, we add support for DPDK_TEST_SKIP environment variable, where one > can provide a comma-separated list of tests. When the test binary is > called to run one of the tests on the list via either cmdline parameter > or environment variable (as done with meson test), the test will not > actually be run, but will be reported skipped. >=20 > Example run: > $ DPDK_TEST_SKIP=3Ddump_devargs,dump_ring meson test --suite=3Ddebug-te= sts > ... > 1/9 DPDK:debug-tests / dump_devargs SKIP 1.11s > 2/9 DPDK:debug-tests / dump_log_types OK 1.06s > 3/9 DPDK:debug-tests / dump_malloc_heaps OK 1.11s > 4/9 DPDK:debug-tests / dump_malloc_stats OK 1.07s > 5/9 DPDK:debug-tests / dump_mempool OK 1.11s > 6/9 DPDK:debug-tests / dump_memzone OK 1.06s > 7/9 DPDK:debug-tests / dump_physmem OK 1.13s > 8/9 DPDK:debug-tests / dump_ring SKIP 1.04s > 9/9 DPDK:debug-tests / dump_struct_sizes OK 1.10s >=20 > Ok: 7 > Expected Fail: 0 > Fail: 0 > Unexpected Pass: 0 > Skipped: 2 > Timeout: 0 >=20 > Signed-off-by: Bruce Richardson Looks to be a good addition. Acked-by: Thomas Monjalon