[PATCH 1/1] test: fit: Use shared make_fname from fit_util
Simon Glass
sjg at chromium.org
Mon Apr 20 21:34:33 CEST 2026
On 2026-04-20T07:48:05, 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 | 24 +++++++-----------------
> 1 file changed, 7 insertions(+), 17 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list