From 642975c2949cbcc362c6e6260936952f1f1a5cb8 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 6 Sep 2023 16:34:01 -0400 Subject: deqp-results-to-markdown: Allow missing deqp-* results --- deqp-results-to-markdown | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/deqp-results-to-markdown b/deqp-results-to-markdown index 0874513..6ef3106 100755 --- a/deqp-results-to-markdown +++ b/deqp-results-to-markdown @@ -21,11 +21,14 @@ def main(): for o in outcomes: histogram[o] = 0 - with open(f'deqp-{API}/results.csv') as csvfile: - reader = csv.reader(csvfile) - for row in reader: - test_result = row[1] - histogram[test_result] += 1 + try: + with open(f'deqp-{API}/results.csv') as csvfile: + reader = csv.reader(csvfile) + for row in reader: + test_result = row[1] + histogram[test_result] += 1 + except IOError as error: + continue for o in outcomes: if histogram[o] == 0: -- cgit v1.2.3