[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] parse-datetime: fix generated paths for coverage files

From: Pádraig Brady
Subject: [PATCH] parse-datetime: fix generated paths for coverage files
Date: Tue, 3 Jan 2017 01:25:48 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 26/07/15 15:41, Rakesh Kumar wrote:
> Hi All,
> While trying to generate HTML test coverage reports, I am facing an
> error. Can anyone please advice on this. Help would be appreciated.
> [00:36 address@hidden
> /home/rakesh/development/gnu_development/coreutils$]  :
> lcov -t coreutils -q -d lib -b `pwd` -o lib.lcov -c
> Cannot open source file parse-datetime.c

`make coverage` gives a similar error for me saying
that lib/lib/parse-datetime.y is not available.
That looks to be due to parse-datetime.c being moved after being generated,
thus having incorrect paths pertaining to parse-datetime.y.

With the attached applied to gnulib I no longer see the issue.


p.s. I see a similar error on hydra also with the doubled lib/lib,
saying that lib/lib/c-ctype.h is not found.
I've not looked into that, as `make coverage` doesn't give that here.

Attachment: gnulib-parse-datetime-lcov.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]