Change-Id: I2c1e80307efaa963313bf89284066bc0429e9cd8tags/7.0.2
@@ -24,9 +24,7 @@ else | |||
echo $message | |||
echo "" | |||
$command | |||
# Escape []|' and newline with | to make teamcity happy | |||
details=`$command|sed "s/[]['\|]/|&/g"|perl -p -e 's/\n/|n/'` | |||
echo "##teamcity[testFailed name='$testname' message='$message' details='|n$details']" | |||
echo "##teamcity[testFailed name='$testname' message='$message']" | |||
fi | |||
echo "##teamcity[testFinished name='$testname']" |