summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/reporting')
-rw-r--r--utils/test/reporting/index-vims-tmpl.html (renamed from utils/test/reporting/index-tmpl.html)0
-rw-r--r--utils/test/reporting/reporting-vims.py (renamed from utils/test/reporting/reporting.py)6
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/test/reporting/index-tmpl.html b/utils/test/reporting/index-vims-tmpl.html
index 4d1c50915..4d1c50915 100644
--- a/utils/test/reporting/index-tmpl.html
+++ b/utils/test/reporting/index-vims-tmpl.html
diff --git a/utils/test/reporting/reporting.py b/utils/test/reporting/reporting-vims.py
index 246c6250c..cf43f3ebc 100644
--- a/utils/test/reporting/reporting.py
+++ b/utils/test/reporting/reporting-vims.py
@@ -47,7 +47,7 @@ for installer in installers:
for result in scenario_results[s]:
result["creation_date"] = result["creation_date"].split(".")[0]
sig_test = result['details']['sig_test']['result']
- if not sig_test == "":
+ if not sig_test == "" and isinstance(sig_test, list):
format_result = sig_test_format(sig_test)
if format_result['failures'] > format_result['passed']:
result['details']['sig_test']['duration'] = 0
@@ -72,12 +72,12 @@ for installer in installers:
templateLoader = jinja2.FileSystemLoader(os.path.dirname(os.path.abspath(__file__)))
templateEnv = jinja2.Environment( loader=templateLoader )
- TEMPLATE_FILE = "index-tmpl.html"
+ TEMPLATE_FILE = "index-vims-tmpl.html"
template = templateEnv.get_template( TEMPLATE_FILE )
outputText = template.render( scenario_results = scenario_results, step_order = step_order, installer = installer)
- with open("index-" + installer + ".html", "wb") as fh:
+ with open("index-vims" + installer + ".html", "wb") as fh:
fh.write(outputText)