mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 13:44:32 +02:00
Merge branch 'ci/shorter_performance_test_log' into 'master'
ci: optimize performance test log See merge request espressif/esp-idf!13607
This commit is contained in:
@@ -149,7 +149,7 @@ class JunitReport(object):
|
||||
assert cls.JUNIT_CURRENT_TEST_CASE
|
||||
|
||||
for item in performance_items:
|
||||
cls.JUNIT_CURRENT_TEST_CASE.stdout += '[{}]: {}\n'.format(item[0], item[1])
|
||||
cls.JUNIT_CURRENT_TEST_CASE.stdout += '[Performance][{}]: {}\n'.format(item[0], item[1])
|
||||
|
||||
|
||||
def test_method(**kwargs):
|
||||
|
@@ -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):
|
||||
|
Reference in New Issue
Block a user