From: Simon Glass Date: Mon, 8 Mar 2021 00:34:40 +0000 (-0700) Subject: sandbox: Drop the 'starting...' message X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=bef1b283354fdd055962b7ad5ab9f59d75a11bd7;p=u-boot.git sandbox: Drop the 'starting...' message This message is annoying since it is only useful for testing. Drop it and update the test to cope. Signed-off-by: Simon Glass --- diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c index c4c4128d46..e87365e800 100644 --- a/arch/sandbox/cpu/start.c +++ b/arch/sandbox/cpu/start.c @@ -491,7 +491,6 @@ int main(int argc, char *argv[]) gd->reloc_off = (ulong)gd->arch.text_base; /* sandbox test: log functions called before log_init in board_init_f */ - log_info("sandbox: starting...\n"); log_debug("debug: %s\n", __func__); /* Do pre- and post-relocation init */ diff --git a/test/py/tests/test_log.py b/test/py/tests/test_log.py index f889120f2b..140dcb9aa2 100644 --- a/test/py/tests/test_log.py +++ b/test/py/tests/test_log.py @@ -45,5 +45,4 @@ def test_log_dropped(u_boot_console): cons = u_boot_console cons.restart_uboot() output = cons.get_spawn_output().replace('\r', '') - assert 'sandbox: starting...' in output assert (not 'debug: main' in output)