[dpdk-dev] [PATCH v4 06/12] app/test: skip interrupt tests on Windows
From: Jie Zhou <hidden>
Date: 2021-10-14 03:31:02
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Jie Zhou <hidden>
Date: 2021-10-14 03:31:02
Subsystem:
the rest · Maintainer:
Linus Torvalds
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 <redacted> --- app/test/test_interrupts.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/app/test/test_interrupts.c b/app/test/test_interrupts.c
index 233b14a70b..ab52362e01 100644
--- a/app/test/test_interrupts.c
+++ b/app/test/test_interrupts.c@@ -12,6 +12,15 @@ #include "test.h" +#ifdef RTE_EXEC_ENV_WINDOWS +static int +test_interrupt(void) +{ + printf("Interrupt on Windows is not fully supported yet, skipping test\n"); + return TEST_SKIPPED; +} +#else + #define TEST_INTERRUPT_CHECK_INTERVAL 100 /* ms */ /* predefined interrupt handle types */
@@ -558,5 +567,6 @@ test_interrupt(void) return ret; } +#endif /*ifdef RTE_EXEC_ENV_WINDOWS*/ REGISTER_TEST_COMMAND(interrupt_autotest, test_interrupt);
--
2.32.0.windows.2