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 6930043C3F; Thu, 29 Feb 2024 19:13:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 58B47402ED; Thu, 29 Feb 2024 19:13:23 +0100 (CET) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by mails.dpdk.org (Postfix) with ESMTP id 32DE8402CD for ; Thu, 29 Feb 2024 19:13:22 +0100 (CET) Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2cd3aea2621so2152821fa.1 for ; Thu, 29 Feb 2024 10:13:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1709230401; x=1709835201; darn=dpdk.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2f05X7gK43oUCLwi8QEDICZlxdaas0OYD8soEKYeATE=; b=N+i8sL9cTCJwRdedxctTAezugeZbxMV2jHGmN6J//QjlE8z4BQqsa5ggemyYu8dqCH pt692BoGC4q9NgDCUCLGmTzjfqErOEu2N0t/5flnwXk4VOM6xCEmNVQrc8VqNmfK28aj /4v3wsGc1L3hmwNIARJPRSH8PtCvmHf6HYNo0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709230401; x=1709835201; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2f05X7gK43oUCLwi8QEDICZlxdaas0OYD8soEKYeATE=; b=aPqFi7u+nkOYTHocNbflzvrzTjOG64ynflmWIBMY+y/vOl2MI6t8t+6tOSJSDzfwiB ak3epdP0P9yJkrQUghlluQWu+YUjz4iN3pN1xZBxx6q639LAeG2ceJPy7zovT0HnkKv4 7UYlwl4SunahxWRRiKJ37hNxj6kc7Euvrk4pPyR17f6xTzy+uc7Ih/bZTyFcy7+TwhWz dxjqoz1VPDpg6PrgIxf6VlD+358Nbrt1nnnGqHCYcbUgEZlrCBjSoMO965rdI8VZkEoa 6gVps0Ss1g0AX2cCYhYgYe971LdFasPgNSrjkw0P/zRpcYiLWxDQBFgEGdz/0OAYsPv0 Symw== X-Gm-Message-State: AOJu0YwNexHKBMGSCdzxFpJIvONfh66hnRgu2unD8iS4HIzcmHh+i4/n yg/yYQogYWBjw0qsC4/g1iapeWaWQToAQJ4Pn0XTRfJOvufqtAJ3oyKyqBDjH5bVDyDYqhBUVu8 cBkfA4HpByHEsExkURDilh7BFVcMtOX2QeUKxyR6wroWy8lYoDvQ= X-Google-Smtp-Source: AGHT+IG9LNhprnqJImk8SKeGuU2JU+DRQWMQfkx/1YJk3+S8aC5yuZ4ANqugZqvOqD7yBWrwaEAdJnaxC7gMniHU+VM= X-Received: by 2002:a2e:9691:0:b0:2d2:51ec:6fff with SMTP id q17-20020a2e9691000000b002d251ec6fffmr1910154lji.2.1709230401089; Thu, 29 Feb 2024 10:13:21 -0800 (PST) MIME-Version: 1.0 References: <20240223083001.63167-1-juraj.linkes@pantheon.tech> In-Reply-To: From: Nicholas Pratte Date: Thu, 29 Feb 2024 13:13:10 -0500 Message-ID: Subject: Re: [PATCH v1] dts: fix smoke tests driver regex To: dev@dpdk.org, Jeremy Spewock Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Tested-by: Nicholas Pratte > > Add hyphen to the regex, which is needed for drivers such as vfio-pci. > > Fixes: 88489c0501af ("dts: add smoke tests") > Cc: jspewock@iol.unh.edu > Signed-off-by: Juraj Linke=C5=A1 > --- > dts/tests/TestSuite_smoke_tests.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/dts/tests/TestSuite_smoke_tests.py b/dts/tests/TestSuite_smo= ke_tests.py > index 5e2bac14bd..1be5c3047e 100644 > --- a/dts/tests/TestSuite_smoke_tests.py > +++ b/dts/tests/TestSuite_smoke_tests.py > @@ -130,7 +130,7 @@ def test_device_bound_to_driver(self) -> None: > # with the address for the nic we are on in the loop and the= n captures the > # name of the driver in a group > devbind_info_for_nic =3D re.search( > - f"{nic.pci}[^\\n]*drv=3D([\\d\\w]*) [^\\n]*", > + f"{nic.pci}[^\\n]*drv=3D([\\d\\w-]*) [^\\n]*", > all_nics_in_dpdk_devbind, > ) > self.verify( > -- > 2.34.1 > > >