summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xacov.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/acov.sh b/acov.sh
index 606dfde..d150c3c 100755
--- a/acov.sh
+++ b/acov.sh
@@ -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"`