diff options
author | Simon Glass <sjg@chromium.org> | 2017-12-28 13:14:18 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-02-03 10:09:27 -0700 |
commit | deca50fbd594d9aa845fc724a1758a1f61011ddb (patch) | |
tree | 520eeb60afb998405a68fb0bc66daf311d70a708 /test/py/tests | |
parent | 3b73e8d067fb7cb504bed2018583980a3cd3f4bc (diff) |
log: Update log_console to honour the log format
At present this just outputs the message. Update it to output whatever the
format requests.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/tests')
-rw-r--r-- | test/py/tests/test_log.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/py/tests/test_log.py b/test/py/tests/test_log.py index fa9a25e8dc..517f415143 100644 --- a/test/py/tests/test_log.py +++ b/test/py/tests/test_log.py @@ -28,9 +28,9 @@ def test_log(u_boot_console): """ for i in range(max_level): if mask & 1: - assert 'log %d' % i == lines.next() + assert 'log_run() log %d' % i == lines.next() if mask & 3: - assert '_log %d' % i == lines.next() + assert 'func() _log %d' % i == lines.next() def run_test(testnum): """Run a particular test number (the 'log test' command) |