aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 4cd3e35..9878f18 100755
--- a/build.sh
+++ b/build.sh
@@ -112,7 +112,7 @@ if [[ -n ${COV_DIR} ]]; then
coverity_build
elif [[ ${GCOV} -eq 1 ]]; then
make check CFLAGS="-fprofile-arcs -ftest-coverage"
- lcov -c -d ${ROOT_DIR}/odp/platform/${PLATFORM} --output-file ${ROOT_DIR}/${PLATFORM}-coverage.info
+ lcov -c -d ${ODP_BUILDDIR}/platform/${PLATFORM} --output-file ${ROOT_DIR}/${PLATFORM}-coverage.info
genhtml ${ROOT_DIR}/${PLATFORM}-coverage.info --output-directory ${ROOT_DIR}/${PLATFORM}-gcov-html
else
make -j ${NUM_CPUS}