diff options
author | Simon Glass <sjg@chromium.org> | 2024-06-23 14:30:20 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-07-04 09:25:20 -0600 |
commit | 7f65e69c81c7b2cbec1cb2d719d6335312256904 (patch) | |
tree | 3a26e349b97ccbeafdf0eb91b61cdea8bb732d0c /test | |
parent | 0f073e022ddc5070e5df1d053e4bdc1874fbcc0f (diff) | |
download | u-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.py | 2 |
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): |