[RFC PATCH 21/31] test: event: update the expected event dump output

Sughosh Ganu sughosh.ganu at linaro.org
Fri Jun 7 20:52:30 CEST 2024


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 <sughosh.ganu at linaro.org>
---
 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
-- 
2.34.1



More information about the U-Boot mailing list