From 73c2609a72b3559a5526624560ccdf9dd4986890 Mon Sep 17 00:00:00 2001 From: John Richardson Date: Mon, 1 Aug 2016 13:52:22 +0100 Subject: [PATCH 1/5] Fix message regex in uxperf result processor The logcat output differs between devices. Modify the regex pattern to accommodate different output formats when matching UX_PERF markers. --- wlauto/result_processors/uxperf.py | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/wlauto/result_processors/uxperf.py b/wlauto/result_processors/uxperf.py index f303df30..d6ef166e 100644 --- a/wlauto/result_processors/uxperf.py +++ b/wlauto/result_processors/uxperf.py @@ -123,14 +123,7 @@ class UxPerfParser(object): self.logger = logging.getLogger('UxPerfParser') # regex for matching logcat message format: - # date time PID-TID/package priority/tag: message - self.regex = re.compile(r'(?P\d{2}-\d{2})\s+' - '(?P