summaryrefslogtreecommitdiff
path: root/share/spack/templates/reports/junit.xml
diff options
context:
space:
mode:
Diffstat (limited to 'share/spack/templates/reports/junit.xml')
-rw-r--r--share/spack/templates/reports/junit.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/spack/templates/reports/junit.xml b/share/spack/templates/reports/junit.xml
index 577e30bf0f..7b7ee1e33e 100644
--- a/share/spack/templates/reports/junit.xml
+++ b/share/spack/templates/reports/junit.xml
@@ -23,11 +23,11 @@
name="{{ package.id }}"
time="{{ package.elapsed_time }}">
{% if package.result == 'failure' %}
- <failure message="{{ package.message }}">
+ <failure message="{{ package.message|e }}">
{{ package.exception|e }}
</failure>
{% elif package.result == 'error' %}
- <error message="{{ package.message }}">
+ <error message="{{ package.message|e }}">
{{ package.exception|e }}
</error>
{% elif package.result == 'skipped' %}