Change-Id: I2c1e80307efaa963313bf89284066bc0429e9cd8tags/7.0.2
echo $message | echo $message | ||||
echo "" | echo "" | ||||
$command | $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 | fi | ||||
echo "##teamcity[testFinished name='$testname']" | echo "##teamcity[testFinished name='$testname']" |