diff options
| author | Angus Gratton <gus@projectgus.com> | 2022-06-24 13:27:25 +1000 |
|---|---|---|
| committer | Angus Gratton <gus@projectgus.com> | 2022-06-28 14:22:06 +1000 |
| commit | e024a4c59cb4af6a8d05104df161c61702c2ce4b (patch) | |
| tree | 574976687e10869d44c27055d49be3f617dff8b0 /tests/run-perfbench.py | |
| parent | ad308bc32285f27725299aa329ca0d00cb3805e7 (diff) | |
tests: Fix run-perfbench parsing "no matching params" case.
Signed-off-by: Angus Gratton <gus@projectgus.com>
Diffstat (limited to 'tests/run-perfbench.py')
| -rwxr-xr-x | tests/run-perfbench.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-perfbench.py b/tests/run-perfbench.py index f76aa511a..d70b99693 100755 --- a/tests/run-perfbench.py +++ b/tests/run-perfbench.py @@ -187,7 +187,7 @@ def parse_output(filename): m = int(m.split("=")[1]) data = [] for l in f: - if l.find(": ") != -1 and l.find(": SKIP") == -1 and l.find("CRASH: ") == -1: + if ": " in l and ": SKIP" not in l and "CRASH: " not in l: name, values = l.strip().split(": ") values = tuple(float(v) for v in values.split()) data.append((name,) + values) |
