]> git.baikalelectronics.ru Git - uboot.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)
commit2baa8ce1f9e9f45cd6fcfccf637b5d05604e42e0
treeefdd4caf9b2fa2c142a1bfe1f9b104d9ad03e8a7
parent2bc60adec7fd6af8d608dc4675d5d9c6293d8a75
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