From b7a2d77e59fd63a965b9e2294910d056061ac1f3 Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Thu, 15 Dec 2022 11:40:40 +0800 Subject: [PATCH] ci: remove ttfw `print_heap_size` since it's migrated to pytest --- tools/ci/python_packages/ttfw_idf/__init__.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/tools/ci/python_packages/ttfw_idf/__init__.py b/tools/ci/python_packages/ttfw_idf/__init__.py index b9b9936a22..2479f1e0e1 100644 --- a/tools/ci/python_packages/ttfw_idf/__init__.py +++ b/tools/ci/python_packages/ttfw_idf/__init__.py @@ -311,22 +311,3 @@ def check_performance(item, value, target): break else: raise AssertionError('Failed to get performance standard for {}'.format(item)) - - -MINIMUM_FREE_HEAP_SIZE_RE = re.compile(r'Minimum free heap size: (\d+) bytes') - - -def print_heap_size(app_name, config_name, target, minimum_free_heap_size): - """ - Do not change the print output in case you really need to. - The result is parsed by ci-dashboard project - """ - print('------ heap size info ------\n' - '[app_name] {}\n' - '[config_name] {}\n' - '[target] {}\n' - '[minimum_free_heap_size] {} Bytes\n' - '------ heap size end ------'.format(app_name, - '' if not config_name else config_name, - target, - minimum_free_heap_size))