summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/spack/templates/reports/junit.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/spack/templates/reports/junit.xml b/share/spack/templates/reports/junit.xml
index 62e6db40c8..577e30bf0f 100644
--- a/share/spack/templates/reports/junit.xml
+++ b/share/spack/templates/reports/junit.xml
@@ -24,23 +24,23 @@
time="{{ package.elapsed_time }}">
{% if package.result == 'failure' %}
<failure message="{{ package.message }}">
-{{ package.exception }}
+{{ package.exception|e }}
</failure>
{% elif package.result == 'error' %}
<error message="{{ package.message }}">
-{{ package.exception }}
+{{ package.exception|e }}
</error>
{% elif package.result == 'skipped' %}
<skipped />
{% endif %}
{% if package.stdout %}
<system-out>
-{{ package.stdout }}
+{{ package.stdout|e }}
</system-out>
{% endif %}
{% if package.stderr %}
<system-err>
-{{ package.stderr }}
+{{ package.stderr|e }}
</system-err>
{% endif %}
</testcase>