summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wolf <matthias.wolf@epfl.ch>2019-05-16 14:40:07 +0200
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-05-16 14:40:07 +0200
commit7fcf534b253c3c670c0104134965bcc43961e86b (patch)
treeb71d1107c4c34a7caa6f7a73bae0cdc03de69511
parent5ccc695bfb7157fc3f25e157d6c26ef8794dbdb5 (diff)
downloadspack-7fcf534b253c3c670c0104134965bcc43961e86b.tar.gz
spack-7fcf534b253c3c670c0104134965bcc43961e86b.tar.bz2
spack-7fcf534b253c3c670c0104134965bcc43961e86b.tar.xz
spack-7fcf534b253c3c670c0104134965bcc43961e86b.zip
junit: escape remaining inputs. (#11382)
-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' %}