tests: Fix run-perfbench parsing "no matching params" case.
Signed-off-by: Angus Gratton <gus@projectgus.com>
This commit is contained in:
parent
ad308bc322
commit
e024a4c59c
|
@ -15,7 +15,7 @@ def bm_run(N, M):
|
||||||
cur_nm = nm
|
cur_nm = nm
|
||||||
param = p
|
param = p
|
||||||
if param is None:
|
if param is None:
|
||||||
print(-1, -1, "no matching params")
|
print(-1, -1, "SKIP: no matching params")
|
||||||
return
|
return
|
||||||
|
|
||||||
# Run and time benchmark
|
# Run and time benchmark
|
||||||
|
|
|
@ -187,7 +187,7 @@ def parse_output(filename):
|
||||||
m = int(m.split("=")[1])
|
m = int(m.split("=")[1])
|
||||||
data = []
|
data = []
|
||||||
for l in f:
|
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(": ")
|
name, values = l.strip().split(": ")
|
||||||
values = tuple(float(v) for v in values.split())
|
values = tuple(float(v) for v in values.split())
|
||||||
data.append((name,) + values)
|
data.append((name,) + values)
|
||||||
|
|
Loading…
Reference in New Issue