[PATCH v2 2/8] patman: locate test data files via __file__ and pathlib

Simon Glass sjg at chromium.org
Mon Dec 19 20:20:45 CET 2022


On Mon, 19 Dec 2022 at 07:53, Maxim Cournoyer <maxim.cournoyer at gmail.com> wrote:
>
> Previously it would rely on the executing script location, which could
> break for example when running the tests via 'pytest'.
>
> Signed-off-by: Maxim Cournoyer <maxim.cournoyer at savoirfairelinux.com>
> ---
>
> (no changes since v1)
>
>  tools/patman/func_test.py | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list