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 0C9B74576E; Thu, 8 Aug 2024 21:48:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6F3BA42DD3; Thu, 8 Aug 2024 21:48:12 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id 8B12442D9D for ; Thu, 8 Aug 2024 21:48:09 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-70d25b5b6b0so1089736b3a.2 for ; Thu, 08 Aug 2024 12:48:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1723146488; x=1723751288; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0GMGD7ep2Et0TYc0CKuoFMKUX6MNI7T0gRKKJ5S0AO4=; b=yakRpBgxq68Tdv7seS4oYLIFMt7dEVtokHScu6uYYX26GsgR24ZunbrEezZlURGRC8 YvgddwDPEd9nR4TIVu8xbmeDfswjw29OxsBeC/24t29fztrpvW7oaq2zLY12uhXzu3O9 yUhqXGzHyG8Q9ATF5sdAx+iXaVPghT5vxI/CRPG99zWLwO8pdKkHAWmKEBcUFbTE9NRq 79P+8wwVhzTBk57ZwBoQypK8RgzLwzHjq3XzK8RAsY+fDKbGOPkNfJyAfvfuwuouJuxv 6bJYeD/Yl8mzDvZw+imEW8/HjAMCSKWAuKU2y6X3KIXGWZAjw+5ABNjZOi+laLwtYmI/ uw8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723146488; x=1723751288; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0GMGD7ep2Et0TYc0CKuoFMKUX6MNI7T0gRKKJ5S0AO4=; b=nPYPYaYmXa1iucv6XDyqASvIcQLLmp5O/yUUqyVFWf8sbBiXSKRtMUvd5BF/lXpeNu lUHWD/hpa/2gEHytWs+TTkEaJhfUC3RtWXWYTXH9Dln/U8H12gAEXewgjFacSGC6lfUF x8BaCPWwFDjA+iaHUXXCzXzKKdbACukv0xfhO2SSJV0ZhE8t99L9fycMg1T+RFLu6dOf awM6mW+Yb3qfcz3pAl45BFQabVZmsFNIqVAIKumUQRwCo7vr7BGLEkCW7Y/dsXmah+A0 EqHhSdzs5lqTRmlJcYaqKYzune2munjsMH4aIW+089cDE9JmBXjSksx+mu6152xd7GqN GZRQ== X-Gm-Message-State: AOJu0YzZmetpYbbRPaIYSvN52h+KsXQdUdtGK4ij48F6UttTHQSxiJ0Y X3bI7+jL3iRhnUVaYcrJM1VqWJPpmiDfqV6sNkQ+XYO2143hQR6y6YW/poXTtWN3RBi0rAbWEue B X-Google-Smtp-Source: AGHT+IFiGsfBmAjOAz8Pjc/Z+3dAwKmvSM9a+tYjPiD/fknsRWytBxCD5NvRPvGqYs7J1ulZ9p9pEA== X-Received: by 2002:a05:6a00:460e:b0:70d:181f:c082 with SMTP id d2e1a72fcca58-710cad8e299mr4209013b3a.11.1723146488500; Thu, 08 Aug 2024 12:48:08 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-710cb2d376csm1469804b3a.111.2024.08.08.12.48.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Aug 2024 12:48:08 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Tyler Retzlaff Subject: [PATCH 2/5] Revert "test/alarm: disable bad time cases on Windows" Date: Thu, 8 Aug 2024 12:46:58 -0700 Message-ID: <20240808194756.167664-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240808194756.167664-1-stephen@networkplumber.org> References: <20240808194756.167664-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This reverts commit a089d320338d708f5b7126dab5fd6861c82e6347. Windows EAL should have been fixed rather than papering over the bug. Signed-off-by: Stephen Hemminger --- app/test/test_alarm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/test/test_alarm.c b/app/test/test_alarm.c index 70e97a3109..b4034339b8 100644 --- a/app/test/test_alarm.c +++ b/app/test/test_alarm.c @@ -10,7 +10,6 @@ #include "test.h" -#ifndef RTE_EXEC_ENV_WINDOWS static volatile int flag; static void @@ -19,7 +18,6 @@ test_alarm_callback(void *cb_arg) flag = 1; printf("Callback setting flag - OK. [cb_arg = %p]\n", cb_arg); } -#endif static int test_alarm(void) @@ -29,7 +27,6 @@ test_alarm(void) return 0; #endif -#ifndef RTE_EXEC_ENV_WINDOWS /* check if it will fail to set alarm with wrong us value */ printf("check if it will fail to set alarm with wrong ms values\n"); if (rte_eal_alarm_set(0, test_alarm_callback, @@ -42,7 +39,6 @@ test_alarm(void) printf("should not be successful with (UINT64_MAX-1) us value\n"); return -1; } -#endif /* check if it will fail to set alarm with null callback parameter */ printf("check if it will fail to set alarm with null callback parameter\n"); -- 2.43.0