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

Tom Rini trini at konsulko.com
Thu Apr 30 22:00:45 CEST 2026


On Mon, Apr 20, 2026 at 07:48:05AM +0000, Aristo Chen wrote:

> 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>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
>  test/py/tests/test_fit.py | 24 +++++++-----------------
>  1 file changed, 7 insertions(+), 17 deletions(-)

Can you please rebase this on current master? Thanks.

-- 
Tom


More information about the U-Boot mailing list