From: Bruce Richardson <bruce.richardson@intel.com>
To: dev@dpdk.org
Cc: lylavoie@iol.unh.edu, probb@iol.unh.edu,
david.marchand@redhat.com,
Bruce Richardson <bruce.richardson@intel.com>,
stable@dpdk.org
Subject: [PATCH 2/7] test/eal_flags: skip test on FreeBSD
Date: Thu, 19 Mar 2026 17:11:36 +0000 [thread overview]
Message-ID: <20260319171334.1151425-3-bruce.richardson@intel.com> (raw)
In-Reply-To: <20260319171334.1151425-1-bruce.richardson@intel.com>
EAL flags tests depend on running secondary or multiple DPDK instances
so will not work on FreeBSD. Report these as SKIPPED tests on that
OS.
Bugzilla ID: 761 (partial fix)
Fixes: 764bf26873b9 ("add FreeBSD support")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
app/test/test_eal_flags.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c
index b3a8d0ae6f..12280e7a39 100644
--- a/app/test/test_eal_flags.c
+++ b/app/test/test_eal_flags.c
@@ -10,88 +10,88 @@
#include <string.h>
#include <stdarg.h>
-#ifdef RTE_EXEC_ENV_WINDOWS
+#ifndef RTE_EXEC_ENV_LINUX
static int
test_missing_c_flag(void)
{
- printf("missing_c_flag not supported on Windows, skipping test\n");
+ printf("missing_c_flag only supported on Linux, skipping test\n");
return TEST_SKIPPED;
}
static int
test_main_lcore_flag(void)
{
- printf("main_lcore_flag not supported on Windows, skipping test\n");
+ printf("main_lcore_flag only supported on Linux, skipping test\n");
return TEST_SKIPPED;
}
static int
test_invalid_n_flag(void)
{
- printf("invalid_n_flag not supported on Windows, skipping test\n");
+ printf("invalid_n_flag only supported on Linux, skipping test\n");
return TEST_SKIPPED;
}
static int
test_no_hpet_flag(void)
{
- printf("no_hpet_flag not supported on Windows, skipping test\n");
+ printf("no_hpet_flag only supported on Linux, skipping test\n");
return TEST_SKIPPED;
}
static int
test_no_huge_flag(void)
{
- printf("no_huge_flag not supported on Windows, skipping test\n");
+ printf("no_huge_flag only supported on Linux, skipping test\n");
return TEST_SKIPPED;
}
static int
test_allow_flag(void)
{
- printf("allow_flag not supported on Windows, skipping test\n");
+ printf("allow_flag only supported on Linux, skipping test\n");
return TEST_SKIPPED;
}
static int
test_invalid_b_flag(void)
{
- printf("invalid_b_flag not supported on Windows, skipping test\n");
+ printf("invalid_b_flag only supported on Linux, skipping test\n");
return TEST_SKIPPED;
}
static int
test_invalid_vdev_flag(void)
{
- printf("invalid_vdev_flag not supported on Windows, skipping test\n");
+ printf("invalid_vdev_flag only supported on Linux, skipping test\n");
return TEST_SKIPPED;
}
static int
test_invalid_r_flag(void)
{
- printf("invalid_r_flag not supported on Windows, skipping test\n");
+ printf("invalid_r_flag only supported on Linux, skipping test\n");
return TEST_SKIPPED;
}
static int
test_memory_flags(void)
{
- printf("memory_flags not supported on Windows, skipping test\n");
+ printf("memory_flags only supported on Linux, skipping test\n");
return TEST_SKIPPED;
}
static int
test_file_prefix(void)
{
- printf("file_prefix not supported on Windows, skipping test\n");
+ printf("file_prefix only supported on Linux, skipping test\n");
return TEST_SKIPPED;
}
static int
test_misc_flags(void)
{
- printf("misc_flags not supported on Windows, skipping test\n");
+ printf("misc_flags only supported on Linux, skipping test\n");
return TEST_SKIPPED;
}
--
2.51.0
next prev parent reply other threads:[~2026-03-19 17:14 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-19 17:11 [PATCH 0/7] Get fast-test suite to run on FreeBSD Bruce Richardson
2026-03-19 17:11 ` [PATCH 1/7] test/timer_secondary: skip test " Bruce Richardson
2026-03-20 14:03 ` Burakov, Anatoly
2026-03-19 17:11 ` Bruce Richardson [this message]
2026-03-20 14:02 ` [PATCH 2/7] test/eal_flags: " Burakov, Anatoly
2026-03-19 17:11 ` [PATCH 3/7] test/pdump: " Bruce Richardson
2026-03-19 17:16 ` Bruce Richardson
2026-03-21 16:14 ` Stephen Hemminger
2026-03-23 9:07 ` Bruce Richardson
2026-03-19 17:11 ` [PATCH 4/7] test/secondary_process: " Bruce Richardson
2026-03-20 14:02 ` Burakov, Anatoly
2026-03-19 17:11 ` [PATCH 5/7] test/external_memory: " Bruce Richardson
2026-03-20 14:01 ` Burakov, Anatoly
2026-03-19 17:11 ` [PATCH 6/7] test/interrupts: " Bruce Richardson
2026-03-20 14:01 ` Burakov, Anatoly
2026-03-19 17:11 ` [PATCH 7/7] test/debug: fix unit " Bruce Richardson
2026-03-20 14:00 ` Burakov, Anatoly
2026-03-20 14:02 ` David Marchand
2026-03-20 14:18 ` Bruce Richardson
2026-03-19 20:15 ` [PATCH 0/7] Get fast-test suite to run " Patrick Robb
2026-03-19 20:44 ` Patrick Robb
2026-03-20 8:33 ` Bruce Richardson
2026-03-20 14:25 ` David Marchand
2026-03-20 14:31 ` Bruce Richardson
2026-03-20 16:11 ` [PATCH v2 0/2] " Bruce Richardson
2026-03-20 16:11 ` [PATCH v2 1/2] test: fix failing tests " Bruce Richardson
2026-03-25 22:48 ` Thomas Monjalon
2026-03-20 16:11 ` [PATCH v2 2/2] test: simplify spawning extra test processes Bruce Richardson
2026-03-25 22:50 ` Thomas Monjalon
2026-03-24 16:31 ` [PATCH v2 0/2] Get fast-test suite to run on FreeBSD Adam Hassick
2026-04-08 17:44 ` [PATCH v3 " Bruce Richardson
2026-04-08 17:44 ` [PATCH v3 1/2] test: fix failing tests " Bruce Richardson
2026-04-08 17:44 ` [PATCH v3 2/2] test: simplify spawning extra test processes Bruce Richardson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260319171334.1151425-3-bruce.richardson@intel.com \
--to=bruce.richardson@intel.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=lylavoie@iol.unh.edu \
--cc=probb@iol.unh.edu \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox