From patchwork Thu Jul 18 19:07:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 142513 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 92F4745648; Thu, 18 Jul 2024 21:11:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E2CBD42E52; Thu, 18 Jul 2024 21:11:02 +0200 (CEST) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mails.dpdk.org (Postfix) with ESMTP id 0F07F4029B for ; Thu, 18 Jul 2024 21:11:01 +0200 (CEST) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1fc65329979so7784715ad.0 for ; Thu, 18 Jul 2024 12:11:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1721329860; x=1721934660; 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=GpQkMWsnKGyoqaT6ChpakXYOG2TeGecvxGC5BtQIv5A=; b=tdJiNSWZ5p/vsTYacVAK4iLIpYL1vx1zGcy1Typr4gf/4YAuwv8PV6FKQ8ajicjS5X FK6TfFsdntrgtoZ364K8opsV2kd1yOwBVeoh14iR7Fti1KFZDMgnRCxGcxx6F1FbrtS8 b4caoa8vrfGz3jqGDwY4oOjbAdP7YeiGmTokwhF4F5i5616wKGp000eFBZ6loy1CAqmt QU55zaFU+l+r9NamkZVtzHTO85izEprrKq5mmJ4JONzhb5N/49UkBMp/4VmO8xGHq5Ba F/xeOg0PntGrAjGriCwEca9ckvC5S534SpjmkJlzzsM3Uq3oqxVsLmlj+JftST16A4G0 K1pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721329860; x=1721934660; 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=GpQkMWsnKGyoqaT6ChpakXYOG2TeGecvxGC5BtQIv5A=; b=dyzzIEBHdS/40p86v1nXpuHeFCX2xUuPW82u2ywjiePTuFP2AtQFVL8X9dRRlLlCKm KepYm2IKqTIkrtAK0DoZPMpPtNoRTYXiEZ4bKniuMmYv9vfcfFfsG0t6GSnTH70skh3D mk7ZjXAHZ9n1RbxWCZf6o7uzxUsdv24jZ51nKUj/UoI5XSccJOhwdP3EB2xjnyJNc5FJ JOpkj/kKUj6Rk8yq5qQ6sg4l91Ne8b99QVPxtngL29m+XlsOd6NNnF5tzAI7nPaPJTVx 0Uh/OtL5Ld6WydF3VVQ+N17QKhywMbd+DwkuaJH2/tIP/t1wOSFFw+V+b6IzeEuAlsnt s3Fw== X-Gm-Message-State: AOJu0Yw/8IJFutM5BpwuEcv9E57ETZl+ReeXfB7eVXp8b4xiokPDGuPo /dY7qHcxFh5p9ao5quBA7U4Tg8ueLM6wJeOuVL1CQKry4J57evfhRzoGJA9VykgCheEAsgoyx24 /kvk= X-Google-Smtp-Source: AGHT+IFLxBI5/TQBi8EqXQZMio0Dlf9tlR9sncsv+y08WY0det/AUDtisYrIlhGYo+3wVwjBa6TmPA== X-Received: by 2002:a17:903:2451:b0:1fa:b7ea:9f0f with SMTP id d9443c01a7336-1fc4e154911mr62532515ad.7.1721329860112; Thu, 18 Jul 2024 12:11:00 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fc0bc384dfsm97244165ad.209.2024.07.18.12.10.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jul 2024 12:10:59 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Tyler Retzlaff Subject: [PATCH 1/4] test: update alarm test Date: Thu, 18 Jul 2024 12:07:12 -0700 Message-ID: <20240718191049.84865-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240718191049.84865-1-stephen@networkplumber.org> References: <20240718191049.84865-1-stephen@networkplumber.org> MIME-Version: 1.0 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 test should be using the TEST_ASSERT macros, and can be run as part of the fast test suite now. Signed-off-by: Stephen Hemminger --- app/test/test_alarm.c | 53 ++++++++++++++++--------------------------- 1 file changed, 20 insertions(+), 33 deletions(-) diff --git a/app/test/test_alarm.c b/app/test/test_alarm.c index 70e97a3109..4ba8aa1af2 100644 --- a/app/test/test_alarm.c +++ b/app/test/test_alarm.c @@ -10,7 +10,8 @@ #include "test.h" -#ifndef RTE_EXEC_ENV_WINDOWS +#define US_PER_SEC 1000000 + static volatile int flag; static void @@ -19,46 +20,32 @@ 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) { -#ifdef RTE_EXEC_ENV_FREEBSD - printf("The alarm API is not supported on FreeBSD\n"); - return 0; -#endif + int ret; + + ret = rte_eal_alarm_set(0, test_alarm_callback, NULL); + TEST_ASSERT_FAIL(ret, "should not be succeed with 0 us value"); + + ret = rte_eal_alarm_set(UINT64_MAX - 1, test_alarm_callback, NULL); + TEST_ASSERT_FAIL(ret, "should not be succeed with (UINT64_MAX-1) us value"); + + ret = rte_eal_alarm_set(10, NULL, NULL); + TEST_ASSERT_FAIL(ret, "should not succeed with null callback parameter"); -#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, - NULL) >= 0) { - printf("should not be successful with 0 us value\n"); - return -1; - } - if (rte_eal_alarm_set(UINT64_MAX - 1, test_alarm_callback, - NULL) >= 0) { - printf("should not be successful with (UINT64_MAX-1) us value\n"); - return -1; - } -#endif + ret = rte_eal_alarm_cancel(NULL, NULL); + TEST_ASSERT_FAIL(ret, "should not succeed to remove alarm with null callback parameter"); - /* 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"); - if (rte_eal_alarm_set(10 /* ms */, NULL, NULL) >= 0) { - printf("should not be successful to set alarm with null callback parameter\n"); - return -1; - } + ret = rte_eal_alarm_set(US_PER_SEC, test_alarm_callback, NULL); + TEST_ASSERT_SUCCESS(ret, "could not set an alarm"); - /* check if it will fail to remove alarm with null callback parameter */ - printf("check if it will fail to remove alarm with null callback parameter\n"); - if (rte_eal_alarm_cancel(NULL, NULL) == 0) { - printf("should not be successful to remove alarm with null callback parameter"); - return -1; - } + ret = rte_eal_alarm_cancel(test_alarm_callback, NULL); + /* return is the number of the alarm set (or 0 if none or -1 if error) */ + TEST_ASSERT(ret > 0, "could not cancel an alarm: %d", ret); return 0; } -REGISTER_TEST_COMMAND(alarm_autotest, test_alarm); +REGISTER_FAST_TEST(alarm_autotest, true, true, test_alarm); From patchwork Thu Jul 18 19:07:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 142514 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CCDC245648; Thu, 18 Jul 2024 21:11:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 29EC442E81; Thu, 18 Jul 2024 21:11:04 +0200 (CEST) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mails.dpdk.org (Postfix) with ESMTP id B7ADA410FC for ; Thu, 18 Jul 2024 21:11:01 +0200 (CEST) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1fc5239faebso10460685ad.1 for ; Thu, 18 Jul 2024 12:11:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1721329861; x=1721934661; 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=8LLrlNZYjChpVtIQpGPWms3z8YSy1Ybd0xnUr/FDXkY=; b=ZNJUebeTTLsXja76Wf/89ZXD6xddnNVaSlBX2/cpjjVW6EXTdSMEZWTWzYq269zeRT QWtRSUQ7WBQk6fzB4tbEOoBmoeC1UhFN42pY8UHlLK+/UQEfwl5kj+mTuET5jvHkNfOu UwshdM8JwtrFDizlQwNutCpCGUqQsCvLwrB1pvx77l2NFUaMyf/gNkeg0v8FRVTtYxdD UZC8v2LG9gDdxT78M30Oc8ti2Bo/H19gIm9GopRPKYMh9zyL6bnixqEgayMiMGjSDhxg rk+PL0MUth3rX5m/A+ZVICMuh4NDN0NaZI8AZQ0U13REXsP5z+BcXEaNgmvqbGH8b1li ZiEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721329861; x=1721934661; 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=8LLrlNZYjChpVtIQpGPWms3z8YSy1Ybd0xnUr/FDXkY=; b=TC6ad63Q2HLE4FuEBCBPIXwF/xttZrWda8cN0qf1g0DqzBwcUvayeJ9vhfpuAd5oUl dn7eiS2henOSrGcAvMXIA0eGABfr0uSiZMGVjBtbBAQ3RV1K3zCSrSTAB1JU+xmh0li5 rWb/4Xw7cqy0vc9nWtvQW+5fASkddZtXJQQeZdMYB4pqU3agBUKO0kq2W8HFLVQQ8wIK VP5aTbR93yVHfImYP/J4U+PBc0Ba1bdWSU67KBSA2IOwEpOEpgugozKjvLH1ezzJgeTW n9TfdjW7r2DTtrKIZalQftQRuurTanM7YOM8yMAVrWMEUIwe0ybMVLTyidLWmOPZ0uLe M6uQ== X-Gm-Message-State: AOJu0YwxkFraJBMe4ukTLQmQAW07BKvDdh/KXEsCpnLbwXNQOu5MqMXj ord4kB7c3J+N361XIdxl5hhYg3Io0KoKMnvuauoXS1Pu7j8hfcNVTOMUYf4AMOl0enKlAaHjWg+ gjBE= X-Google-Smtp-Source: AGHT+IGoA5zFnyksB+PzAOlMliuf19hUvGGD4mWDfl+abGyfcI43rwgzqFIK28U7Ba3HBjIQ+lFEXw== X-Received: by 2002:a17:902:c945:b0:1fb:93d6:9fef with SMTP id d9443c01a7336-1fc4e1694famr57716165ad.38.1721329860917; Thu, 18 Jul 2024 12:11:00 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fc0bc384dfsm97244165ad.209.2024.07.18.12.11.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jul 2024 12:11:00 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH 2/4] test: run cksum tests as part of perf test suite Date: Thu, 18 Jul 2024 12:07:13 -0700 Message-ID: <20240718191049.84865-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240718191049.84865-1-stephen@networkplumber.org> References: <20240718191049.84865-1-stephen@networkplumber.org> MIME-Version: 1.0 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 The cksum tests would not get run since not part of one of the test suites. Meson complains with: WARNING: Test "cksum_perf_autotest" is not defined in any test suite Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- app/test/test_cksum_perf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/test/test_cksum_perf.c b/app/test/test_cksum_perf.c index 1f296cae34..0b919cd59f 100644 --- a/app/test/test_cksum_perf.c +++ b/app/test/test_cksum_perf.c @@ -113,5 +113,4 @@ test_cksum_perf(void) return TEST_SUCCESS; } - -REGISTER_TEST_COMMAND(cksum_perf_autotest, test_cksum_perf); +REGISTER_PERF_TEST(cksum_perf_autotest, test_cksum_perf); From patchwork Thu Jul 18 19:07:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 142515 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C5D9645648; Thu, 18 Jul 2024 21:11:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7537442E8C; Thu, 18 Jul 2024 21:11:05 +0200 (CEST) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mails.dpdk.org (Postfix) with ESMTP id 924F442E15 for ; Thu, 18 Jul 2024 21:11:02 +0200 (CEST) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1fc5239faebso10460855ad.1 for ; Thu, 18 Jul 2024 12:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1721329862; x=1721934662; 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=05roUs6HOsO71MHkt2WFJ+VFbuKuD/o+tfKmoQaYPwk=; b=oMRjH+x09Rm3twG5Qk9G8grCjSMg93uSe78JB+9eDpCu586f5alY5o4wqTv/QT1rcd DhC72P/AH7GiqS/RGvcBknTFDZVfuFhlBu2Y/vtYEyQwhIV7q1GHkln2mnqzgoQQIAQ+ hRwZO25oinW6XlWqzVXpJlvOJxfe+LS8uO0GGTFaTj1cFchN8aGEJ0wYkTW99fESr4tS 7vz/VgvDHjS7HIRO02C8gG98BeD1pxfAePtiwGJBy5HsBX+b/tRllZuQlBkdfXHaxGkv LWsD4CU5+UaDjRvWib1yPwV605tSAJr1GFutfc1nIE3hFPKtjYDBlNgrgdf3z2ktL2wE 89AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721329862; x=1721934662; 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=05roUs6HOsO71MHkt2WFJ+VFbuKuD/o+tfKmoQaYPwk=; b=C0yzclbKoj98HTUgly5sQbvzIXJ7WP1MW1wWlL0YO2LVwd+OH2WPm8kY2RyNK+DT81 NKIpkPUdzYYWqMSnz1kRK8VStvL1w4zY//Eupi1cBrlzWi+slFBVBbqrnFY6rBCI6ULQ oedD2ewH/+QPmqPmovV4Y0aVMxtTPmu0zRqJSBGNeUvIY6a2q9oo0hUEmejwrYIeaY4y sz+AsmL4Q8Bhl4juV6oaBwdrgq5N/ZuZTxfxRijeRNJyGOSD2lI5y2RbM29oW3JlJNBE y/bUethpcKwJCZh9bFMszvsX8oMPIyJRiglCvSguAge4oZfYbQiH2/oZbGSOvJ+KfRpZ 7ZeQ== X-Gm-Message-State: AOJu0YxqE7Z58RJrioc74ilO5Z1MESGfUVHtIgt6sLZr97nNlT81mv44 5OmQwcryuVfnIJBdEWVhng9c1QXjWgnbRKOBTVsNrrYEV876OszMW0jmYrkHc4SEt7xrd926r8e /FP0= X-Google-Smtp-Source: AGHT+IEaBIC4t95fnBK5AzLMUOzKNMAEYNrJl5+hRT14C+9+wmiyqvjjNVAYB9ir3oVgXjD55gVd4w== X-Received: by 2002:a17:902:fa0c:b0:1f9:c508:a765 with SMTP id d9443c01a7336-1fc4e66f6cbmr37912405ad.44.1721329861772; Thu, 18 Jul 2024 12:11:01 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fc0bc384dfsm97244165ad.209.2024.07.18.12.11.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jul 2024 12:11:01 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu Subject: [PATCH 3/4] test: make red test part of fast suite Date: Thu, 18 Jul 2024 12:07:14 -0700 Message-ID: <20240718191049.84865-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240718191049.84865-1-stephen@networkplumber.org> References: <20240718191049.84865-1-stephen@networkplumber.org> MIME-Version: 1.0 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 The red tests were not run because not part of any suite. Meson warning is: WARNING: Test "red_autotest" is not defined in any test suite Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- app/test/test_red.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_red.c b/app/test/test_red.c index aa7538d51a..4bb17dce7a 100644 --- a/app/test/test_red.c +++ b/app/test/test_red.c @@ -1877,6 +1877,6 @@ test_red_all(void) #endif /* !RTE_EXEC_ENV_WINDOWS */ -REGISTER_TEST_COMMAND(red_autotest, test_red); +REGISTER_FAST_TEST(red_autotest, true, true, test_red); REGISTER_PERF_TEST(red_perf, test_red_perf); REGISTER_PERF_TEST(red_all, test_red_all); From patchwork Thu Jul 18 19:07:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 142516 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7A56345648; Thu, 18 Jul 2024 21:11:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A9EC842E94; Thu, 18 Jul 2024 21:11:06 +0200 (CEST) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mails.dpdk.org (Postfix) with ESMTP id 6774F42E62 for ; Thu, 18 Jul 2024 21:11:03 +0200 (CEST) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1fc658b6b2eso7503755ad.0 for ; Thu, 18 Jul 2024 12:11:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1721329862; x=1721934662; 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=QALaU999pzXn/421pMxdkmmVOCvuGlzCXkOjHzYGuqg=; b=s5X6wt2eqQU4aRpmE9MqTwCz09tNZFtupUdMqtDqKWVUBuy9eNc/zZTRkcyAStVwAz VlthBrX1SFzqtzboE23zjBLFZz+LdLvaa3CHXYS60pTQc8XPBZZhH70tlQng8ziSxyhB HRm23q0WIuR4XoEMFpS2evJuLEEgRWxAwedWzaJA6ap3aCXzmUKkG9bt8oMgY3Ac+Hc+ fS53Jv+8SgqjHt+LpHZM5d78U7g+aB2A3hZghOnNLqg/2pWHmjRcZQPuITvCS5xtrxiO IGO1D/dMY06Zstt4WIksCXUATLIcuNU0PG/de13i5TWghoc1Bv2jVPqx1dI8GOW8N5XU VvDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721329862; x=1721934662; 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=QALaU999pzXn/421pMxdkmmVOCvuGlzCXkOjHzYGuqg=; b=Acd14hdAjo28umnQTTrhM87NHFtCIXWWjJW6AFrNERegcU02RLa3VUV1E+PK7dhkGA tw/u6mCgwscVRDb8zlrCss2vyoyte7ltXpoVflTYhsskMsO8r78Fslwn8M+2mp+wKZ9a OegUmmhGH6FeDOKqK5rBHaa+vOY3AbZ23NiA1b5voLJsZ711W+mPNofNuMrM6S1qNDpD 6cf8wgL6/TzCxQRyvzq323S3f1XZxbXsxHhi0V4b3WrQxjtKV/bOMG1kmXqwK0OJhQ6n F2h29LxjhOwbLMih7Cx9cDbv5bz99tQa9bQ1KiBvidR0XAZDvJCsXmNS+Me4NdwpyEA+ 7kNQ== X-Gm-Message-State: AOJu0YzXKaWpwLAqMGNdJfE7chF7S/zsyBwq2RD/pcXSxNWk18ood3+/ AMMkPl0r2qRW3HwOnxi6nQQccEyBV7nzw77yq+QFCV9zMMEofkbBnmnghjub9RUocZBNfq3/UF/ S2YI= X-Google-Smtp-Source: AGHT+IG++YMr2/EG3OuP9GfSqZx3zzO7J9F8xZrAnxkIUHsbzRua2uJilqOeNdLmTCvNdIlev2pzLw== X-Received: by 2002:a17:902:f682:b0:1fa:fc69:7a81 with SMTP id d9443c01a7336-1fc4e570f19mr54833545ad.29.1721329862566; Thu, 18 Jul 2024 12:11:02 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fc0bc384dfsm97244165ad.209.2024.07.18.12.11.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jul 2024 12:11:02 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Erik Gabriel Carrillo Subject: [PATCH 4/4] test: run timer secondary tests as part of fast suite Date: Thu, 18 Jul 2024 12:07:15 -0700 Message-ID: <20240718191049.84865-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240718191049.84865-1-stephen@networkplumber.org> References: <20240718191049.84865-1-stephen@networkplumber.org> MIME-Version: 1.0 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 The tests were not part of any suite so not run normally. Meson warning is: WARNING: Test "timer_secondary_autotest" is not defined in any test suite Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- app/test/test_timer_secondary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_timer_secondary.c b/app/test/test_timer_secondary.c index 4e220559b4..2f98c177cd 100644 --- a/app/test/test_timer_secondary.c +++ b/app/test/test_timer_secondary.c @@ -224,4 +224,4 @@ test_timer_secondary(void) #endif /* !RTE_EXEC_ENV_WINDOWS */ -REGISTER_TEST_COMMAND(timer_secondary_autotest, test_timer_secondary); +REGISTER_FAST_TEST(timer_secondary_autotest, false, true, test_timer_secondary);