From patchwork Fri Jun 7 18:52:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 802332 Delivered-To: patch@linaro.org Received: by 2002:adf:f147:0:b0:35b:5a80:51b4 with SMTP id y7csp949661wro; Fri, 7 Jun 2024 11:57:11 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVhpPH0J/7wev64CVsKRfcKzdItt9ZOEg2sCuiMQNMRAAU7eUhN2562mhsA9R+OgvdzcPb7ngRVzffm0nPTzy3Q X-Google-Smtp-Source: AGHT+IEMYCkSzfKaybcm+utm3QYuUkyPzAoWNqMMQylNG7GQ04xQb8TDr9wlOb2kP/9sV0hBzwas X-Received: by 2002:a50:a685:0:b0:578:72d4:e3b0 with SMTP id 4fb4d7f45d1cf-57c509a6080mr2038461a12.36.1717786631486; Fri, 07 Jun 2024 11:57:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1717786631; cv=none; d=google.com; s=arc-20160816; b=vC0hgr4QU2OkIdKzVtJK9mjn9QlV17ZZXmPXX5O8mv1QlepXEic4FgOEifhDvd93La 6xD0vEbC+jA4qZMnpkawPgTu0mJg6TVQE0wMdS4WjEPWnC/o/lCcw2lNidbKVpWhRlLl FCkrEKNSoQj3joej29VpWy88x2IVaQ+CoVAbL08j9rk3HgqBffxSG/cPbdQNS8e+15m7 FXweo/rIqOXjSyIJunyOm44i/i0nixEXrlxMKxkLY4HyRRP0Bgd9ZqVO3N1Bo3Xq6x7y Rto+EWDrooc3+XwysFDxjllIZxkbzCXX5+gyQMP5mroEUwTGI+bVQ2LO7mxXCXLbkOB/ S2Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=/d2XefymbUZXO9cW48TkS4vwsI9woQP145vu17/8itc=; fh=xLSOOz5Q0Mrmzd+lwBRTYS7D/8TpUWM8TEHgIjpMzow=; b=LU7oJ5Ot4oI6+7lNcPag+qyWDuz8SejISxZS7uiYCE9UFJR//fL1922FA3lgqhUsx1 IZZXu1VzK7FqJ/o3Lf4VZOMpIH8bDMV7coMScz5WWZlHrcaVsSnuP3fXGVhZJF2H0Fw0 ZI8ys6W9FXmagoGi08MugqMB9vPDMqocTs4UT2I/9vkyiwRdLExjcGd8Fn2pCwFRXjvp I63pCR0CvKD47jf6NrNarrSF6LoqTgW8sCSzFSOP+GYYImQyoMWR3sRtkwnT6AUEolqS OO9+htuTkqvNtwqEkBTvHlyaO0JNsWbWdKcXtwBpXJ+8YIW5JyEllir2clbKvpzU+dA8 mpFQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57aae28dcc5si1993172a12.661.2024.06.07.11.57.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 11:57:11 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DE6E38852D; Fri, 7 Jun 2024 20:54:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 189198852E; Fri, 7 Jun 2024 20:54:43 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id 2113688470 for ; Fri, 7 Jun 2024 20:54:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sughosh.ganu@linaro.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0C8141480; Fri, 7 Jun 2024 11:55:05 -0700 (PDT) Received: from a079122.blr.arm.com (a079122.arm.com [10.162.17.48]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D06AA3F792; Fri, 7 Jun 2024 11:54:37 -0700 (PDT) From: Sughosh Ganu To: u-boot@lists.denx.de Cc: Tom Rini , Ilias Apalodimas , Heinrich Schuchardt , Simon Glass , Marek Vasut , Mark Kettenis , Fabio Estevam , Sughosh Ganu Subject: [RFC PATCH 21/31] test: event: update the expected event dump output Date: Sat, 8 Jun 2024 00:22:30 +0530 Message-Id: <20240607185240.1892031-22-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240607185240.1892031-1-sughosh.ganu@linaro.org> References: <20240607185240.1892031-1-sughosh.ganu@linaro.org> MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean With the addition of two events for notification of any changes to memory that is occupied and is free, the output of the event_dump.py script has changed. Update the expected event log to incorporate this change. Signed-off-by: Sughosh Ganu --- test/py/tests/test_event_dump.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/py/tests/test_event_dump.py b/test/py/tests/test_event_dump.py index e282c67335..b14e098895 100644 --- a/test/py/tests/test_event_dump.py +++ b/test/py/tests/test_event_dump.py @@ -16,9 +16,11 @@ 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_EFI_MEM_MAP_UPDATE efi_mem_map_update_sync .*lib/lmb.c:.* EVT_FT_FIXUP bootmeth_vbe_ft_fixup .*boot/vbe_request.c:.* EVT_FT_FIXUP bootmeth_vbe_simple_ft_fixup .*boot/vbe_simple_os.c:.* EVT_LAST_STAGE_INIT install_smbios_table .*lib/efi_loader/efi_smbios.c:.* +EVT_LMB_MAP_UPDATE lmb_mem_map_update_sync .*lib/efi_loader/efi_memory.c:.* EVT_MISC_INIT_F sandbox_early_getopt_check .*arch/sandbox/cpu/start.c:.* EVT_TEST h_adder_simple .*test/common/event.c:''' assert re.match(expect, out, re.MULTILINE) is not None