From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4F00AC433F5 for ; Wed, 24 Nov 2021 22:25:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9A29F83788; Wed, 24 Nov 2021 23:24:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="VC6gmSwH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 890488373F; Wed, 24 Nov 2021 23:23:26 +0100 (CET) Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2ECB78373F for ; Wed, 24 Nov 2021 23:23:19 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-ua1-x92d.google.com with SMTP id ay21so8213874uab.12 for ; Wed, 24 Nov 2021 14:23:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:from:in-reply-to:references:date:message-id :subject:to:cc; bh=uNvs1CtujuAPwwKfjlyP3FjYedtoJA6SvsY/MgshWNI=; b=VC6gmSwH5Nu0wSpCyfAC2KAPBb3c8QQSMzn5zVj4b4SFWLPSStjrEG5Q7fm64py/VT daBhqKzL3GJKddstxXFzU2D0vXzWcHRQU0NYA8iRjEicShAhnuQYLpGTxKnF7+Hcvm+q O7pYr2yx95gE4MXdtZ4T2xB7b3LBUm7ASLWWQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:sender:from:in-reply-to:references :date:message-id:subject:to:cc; bh=uNvs1CtujuAPwwKfjlyP3FjYedtoJA6SvsY/MgshWNI=; b=T2wYe4nUpFkXZsLIEJ2vpflN65jIstZrrt3Qh/Ye2pn2QpbXgGUgI78pbXYr0BfuEr qngYTsiNqau0KEllM2l9c0S2D5ND0mzsgyVPyQ10iMYOpSxzEsDgkBVCsN8wIN9u6Uin RGl1OkLYqn4TDGaP/nW5ke7g+BQX2tKi7IraBgifVvg+yVJ7/Sfd7AHt1NEXJ5j24QpX GJbxu5FXuOXO4B4JvmvTFm9QdmiothL76/ows4HluMMTcV0V1IX8cwfF1kYpW1mJaH3q Dp4FisZHplLZbgDNS8I/Hv4vB90t/sNeEUJPRd6k7dO0u06xO2w4LmH1SvFd+HtNvlPt aYNg== X-Gm-Message-State: AOAM531iHikRpc6WJcQhyqyCGS+hsJfD4W/Wa9sswnt4mQdE3qs4C4kj U7xYSk4SnaL/B58tXll1NvrgjxHii1DGise4UoX9Gw== X-Google-Smtp-Source: ABdhPJwJhJvG37qkEC1A3hWJSkHGXsmaOqn+O9hh8FFmgt0Euqxdz6J+pkeeh1V6u9YCVspJmGOEHjNgruBC0P1DmGw= X-Received: by 2002:a67:3345:: with SMTP id z66mr928432vsz.71.1637792597803; Wed, 24 Nov 2021 14:23:17 -0800 (PST) Received: from 480794996271 named unknown by gmailapi.google.com with HTTPREST; Wed, 24 Nov 2021 17:22:22 -0500 MIME-Version: 1.0 From: Simon Glass In-Reply-To: <20211023232635.9195-16-sjg@chromium.org> References: <20211023232635.9195-16-sjg@chromium.org> <20211023232635.9195-1-sjg@chromium.org> Date: Wed, 24 Nov 2021 17:22:21 -0500 X-Google-Sender-Auth: k1IxR4gO0DRYjKN4rpUE6HCS0gw Message-ID: Subject: Re: [PATCH v2 17/41] test/py: Relax the naming rules for unit tests To: Simon Glass Cc: Michal Simek , Heinrich Schuchardt , Tom Rini , Ilias Apalodimas , Daniel Schwierzeck , Steffen Jaeckel , =?UTF-8?B?TWFyZWsgQmVow7pu?= , Lukas Auer , Dennis Gilmore , Stephen Warren , Stephen Warren , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean At present the collection function used by pytest is quite strict on the naming of the functions it detects. In particular it requires the name of the test to be repeated in the function name. This is not enforced anywhere else, but instead the tests are silently omitted from the pytest run. This affects a few dozen tests. The rule does not seem to have any particular purpose. Relax it, so that all tests that use the UNIT_TEST() macro will run, regardless of the name of the test function. Signed-off-by: Simon Glass --- (no changes since v1) test/py/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-dm/next, thanks!