Commit 5c646497 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fixed showing of test failure causes in the HTML report.

From: Marco Clemencic <marco.clemencic@cern.ch>


git-svn-id: svn+ssh://svn.cern.ch/reps/gaudi/Gaudi/trunk@7712 53ecefc3-a64d-0410-9bdf-b8581fa3287e
parent 87ddb46b
......@@ -307,7 +307,7 @@ function openlink2(){
/// Code executed when the page is ready.
$(function () {
$(".loading").loadingIcon().removeClass("loading");
var ignore_fields = ["qmtest.cause", "qmtest.target"];
var ignore_fields = ["qmtest.cause", "qmtest.target", "causes"];
var fields_order = ["start_time", "end_time"];
// Add details about the project (if available)
......
......@@ -3,6 +3,9 @@ package manager: Marco Clemencic
Commit Id: $Format:%H$
============================= GaudiPolicy v15r4 ==============================
! 2015-02-13 - Marco Clemencic
- Fixed showing of test failure causes in the HTML report.
! 2015-02-13 - Marco Clemencic
- Fixed some special cases in GaudiTesting.
......
......@@ -240,7 +240,7 @@ class TestOrganizer :
for namedMeasurment in testElement.find("Results").getiterator("NamedMeasurement"):
name = namedMeasurment.get("name")
if name == 'Cause':
if name == 'Causes':
cause = namedMeasurment.find("Value")
if cause is not None:
ET.SubElement(span2, "span", {"class": "cause"}).text = cause.text + " "
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment