public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
* [PATCH] test/tap: skip test if tap vdev not available
@ 2026-03-18  3:38 Stephen Hemminger
  2026-03-18  9:07 ` David Marchand
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2026-03-18  3:38 UTC (permalink / raw)
  To: dev; +Cc: Thomas Monjalon, Luca Boccassi


If tap can not be created, mark test as SKIPPED not FAILED.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 app/test/test_pmd_tap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/test_pmd_tap.c b/app/test/test_pmd_tap.c
index 482c70b3f6..dabd7d3506 100644
--- a/app/test/test_pmd_tap.c
+++ b/app/test/test_pmd_tap.c
@@ -719,7 +719,7 @@ test_tap_setup(void)
 		       rte_strerror(-ret));
 		rte_mempool_free(mp);
 		mp = NULL;
-		return -1;
+		return TEST_SKIPPED;
 	}
 
 	/* Create second TAP device */
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] test/tap: skip test if tap vdev not available
  2026-03-18  3:38 [PATCH] test/tap: skip test if tap vdev not available Stephen Hemminger
@ 2026-03-18  9:07 ` David Marchand
  0 siblings, 0 replies; 2+ messages in thread
From: David Marchand @ 2026-03-18  9:07 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: dev, Thomas Monjalon, Luca Boccassi

On Wed, 18 Mar 2026 at 04:39, Stephen Hemminger
<stephen@networkplumber.org> wrote:
>
>
> If tap can not be created, mark test as SKIPPED not FAILED.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Tested-by: David Marchand <david.marchand@redhat.com>

Applied, thanks.


-- 
David Marchand


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-18  9:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-18  3:38 [PATCH] test/tap: skip test if tap vdev not available Stephen Hemminger
2026-03-18  9:07 ` David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox