summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/bin/expedite-cmp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bin/expedite-cmp b/src/bin/expedite-cmp
index ea6d5ec..7745ba5 100755
--- a/src/bin/expedite-cmp
+++ b/src/bin/expedite-cmp
@@ -58,10 +58,16 @@ tests = []
58for f in files: 58for f in files:
59 d = data[f] = {} 59 d = data[f] = {}
60 for row in csv.reader(open(f)): 60 for row in csv.reader(open(f)):
61 if len(row) < 2:
62 continue
61 t = row[1].strip() 63 t = row[1].strip()
64 try:
65 val = float(row[0])
66 except ValueError:
67 continue
62 if f == ref_f: 68 if f == ref_f:
63 tests.append(t) 69 tests.append(t)
64 d[t] = float(row[0]) 70 d[t] = val
65 max_test_name = max(len(t), max_test_name) 71 max_test_name = max(len(t), max_test_name)
66 72
67def report_text(): 73def report_text():