From e3aa36f4cbe4a9519e87fcfd1ea2a4fd12c90134 Mon Sep 17 00:00:00 2001 From: Matthias Wolf Date: Tue, 4 Dec 2018 14:05:45 +0100 Subject: fix: adapt junit template to escape std{out,err} (#9935) --- share/spack/templates/reports/junit.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'share') 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' %} -{{ package.exception }} +{{ package.exception|e }} {% elif package.result == 'error' %} -{{ package.exception }} +{{ package.exception|e }} {% elif package.result == 'skipped' %} {% endif %} {% if package.stdout %} -{{ package.stdout }} +{{ package.stdout|e }} {% endif %} {% if package.stderr %} -{{ package.stderr }} +{{ package.stderr|e }} {% endif %} -- cgit v1.2.3-70-g09d2