]> git.dujemihanovic.xyz Git - u-boot.git/commit
log: Add tests for the new log features
authorSimon Glass <sjg@chromium.org>
Thu, 28 Dec 2017 20:14:21 +0000 (13:14 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 3 Feb 2018 17:09:27 +0000 (10:09 -0700)
commitaa4e0e005bfec08bcd0844ad043bba6226276474
treeefdd4caf9b2fa2c142a1bfe1f9b104d9ad03e8a7
parent3fd24fa9ed0c81a2cb254c4a27d5ec185726e0f3
log: Add tests for the new log features

Add a test of the 'log format' and 'log rec' commands. This also covers
things like log_get_cat_by_name(), since they are used by these commands.
Fix a style nit in the tests also.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_log.py