diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-05-06 18:26:08 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-08 18:29:16 -0400 |
commit | be51c3ca088695e851daf38677d4a8f0fe666f77 (patch) | |
tree | b900de948a5f6fc73d2d1fdafd44288e7830bf93 /arch | |
parent | d0ba026bd22e4b1dfe918da8460bb418bc9f3217 (diff) | |
download | u-boot-be51c3ca088695e851daf38677d4a8f0fe666f77.zip u-boot-be51c3ca088695e851daf38677d4a8f0fe666f77.tar.gz u-boot-be51c3ca088695e851daf38677d4a8f0fe666f77.tar.bz2 |
test: fix naming of test functions in the log test suite
Both the nolog as well as the syslog tests were not found by Python
function generate_ut_subtest() due to not following the nameing
requirements imposed by the regular expression used to find linker
generated list entries in file u-boot.sym.
Adjust the naming of test functions.
With the patch the following tests are executed successfully for
sandbox_defconfig:
test/py/tests/test_ut.py::test_ut[ut_log_syslog_debug] PASSED
test/py/tests/test_ut.py::test_ut[ut_log_syslog_err] PASSED
test/py/tests/test_ut.py::test_ut[ut_log_syslog_info] PASSED
test/py/tests/test_ut.py::test_ut[ut_log_syslog_nodebug] PASSED
test/py/tests/test_ut.py::test_ut[ut_log_syslog_notice] PASSED
test/py/tests/test_ut.py::test_ut[ut_log_syslog_warning] PASSED
The nolog tests are only executed if CONFIG_LOG=n and
CONFIG_CONSOLE_RECORD=y.
Reported-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions