summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdeqp-results-to-markdown13
1 files 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: