ci: add app_path to log_minimum_free_heap_size to allow better identification of the app based on its path

This commit is contained in:
Aleksei Apaseev 2024-12-13 11:22:53 +08:00
parent 32905aa39e
commit 819703c442

View File

@ -362,11 +362,13 @@ def log_minimum_free_heap_size(dut: IdfDut, config: str) -> t.Callable[..., None
res = dut.expect(r'Minimum free heap size: (\d+) bytes')
logging.info(
'\n------ heap size info ------\n'
'[app_path] {}\n'
'[app_name] {}\n'
'[config_name] {}\n'
'[target] {}\n'
'[minimum_free_heap_size] {} Bytes\n'
'------ heap size end ------'.format(
dut.app.app_path,
os.path.basename(dut.app.app_path),
config,
dut.target,