From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1B296A0C45; Sat, 4 Sep 2021 06:20:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 86B1A41141; Sat, 4 Sep 2021 06:19:31 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 583F640E78 for ; Sat, 4 Sep 2021 06:19:22 +0200 (CEST) Received: from linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net (linux.microsoft.com [13.77.154.182]) by linux.microsoft.com (Postfix) with ESMTPSA id 1390220BE4A0; Fri, 3 Sep 2021 21:19:21 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 1390220BE4A0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1630729161; bh=Rsb5V5+7h0JtOMsLmSBW3Tu3JkclarPpaGVZJ1VN4F4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jq9urO8/mllItldgOt1iid9qssJm0aF/1CDiqPu+Ct1ANVLgT5y+Jl3WZahVagVqF Rq6dOz/QDrk9QYJ0e+nPOC9Ndfg3gsWK5234MfJeWu0fUM1bMlafk78sX42Hue4Zvx zl7Kv/fuDdxCQjVKQvgWayX6x8WABohzMtrqyI7Y= From: Jie Zhou To: dev@dpdk.org Cc: dmitry.kozliuk@gmail.com, roretzla@microsoft.com, navasile@linux.microsoft.com, dmitrym@microsoft.com, pallavi.kadam@intel.com, talshn@nvidia.com, thomas@monjalon.net, aconole@redhat.com Date: Fri, 3 Sep 2021 21:19:09 -0700 Message-Id: <1630729155-24584-8-git-send-email-jizh@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1630729155-24584-1-git-send-email-jizh@linux.microsoft.com> References: <1629306834-6277-1-git-send-email-jizh@linux.microsoft.com> <1630729155-24584-1-git-send-email-jizh@linux.microsoft.com> Subject: [dpdk-dev] [PATCH v3 07/13] app/test: skip interrupt tests on Windows X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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