From 03c93a984625177fcd422f1956540224dd123d95 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Wed, 19 Aug 2015 14:33:05 -0400 Subject: [PATCH] jenkins: unitrun.sh does not generate empty system-out and system-err blocks Signed-off-by: Jean Privat --- misc/jenkins/unitrun.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 1.7.9.5