summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2023-09-06 16:34:01 -0400
committerMatt Turner <mattst88@gmail.com>2023-09-06 16:41:12 -0400
commit642975c2949cbcc362c6e6260936952f1f1a5cb8 (patch)
treedca6c580736cfe6a1cb99af3f7104124d1498261
parent9ebf7c93103266d6a648543e00cc1b26213efc83 (diff)
deqp-results-to-markdown: Allow missing deqp-* results
-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: