Merge branch 'ci/add-app-path-to-log-min-free-heap-size' into 'master'

ci: add app_path to log_minimum_free_heap_size to allow better identification of apps

See merge request espressif/esp-idf!35627
This commit is contained in:
Aleksei Apaseev
2024-12-13 17:44:40 +08:00

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') res = dut.expect(r'Minimum free heap size: (\d+) bytes')
logging.info( logging.info(
'\n------ heap size info ------\n' '\n------ heap size info ------\n'
'[app_path] {}\n'
'[app_name] {}\n' '[app_name] {}\n'
'[config_name] {}\n' '[config_name] {}\n'
'[target] {}\n' '[target] {}\n'
'[minimum_free_heap_size] {} Bytes\n' '[minimum_free_heap_size] {} Bytes\n'
'------ heap size end ------'.format( '------ heap size end ------'.format(
dut.app.app_path,
os.path.basename(dut.app.app_path), os.path.basename(dut.app.app_path),
config, config,
dut.target, dut.target,