mirror of
https://xff.cz/git/u-boot/
synced 2025-10-18 08:23:24 +02:00
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>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user