From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 8 May 2020 18:59:47 -0400 Subject: [PATCH 2/2] test: fix naming of test functions in the log test suite In-Reply-To: <20200506162608.96975-3-xypron.glpk@gmx.de> References: <20200506162608.96975-1-xypron.glpk@gmx.de> <20200506162608.96975-3-xypron.glpk@gmx.de> Message-ID: <20200508225947.GA12564@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, May 06, 2020 at 06:26:08PM +0200, Heinrich Schuchardt wrote: > 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 > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: