[PATCH v2 1/1] test: fit: Use shared make_fname from fit_util

Simon Glass sjg at chromium.org
Mon May 4 14:33:26 CEST 2026


On 2026-05-01T05:51:04, Aristo Chen <aristo.chen at canonical.com> wrote:
> test: fit: Use shared make_fname from fit_util
>
> test_fit.py declares a local make_fname closure that is byte-identical
> to fit_util.make_fname. Drop the local copy and call the shared helper
> at all seven call sites so there is one definition to maintain.
>
> No behavioural change. Both implementations return
> os.path.join(ubman.config.build_dir, basename).
>
> Signed-off-by: Aristo Chen <aristo.chen at canonical.com>
>
> test/py/tests/test_fit.py | 26 +++++++-------------------
>  1 file changed, 7 insertions(+), 19 deletions(-)

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


More information about the U-Boot mailing list