ci: remove ttfw `print_heap_size` since it's migrated to pytest

pull/10469/head
Fu Hanxi 2022-12-15 11:40:40 +08:00
rodzic 6ee874ccad
commit b7a2d77e59
1 zmienionych plików z 0 dodań i 19 usunięć

Wyświetl plik

@ -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))