summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-06-23 14:30:20 -0600
committerTom Rini <trini@konsulko.com>2024-07-04 09:25:20 -0600
commit7f65e69c81c7b2cbec1cb2d719d6335312256904 (patch)
tree3a26e349b97ccbeafdf0eb91b61cdea8bb732d0c /test
parent0f073e022ddc5070e5df1d053e4bdc1874fbcc0f (diff)
downloadu-boot-7f65e69c81c7b2cbec1cb2d719d6335312256904.tar.gz
u-boot-7f65e69c81c7b2cbec1cb2d719d6335312256904.tar.bz2
u-boot-7f65e69c81c7b2cbec1cb2d719d6335312256904.zip
trace: Update test to tolerate different trace-cmd version
Some versions of trace-cmd (or some machines?) show one less dot in the CPU list. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/py/tests/test_trace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/tests/test_trace.py b/test/py/tests/test_trace.py
index 7c5696ce74..f41d4cf71f 100644
--- 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):