summaryrefslogtreecommitdiff
path: root/piglit-summary-html.py
diff options
context:
space:
mode:
Diffstat (limited to 'piglit-summary-html.py')
-rwxr-xr-xpiglit-summary-html.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/piglit-summary-html.py b/piglit-summary-html.py
index e75aca9bb..63d8b60ba 100755
--- a/piglit-summary-html.py
+++ b/piglit-summary-html.py
@@ -317,7 +317,12 @@ def main():
summaryDir = args[0]
core.checkDir(summaryDir, not OptionOverwrite)
- results = [loadresult(descr) for descr in OptionList]
+ results = []
+ for result_dir in OptionList:
+ try:
+ results.append(loadresult(result_dir))
+ except core.ResultFileInOldFormatError as e:
+ print('warning: skipping result file because it is in old format, json is now required: file={0}'.format(e.message))
summary = framework.summary.Summary(results)
for j in range(len(summary.testruns)):