On Thu, 22 Aug 2024 13:57:26 +0200, Ahmad Fatoum wrote: > We have a top level pytest.ini to support running pytest --lg-env=$some_env > without extra arguments. This works for running tests nornally, but not if > extra options like --qemu should be used, because the conftest.py won't > be loaded early enough. > > The easy fix is moving the conftest.py a level higher as described in: > > [...] Applied, thanks! [1/5] test: conftest.py: move top-level https://git.pengutronix.de/cgit/barebox/commit/?id=884fd2ec8497 (link may not be stable) [2/5] MAKEALL: return error code from do_build_target https://git.pengutronix.de/cgit/barebox/commit/?id=4a89f37d0c2b (link may not be stable) [3/5] MAKEALL: don't build all configs wen defconfigs given https://git.pengutronix.de/cgit/barebox/commit/?id=3c0c3ebaa523 (link may not be stable) [4/5] MAKEALL: add support for running pytest after build https://git.pengutronix.de/cgit/barebox/commit/?id=d0ef5a0c8e3a (link may not be stable) [5/5] Documentation: board: emulated: rewrite to use MAKEALL/pytest directly https://git.pengutronix.de/cgit/barebox/commit/?id=af54b28a8c1d (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>