mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 20:54:32 +02:00
Merge branch 'bugfix/fix_ttfw_idf_performance_check_not_work' into 'master'
ttfw: fix ttfw_idf performance check not work See merge request espressif/esp-idf!10001
This commit is contained in:
@@ -286,14 +286,16 @@ def check_performance(item, value, target):
|
|||||||
|
|
||||||
for performance_file in performance_files:
|
for performance_file in performance_files:
|
||||||
try:
|
try:
|
||||||
op, value = _find_perf_item(performance_file)
|
op, standard = _find_perf_item(performance_file)
|
||||||
except (IOError, AttributeError):
|
except (IOError, AttributeError):
|
||||||
# performance file doesn't exist or match is not found in it
|
# performance file doesn't exist or match is not found in it
|
||||||
continue
|
continue
|
||||||
|
|
||||||
_check_perf(op, value)
|
_check_perf(op, standard)
|
||||||
# if no exception was thrown then the performance is met and no need to continue
|
# if no exception was thrown then the performance is met and no need to continue
|
||||||
break
|
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')
|
MINIMUM_FREE_HEAP_SIZE_RE = re.compile(r'Minimum free heap size: (\d+) bytes')
|
||||||
|
Reference in New Issue
Block a user