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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9D23C48295 for ; Fri, 16 Feb 2024 21:00:41 +0000 (UTC) Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) by mx.groups.io with SMTP id smtpd.web10.9282.1708117238407153938 for ; Fri, 16 Feb 2024 13:00:38 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@posteo.com header.s=2017 header.b=G0djbtwN; spf=pass (domain: posteo.com, ip: 185.67.36.66, mailfrom: simone.p.weiss@posteo.com) Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9DE99240105 for ; Fri, 16 Feb 2024 22:00:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.com; s=2017; t=1708117236; bh=DrZrwEA6brVkBMD99ShOAfH+lsw15SThNBwTG7O5m3g=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=G0djbtwNZgTbCwvgfBb/5OgrgNj9vDnQEj7nggy0RLuwQlYSVPeibUMld8bpAPuDe 46afQO9tGF8QEokEEt7TmpW9LmxD4rU4UWFVAf3s4HD+bZdBZ97VbxtugHtBPwr9pc 4pJgTyvNjsEbuR7STHLk3HgTvkLgU6zY4aywl1SyxUKGBNSHAeucQ4xGxjeQHPYmfX 8zRPowS9zXvRFMANTb3f+yUWrpKr8jUGn9xSKeT90AWIIH3AG85rikKOjKHux//2e9 DT/eye0ZrRGyQq2tRISSO/vQnLTAltx4dOsBSZmg81YuIZIO2uVrUWDeEfK7g5Mv8Q FyPb/MqikCq0Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tc48M4L34z9rxM; Fri, 16 Feb 2024 22:00:34 +0100 (CET) From: simone.p.weiss@posteo.com To: openembedded-core@lists.openembedded.org Cc: =?UTF-8?q?Simone=20Wei=C3=9F?= Subject: [PATCH] patchtest: add stronger indication for failed tests Date: Fri, 16 Feb 2024 21:00:28 +0000 Message-Id: <20240216210028.16028-1-simone.p.weiss@posteo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Feb 2024 21:00:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/195807 From: Simone Wei=C3=9F Do not only log that there has been an issue but add WARNING before for l= ocal runs. Hopefully this helps to avoid that people reading the log to quickl= y miss issues. Fixes [YOCTO #15389] Signed-off-by: Simone Wei=C3=9F sfdf Signed-off-by: Simone Wei=C3=9F --- scripts/patchtest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/patchtest b/scripts/patchtest index d0dc6e8fac..3163420220 100755 --- a/scripts/patchtest +++ b/scripts/patchtest @@ -164,9 +164,9 @@ def run(patch, logfile=3DNone): if premerge_result =3D=3D 2 and postmerge_result =3D=3D 2: logger.error('patchtest: No test cases found - did you specify t= he correct suite directory?') if premerge_result =3D=3D 1 or postmerge_result =3D=3D 1: - logger.error('patchtest: At least one patchtest caused a failure= or an error - please check') + logger.error('WARNING: patchtest: At least one patchtest caused = a failure or an error - please check') else: - logger.error('patchtest: All patchtests passed') + logger.error('OK: patchtest: All patchtests passed') print('-------------------------------------------------------------= ---------\n') return premerge_result or postmerge_result =20 --=20 2.39.2