diff options
author | Matthias Wolf <m+git@sushinara.net> | 2018-12-04 14:05:45 +0100 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-12-04 14:05:45 +0100 |
commit | e3aa36f4cbe4a9519e87fcfd1ea2a4fd12c90134 (patch) | |
tree | 8c4f584a421a12cb6ada151a18c4767f69aca0cd /share | |
parent | 0c3f220fb15ec847ab52349de3e2083f97c99c00 (diff) | |
download | spack-e3aa36f4cbe4a9519e87fcfd1ea2a4fd12c90134.tar.gz spack-e3aa36f4cbe4a9519e87fcfd1ea2a4fd12c90134.tar.bz2 spack-e3aa36f4cbe4a9519e87fcfd1ea2a4fd12c90134.tar.xz spack-e3aa36f4cbe4a9519e87fcfd1ea2a4fd12c90134.zip |
fix: adapt junit template to escape std{out,err} (#9935)
Diffstat (limited to 'share')
-rw-r--r-- | share/spack/templates/reports/junit.xml | 8 |
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> |