raster pushed a commit to branch master. http://git.enlightenment.org/tools/expedite.git/commit/?id=9db3724e47e95d5d9a6196014c73bdc58ebe85a9
commit 9db3724e47e95d5d9a6196014c73bdc58ebe85a9 Author: Wander Lairson Costa <wander.lair...@gmail.com> Date: Tue Nov 10 08:31:13 2020 +0000 Skip ill formed lines Summary: Some lines reported by expedite are just informative, like the window size. We skip lines that don't have the formatting we expect. Fixes T8852 Reviewers: vtorri, raster Reviewed By: raster Maniphest Tasks: T8852 Differential Revision: https://phab.enlightenment.org/D12186 --- src/bin/expedite-cmp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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(): --