mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
tests: Fix run-perfbench parsing "no matching params" case.
Signed-off-by: Angus Gratton <gus@projectgus.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user