diff options
author | Tom Rini <trini@konsulko.com> | 2020-10-11 15:22:05 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-11 15:22:05 -0400 |
commit | 726561a9412abe50875b7791feab94f411d76199 (patch) | |
tree | 62196ca628174d0b1502fc0b87f09e7c73ce2e14 /test/py/tests/test_log.py | |
parent | 0437cc415517c06c864bee5dbce3001d70b2c2cb (diff) | |
parent | 1ecb6beb95fcf3369bcd964f25d8954d048846a7 (diff) |
Merge branch '2020-10-10-log-improvements'
- Assorted improvements to our log functionality.
Diffstat (limited to 'test/py/tests/test_log.py')
-rw-r--r-- | test/py/tests/test_log.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/py/tests/test_log.py b/test/py/tests/test_log.py index ddc28f19ee8..275f9382d2f 100644 --- a/test/py/tests/test_log.py +++ b/test/py/tests/test_log.py @@ -92,6 +92,13 @@ def test_log(u_boot_console): for i in range(7): assert 'log_test() level %d' % i == next(lines) + def test11(): + """Test use of log_device_set_enable()""" + lines = run_test(11) + assert 'log_test() default' + # disabled should not be displayed + assert 'log_test() enabled' + # TODO(sjg@chromium.org): Consider structuring this as separate tests cons = u_boot_console test0() @@ -105,6 +112,7 @@ def test_log(u_boot_console): test8() test9() test10() + test11() @pytest.mark.buildconfigspec('cmd_log') def test_log_format(u_boot_console): |