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 E7577C433FE for ; Sun, 9 Oct 2022 03:34:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1B01984DE8; Sun, 9 Oct 2022 05:33:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (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=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="MwS5onjk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CAFD184DE6; Sun, 9 Oct 2022 05:33:35 +0200 (CEST) Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) (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 BF1E284E06 for ; Sun, 9 Oct 2022 05:33:31 +0200 (CEST) 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@chromium.org Received: by mail-il1-x131.google.com with SMTP id u2so4280809ilv.6 for ; Sat, 08 Oct 2022 20:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; 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=5c7x0GEg6eGu74KJ2MLYtYhd5tVhB7+GpjKqj5H1iuc=; b=MwS5onjkE+pudwq3VHQy0JwcgJgzECn3m687OisAbXCflLOT0kMzL08Y9Sqz3nympH mtlX1jvGm8mbY35cGPIq+y9RtEiQueFzHMgt6TAUZ3hAVVL1cIDEyfi2ZNJFJP3y3dwQ dj1X057uRF1yQFSH1ZyKoyzoHIdTfleb8BRQs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=5c7x0GEg6eGu74KJ2MLYtYhd5tVhB7+GpjKqj5H1iuc=; b=XDWWhohhH1c1F1A4W5w60gvodysi67vdD7SQaL+WfVoVNGZOL1IpARGE1uZSpqwN0l 2PlFSj2KP1QlprqadL6wtSSn8LJR2C+5T2QMXWUQVQ16WDOb3+Vr46u+NoXKYPl/7DuK Tn/iacPa8dk2L15yXW2BUg1atzSY95nE0WeanKeAAjDO1bd4r5iQb9gxFSk4qEHRVYYO zM+tdal19q0QIAEbb8MlbrtrrhpjiFvCqe2EnTduu76evBzgRYO+8zytEK3EwbrLASeo zQlNcxCZ2xV8nnXp+ukSoJ3sazW2GpRzUodV9b9WXUt3wXPXTLmW0hP3/sihw7g/cFuF sjPw== X-Gm-Message-State: ACrzQf2dgpHlkMnC6xoA/A2AL2kpSbH6pa7u8dYpijBfGdbbBTbwEQ/m uCgXCcWtafxE0wWl6rOVXYDDitUgcyOQoQ== X-Google-Smtp-Source: AMsMyM7VPrCd2+795ok3Aiolfw+5w+Mni70575qWnmiYBefDjKoqhxUjDlJ/cg674TF5UJ546/JlqQ== X-Received: by 2002:a05:6e02:1b8e:b0:2f9:167c:bd97 with SMTP id h14-20020a056e021b8e00b002f9167cbd97mr5958009ili.186.1665286409931; Sat, 08 Oct 2022 20:33:29 -0700 (PDT) Received: from sjg1.roam.corp.google.com (c-67-190-102-125.hsd1.co.comcast.net. [67.190.102.125]) by smtp.gmail.com with ESMTPSA id cn24-20020a0566383a1800b0035a648fd47csm2623241jab.61.2022.10.08.20.33.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Oct 2022 20:33:29 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH 2/3] event: Drop the path when checking event-list filenames Date: Sat, 8 Oct 2022 21:33:21 -0600 Message-Id: <20221009033322.482812-3-sjg@chromium.org> X-Mailer: git-send-email 2.38.0.rc1.362.ged0d419d3c-goog In-Reply-To: <20221009033322.482812-1-sjg@chromium.org> References: <20221009033322.482812-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean This path does not seem to be present in clang-14 for some reason. Relax the regular expression so that the test works, at least for non-LTO. Signed-off-by: Simon Glass --- test/py/tests/test_event_dump.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/py/tests/test_event_dump.py b/test/py/tests/test_event_dump.py index bc54149e8f2..56b67da96df 100644 --- a/test/py/tests/test_event_dump.py +++ b/test/py/tests/test_event_dump.py @@ -16,6 +16,6 @@ def test_event_dump(u_boot_console): out = util.run_and_log(cons, ['scripts/event_dump.py', sandbox]) expect = '''.*Event type Id Source location -------------------- ------------------------------ ------------------------------ -EVT_FT_FIXUP bootmeth_vbe_simple_ft_fixup .*boot/vbe_simple.c:.* -EVT_MISC_INIT_F sandbox_misc_init_f .*arch/sandbox/cpu/start.c:''' +EVT_FT_FIXUP bootmeth_vbe_simple_ft_fixup .*vbe_simple.c:.* +EVT_MISC_INIT_F sandbox_misc_init_f .*start.c:''' assert re.match(expect, out, re.MULTILINE) is not None -- 2.38.0.rc1.362.ged0d419d3c-goog