test/interrupts: skip on Windows
authorJie Zhou <jizh@linux.microsoft.com>
Wed, 26 Jan 2022 05:10:37 +0000 (21:10 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 8 Feb 2022 13:19:40 +0000 (14:19 +0100)
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@linux.microsoft.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
app/test/test_interrupts.c

index 2a05399..b59ab42 100644 (file)
@@ -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;