forked from espressif/esp-idf
ci: shorter performance test log
This commit is contained in:
@@ -33,7 +33,6 @@ except ImportError:
|
|||||||
|
|
||||||
from serial.tools import list_ports
|
from serial.tools import list_ports
|
||||||
from tiny_test_fw import DUT, Utility
|
from tiny_test_fw import DUT, Utility
|
||||||
from tiny_test_fw.Utility import format_case_id
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import esptool
|
import esptool
|
||||||
@@ -72,8 +71,7 @@ class IDFRecvThread(DUT.RecvThread):
|
|||||||
def collect_performance(self, comp_data):
|
def collect_performance(self, comp_data):
|
||||||
matches = self.PERFORMANCE_PATTERN.findall(comp_data)
|
matches = self.PERFORMANCE_PATTERN.findall(comp_data)
|
||||||
for match in matches:
|
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]),
|
Utility.console_log('[Performance][{}]: {}'.format(match[0], match[1]), color='orange')
|
||||||
color='orange')
|
|
||||||
self.performance_items.put((match[0], match[1]))
|
self.performance_items.put((match[0], match[1]))
|
||||||
|
|
||||||
def detect_exception(self, comp_data):
|
def detect_exception(self, comp_data):
|
||||||
|
Reference in New Issue
Block a user