git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f073e0
)
trace: Update test to tolerate different trace-cmd version
author
Simon Glass
<sjg@chromium.org>
Sun, 23 Jun 2024 20:30:20 +0000
(14:30 -0600)
committer
Tom Rini
<trini@konsulko.com>
Thu, 4 Jul 2024 15:25:20 +0000
(09:25 -0600)
Some versions of trace-cmd (or some machines?) show one less dot in the
CPU list.
Signed-off-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_trace.py
patch
|
blob
|
history
diff --git
a/test/py/tests/test_trace.py
b/test/py/tests/test_trace.py
index
7c5696c
..
f41d4cf
100644
(file)
--- a/
test/py/tests/test_trace.py
+++ b/
test/py/tests/test_trace.py
@@
-12,7
+12,7
@@
import u_boot_utils as util
TMPDIR = '/tmp/test_trace'
# Decode a function-graph line
-RE_LINE = re.compile(r'.*0\.\.\.\.\. \s*([0-9.]*): func.*[|](\s*)(\S.*)?([{};])$')
+RE_LINE = re.compile(r'.*0\.\.\.\.\.
?
\s*([0-9.]*): func.*[|](\s*)(\S.*)?([{};])$')
def collect_trace(cons):