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 6679445F24; Mon, 23 Dec 2024 18:56:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EA6C54026C; Mon, 23 Dec 2024 18:56:25 +0100 (CET) Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) by mails.dpdk.org (Postfix) with ESMTP id 9168F40263 for ; Mon, 23 Dec 2024 18:56:24 +0100 (CET) Received: by mail-qv1-f44.google.com with SMTP id 6a1803df08f44-6dccccd429eso35465116d6.3 for ; Mon, 23 Dec 2024 09:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1734976584; x=1735581384; 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=Okhh9e2E8AjKCCBDz8zsVUfCRjQ1SsGRaEo6/vmAfm0=; b=Z8A5ab43YRchcSyJEL08Jt7oCZe3TtaX9wDaG1DsOCO/0YoVhIsGmyrPUwpxh3cFLi y+8rCFXhoflriVaCyntxOy5rDcDWeMSn6LYp9peVFaP9427OVYdP7BG1T1j+TqXqAw8v l9YTBmquzb/ALCyUil1fMp/ZhLpgUpNM6uaKQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734976584; x=1735581384; 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=Okhh9e2E8AjKCCBDz8zsVUfCRjQ1SsGRaEo6/vmAfm0=; b=Cfi0NwbImar+MAzfB6B7O8yCyfcTKKklRFJBHNPkUb0EidJiAzw8Fp2YBc7ahJ8Yaw /fnTXtcqAA9AMaqxC6Vq3cN6Kzpy3u1BxfrScQYUQ/mexQLG0QvwDwlbJCr/T4dXYZKh nCpZYOb4lCftQqoeAYgwg67ERNLUFbG4JvRpoOhPSLnGU1Dsxug+CEk1CFbW0o9caXzr kzgij4yzpyc9hVOzkqRArnNXMbTmMYNaa+42NsdOH7jx6fL8tYN2tupbqftiThv2bK90 LT/QWVlfqCkaaM9NJ/OQ5m821CpUGJdzaVJx9E2VEP82hid/1igEN5QbqBz0eyxYDdbG X/Kg== X-Gm-Message-State: AOJu0YxBi15ji2ZsGldL+bcIg6XSwCX6iPC9wHRckhqKGzHpRP3vv81i A4P9nLpcKsja+HLDoeONrYWLER4n2zdoGtbym8PGSRqTp7yZdRLBJWQr9TsiP+M= X-Gm-Gg: ASbGncvVcf+NAlhGVHVVm+aJjPQSAICHfTgm43LtllPg+aYHoUWdrGHmub0qcBajy5W 3Ym8XZCOIYBXdPJozA/zT9e4pfFuOU9abWM9AA0+QmFVN33s6v9YHNgiyjpQPu3mBqfQqfKty1O CBVNM9MO+8IQ9JnjaShwmWB75qvfSIYiqcDZR2aXL7HSZdviDI9ln+lirEEm1qlFafeBl5F+e1w k2gODrf9rKMLjesld5sCXwKlyH8IwT01/164UgMgq4YcIIL8HOuqSRkRld8Qput8D3sF384LhdA O3MM+Yn3c/E2fbE= X-Google-Smtp-Source: AGHT+IFS2rxKQHTtgKKoapxZeopycyMCUpQFmKhHoywbB4bU0XPdsLhv9HnK8pFehsoDs6z/6orgvw== X-Received: by 2002:a05:6214:1d28:b0:6d8:7ed4:336a with SMTP id 6a1803df08f44-6dd2339daecmr200500196d6.31.1734976583904; Mon, 23 Dec 2024 09:56:23 -0800 (PST) Received: from dean-laptop.iol.unh.edu ([2606:4100:3880:1271:f9bd:24da:464d:6294]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6dd181bb49asm45485406d6.74.2024.12.23.09.56.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Dec 2024 09:56:23 -0800 (PST) From: Dean Marx To: probb@iol.unh.edu, npratte@iol.unh.edu, luca.vizzarro@arm.com, yoan.picchi@foss.arm.com, Honnappa.Nagarahalli@arm.com, paul.szczepanek@arm.com Cc: dev@dpdk.org, Dean Marx Subject: [PATCH v2 1/1] dts: add EAL confidence check suite Date: Mon, 23 Dec 2024 13:57:39 -0500 Message-ID: <20241223185739.29621-1-dmarx@iol.unh.edu> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20241209215406.6982-2-dmarx@iol.unh.edu> References: <20241209215406.6982-2-dmarx@iol.unh.edu> 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 Add a test suite to replace hello_world which simply starts and stops a testpmd session. The user can use this as a confidence check to verify their configuration. Signed-off-by: Dean Marx Reviewed-by: Paul Szczepanek --- dts/tests/TestSuite_eal.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 dts/tests/TestSuite_eal.py diff --git a/dts/tests/TestSuite_eal.py b/dts/tests/TestSuite_eal.py new file mode 100644 index 0000000000..7cf96e61cd --- /dev/null +++ b/dts/tests/TestSuite_eal.py @@ -0,0 +1,27 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2024 University of New Hampshire + +"""DPDK EAL confidence check suite. + +Starts and stops a testpmd session to verify EAL parameters +are properly configured. +""" + +from framework.remote_session.testpmd_shell import TestPmdShell +from framework.test_suite import TestSuite, func_test + + +class TestEal(TestSuite): + """EAL test suite. One test case, which starts and stops a testpmd session.""" + + @func_test + def test_verify_eal(self) -> None: + """EAL confidence test. + + Steps: + Start testpmd session and check status. + Verify: + The testpmd session is alive after starting. + """ + with TestPmdShell(node=self.sut_node) as testpmd: + testpmd.start() -- 2.44.0