From: Jean Privat Date: Wed, 19 Aug 2015 18:33:05 +0000 (-0400) Subject: jenkins: unitrun.sh does not generate empty system-out and system-err blocks X-Git-Tag: v0.7.8~84^2 X-Git-Url: http://nitlanguage.org jenkins: unitrun.sh does not generate empty system-out and system-err blocks Signed-off-by: Jean Privat --- diff --git a/misc/jenkins/unitrun.sh b/misc/jenkins/unitrun.sh index 6b1c7f5..1c3d39f 100755 --- a/misc/jenkins/unitrun.sh +++ b/misc/jenkins/unitrun.sh @@ -63,13 +63,21 @@ if test "$res" != "0"; then echo >> "${name}.xml" "" echo "+ Command returned $res" >&2 fi +if test -s "${name}.out"; then cat >> "${name}.xml"< +END +fi +if test -s "${name}.2.out"; then +cat >> "${name}.xml"< +END +fi +cat >> "${name}.xml"< END