[PATCH v15 04/11] app/test: skip interrupt tests on Windows

Jie Zhou jizh at linux.microsoft.com
Wed Jan 26 06:10:37 CET 2022


Even though test_interrupts.c can compile on Windows, skip interrupt
tests for now since majority of eal_interrupt on Windows are stubs.
Will remove the skip after interrupt being fully enabled on Windows.

Signed-off-by: Jie Zhou <jizh at linux.microsoft.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
---
 app/test/test_interrupts.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app/test/test_interrupts.c b/app/test/test_interrupts.c
index 2a05399f96..e47a786b36 100644
--- a/app/test/test_interrupts.c
+++ b/app/test/test_interrupts.c
@@ -429,6 +429,9 @@ test_interrupt(void)
 	int ret = -1;
 	struct rte_intr_handle *test_intr_handle;
 
+	if (RTE_EXEC_ENV_IS_WINDOWS)
+	    return TEST_SKIPPED;
+
 	if (test_interrupt_init() < 0) {
 		printf("fail to initialize for testing interrupt\n");
 		goto out;
-- 
2.34.1.windows.1



More information about the dev mailing list