sandbox: Drop the 'starting...' message
authorSimon Glass <sjg@chromium.org>
Mon, 8 Mar 2021 00:34:40 +0000 (17:34 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 12 Mar 2021 14:57:29 +0000 (09:57 -0500)
This message is annoying since it is only useful for testing. Drop it and
update the test to cope.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/start.c
test/py/tests/test_log.py

index c4c4128..e87365e 100644 (file)
@@ -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 */
index f889120..140dcb9 100644 (file)
@@ -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)