diff mbox series

[3/6] event: Re-add file paths to the tests

Message ID 20221122173158.2231821-3-trini@konsulko.com
State Accepted
Commit 583f124aac205b354b3b73ebb62c79e8cc41e6d5
Delegated to: Tom Rini
Headers show
Series [1/6] buildman: Fetch 12.2.0 toolchains by default | expand

Commit Message

Tom Rini Nov. 22, 2022, 5:31 p.m. UTC
Now that we are enforcing dwarf-4 to be used we will have the full file
paths present.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
 test/py/tests/test_event_dump.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Simon Glass Nov. 23, 2022, 2:09 a.m. UTC | #1
On Tue, 22 Nov 2022 at 10:32, Tom Rini <trini@konsulko.com> wrote:
>
> Now that we are enforcing dwarf-4 to be used we will have the full file
> paths present.
>
> Cc: Simon Glass <sjg@chromium.org>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
>  test/py/tests/test_event_dump.py | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/test/py/tests/test_event_dump.py b/test/py/tests/test_event_dump.py
index 1a46ca30f42e..da196df4c3e6 100644
--- a/test/py/tests/test_event_dump.py
+++ b/test/py/tests/test_event_dump.py
@@ -16,7 +16,7 @@  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_ft_fixup           .*vbe_request.c:.*
-EVT_FT_FIXUP          bootmeth_vbe_simple_ft_fixup    .*vbe_simple_os.c:.*
-EVT_MISC_INIT_F       sandbox_misc_init_f             .*start.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_MISC_INIT_F       sandbox_misc_init_f             .*arch/sandbox/cpu/start.c:'''
     assert re.match(expect, out, re.MULTILINE) is not None