event: Drop the path when checking event-list filenames
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 <sjg@chromium.org>
This commit is contained in:
parent
d138792112
commit
5fe72d968f
@ -16,7 +16,7 @@ def test_event_dump(u_boot_console):
|
|||||||
out = util.run_and_log(cons, ['scripts/event_dump.py', sandbox])
|
out = util.run_and_log(cons, ['scripts/event_dump.py', sandbox])
|
||||||
expect = '''.*Event type Id Source location
|
expect = '''.*Event type Id Source location
|
||||||
-------------------- ------------------------------ ------------------------------
|
-------------------- ------------------------------ ------------------------------
|
||||||
EVT_FT_FIXUP bootmeth_vbe_ft_fixup .*boot/vbe_fixup.c:.*
|
EVT_FT_FIXUP bootmeth_vbe_ft_fixup .*vbe_fixup.c:.*
|
||||||
EVT_FT_FIXUP bootmeth_vbe_simple_ft_fixup .*boot/vbe_simple.c:.*
|
EVT_FT_FIXUP bootmeth_vbe_simple_ft_fixup .*vbe_simple.c:.*
|
||||||
EVT_MISC_INIT_F sandbox_misc_init_f .*arch/sandbox/cpu/start.c:'''
|
EVT_MISC_INIT_F sandbox_misc_init_f .*start.c:'''
|
||||||
assert re.match(expect, out, re.MULTILINE) is not None
|
assert re.match(expect, out, re.MULTILINE) is not None
|
||||||
|
Loading…
Reference in New Issue
Block a user