diff options
author | Daniel Díaz <daniel.diaz@linaro.org> | 2016-01-08 20:08:43 -0600 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2016-01-20 17:16:32 +0530 |
commit | 6f7cad601890ed1571100ef69154ba990e2dd949 (patch) | |
tree | 7f3ce2d961ca3d84b124c2bc1881c0e826a1d3aa /acov.sh | |
parent | 119106b7a616b8313843d330e0ea58cef9b56e33 (diff) |
acov: Create directory for results if not existent.
Don't fail in case it already exists.
Change-Id: I44b7ee0183be05612af9c18233d0e24d56f91b3c
Signed-off-by: Daniel DÃaz <daniel.diaz@linaro.org>
Diffstat (limited to 'acov.sh')
-rwxr-xr-x | acov.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ for target in "ARM" "x86" "mips"; do done export EXTRA_ARGS=--gcov-tool=/usr/bin/gcov-4.6 -mkdir $WORKSPACE/gcov-results +mkdir -p $WORKSPACE/gcov-results lcov -c -b $ANDROID_BUILD_TOP -d $ANDROID_HOST_OUT -o $WORKSPACE/gcov-results/results $EXTRA_ARGS genhtml -q -o $WORKSPACE/gcov-results/ $WORKSPACE/gcov-results/results acovscore=`grep " %" $WORKSPACE/gcov-results/index.html | sed -e "s/.*\">//g" | sed -e "s/%.*//g"` |