From 590ea991a5b5d8b6a948b89a0f8387de47ea9141 Mon Sep 17 00:00:00 2001 From: ymqytw Date: Tue, 13 Jun 2017 18:35:29 -0700 Subject: [PATCH] change junit output format --- third_party/forked/shell2junit/sh2ju.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/third_party/forked/shell2junit/sh2ju.sh b/third_party/forked/shell2junit/sh2ju.sh index e7fcc6cf86..c33d6f3ce0 100755 --- a/third_party/forked/shell2junit/sh2ju.sh +++ b/third_party/forked/shell2junit/sh2ju.sh @@ -137,11 +137,6 @@ function juLog() { content="$content $failure - - - ^^g" $juDIR/junit-$suite.xml ## remove testSuite so we can add it later + sed -i "s^^^g" $juDIR/junit-$suite.xml cat <> "$juDIR/junit-$suite.xml" $content + EOF else # no file exists. Adding a new file cat < "$juDIR/junit-$suite.xml" + + $content + EOF fi