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 B0D9D460B1; Tue, 28 Jan 2025 22:17:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 472A4402CE; Tue, 28 Jan 2025 22:17:15 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 7E90340268 for ; Tue, 28 Jan 2025 22:17:14 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1213) id AFE3E2037193; Tue, 28 Jan 2025 13:17:13 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com AFE3E2037193 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1738099033; bh=8tRWn7u7NebefTW4G5KS4dImBg6x3jRm99JUNh/wX8c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jUNgocTOZKBvNkC2jORGtcv7VW2Gql6L3e9YkO7INI8R/pV4ikHb4lNcDYw4Jve9y 0ymtwAD7Bzg5dHkzGotosTweDZikx6r+Ko3XJch+SQ0AHiztLQLxO8ZANzG976xAze 1LqXenNlaXsI+SdI1Vj9wjo0BOY+ZW5dZ/N6Qrl4= From: Andre Muezerie To: andremue@linux.microsoft.com Cc: dev@dpdk.org, david.marchand@redhat.com Subject: [PATCH v2 1/2] test: disable non-C11 atomic tests for MSVC Date: Tue, 28 Jan 2025 13:16:53 -0800 Message-Id: <1738099014-16629-2-git-send-email-andremue@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1738099014-16629-1-git-send-email-andremue@linux.microsoft.com> References: <1733848355-19048-1-git-send-email-andremue@linux.microsoft.com> <1738099014-16629-1-git-send-email-andremue@linux.microsoft.com> 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 In general, non-C11 atomics are not to be used with MSVC. This patch skips the non-C11 atomic tests when using MSVC. Signed-off-by: Andre Muezerie --- app/test/test_atomic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c index db07159e81..3f26ce88d9 100644 --- a/app/test/test_atomic.c +++ b/app/test/test_atomic.c @@ -20,6 +20,7 @@ #include "test.h" +#ifndef RTE_TOOLCHAIN_MSVC /* * Atomic Variables * ================ @@ -632,3 +633,4 @@ test_atomic(void) return 0; } REGISTER_FAST_TEST(atomic_autotest, false, true, test_atomic); +#endif /* RTE_TOOLCHAIN_MSVC */ -- 2.47.2.vfs.0.1