ci: shorter performance test log

This commit is contained in:
Fu Hanxi
2021-05-20 12:18:36 +08:00
parent 2e4d3ad880
commit 4304866780

View File

@@ -33,7 +33,6 @@ except ImportError:
from serial.tools import list_ports
from tiny_test_fw import DUT, Utility
from tiny_test_fw.Utility import format_case_id
try:
import esptool
@@ -72,8 +71,7 @@ class IDFRecvThread(DUT.RecvThread):
def collect_performance(self, comp_data):
matches = self.PERFORMANCE_PATTERN.findall(comp_data)
for match in matches:
Utility.console_log('[Performance][{}]: {}'.format(format_case_id(match[0], self.dut.app.target, self.dut.app.config_name), match[1]),
color='orange')
Utility.console_log('[Performance][{}]: {}'.format(match[0], match[1]), color='orange')
self.performance_items.put((match[0], match[1]))
def detect_exception(self, comp_data):