diff options
| author | Simon Glass <[email protected]> | 2024-06-23 14:30:20 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-07-04 09:25:20 -0600 |
| commit | 7f65e69c81c7b2cbec1cb2d719d6335312256904 (patch) | |
| tree | 3a26e349b97ccbeafdf0eb91b61cdea8bb732d0c | |
| parent | 0f073e022ddc5070e5df1d053e4bdc1874fbcc0f (diff) | |
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 <[email protected]>
| -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 7c5696ce747..f41d4cf71f0 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): |
