Commit 1acc7b09 authored by Simon McVittie's avatar Simon McVittie

lcov: use builddir, not srcdir

It seems lcov (or gcc?) has changed its paths since last time this
worked.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88808
Reviewed-by: Philip Withnall
parent 7cf5d2fa
......@@ -21,10 +21,10 @@
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
lcov-reset:
lcov --directory @abs_top_srcdir@ --zerocounters
lcov --directory @abs_top_builddir@ --zerocounters
lcov-report:
lcov --directory @abs_top_srcdir@ --capture \
lcov --directory @abs_top_builddir@ --capture \
--output-file @abs_top_builddir@/lcov.info
$(mkdir_p) @abs_top_builddir@/lcov.html
git_commit=`GIT_DIR=@abs_top_srcdir@/.git git log -1 --pretty=format:%h 2>/dev/null`;\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment