Discussion:
[PATCH] parse-datetime: fix generated paths for coverage files
(too old to reply)
Pádraig Brady
2017-01-03 01:25:48 UTC
Permalink
Raw Message
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.
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.

cheers,
Pádraig.

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.
Pádraig Brady
2017-01-03 01:34:35 UTC
Permalink
Raw Message
Post by Pádraig Brady
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.
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.
Oops that messed up atomicity of the update.
Update attached.

cheers,
Pádraig

Loading...