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 = [] for f in files: d = data[f] = {} for row in csv.reader(open(f)): + if len(row) < 2: + continue t = row[1].strip() + try: + val = float(row[0]) + except ValueError: + continue if f == ref_f: tests.append(t) - d[t] = float(row[0]) + d[t] = val max_test_name = max(len(t), max_test_name) def report_text():