Python tests with pytest 6

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Jan 30 12:49:31 CET 2021


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]
_____________________________________________


More information about the U-Boot mailing list