From: Heinrich Schuchardt Date: Sat, 30 Jan 2021 12:49:31 +0100 Subject: Python tests with pytest 6 Message-ID: <55d80ea8-d6a7-f7db-e1b2-142c0b7b63f7@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Stephen, with pytest 6 U-Boot's Python test output is messed up. The module names are not printed anymore. This seems not to be a problem of pytest. When running text book examples the module names are printed. So it must be in our code. Looking multiplexed_log.py it seems that you have highly customized the logging. Maybe you want to have look at it. Best regards Heinrich make tests ./test/run sandbox: +make O=/build-sandbox -s sandbox_defconfig +make O=build-sandbox -s -j8 ================================================ test session starts ================================================= platform linux -- Python 3.9.1+, pytest-6.0.2, py-1.10.0, pluggy-0.13.0 rootdir: /home/zfsdt/workspace/u-boot-build/denx/test/py, configfile: pytest.ini collected 792 items .....s.....sss.ssssss................ssssssssssssssssssssssssssss.........s.............................................................................sssss.ssssss.............s.ssss....ss...........s.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ss..s.....................F............F................................................................................ ====================================================== FAILURES ====================================================== ____________________________________________ TestFsBasic.test_fs1[fat16] _____________________________________________