lcov: use builddir, not srcdir
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 23 Jan 2015 19:08:32 +0000 (19:08 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 2 Feb 2015 18:38:07 +0000 (18:38 +0000)
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
tools/lcov.am

index 7ba4991..ac34867 100644 (file)
 # 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`;\