Problems building code coverage reports using nightly snapshots
| From: | Ben Longden | Date: | Fri, 10 Sep 2010 15:04:30 +0000 |
| Subject: | Problems building code coverage reports using nightly snapshots | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-65643@lists.php.net to get a copy of this message | ||
Hi all,
I'm getting file not found errors after having configured the nightly
snapshots of php5.2 php5.3 and trunk and trying to run code coverage
reports.
With 5.2, lcov is giving errors with the following:
ext/sqlite/libsqlite/src/parse.c:cannot open source file
ext/sqlite/libsqlite/src/parse.y:cannot open source file
ext/pdo_sqlite/sqlite/src/parse.c:cannot open source file
ext/pdo_sqlite/sqlite/src/parse.y:cannot open source file
main/internal_functions_cli.c:cannot open source file
main/internal_functions.c:cannot open source file
All the files do appear to exist.
genhtml running on the .info file afterwards then dies when it hits the
first of those files:
genhtml: ERROR: cannot open
/home/ben/php52/ext/pdo_sqlite/sqlite/src/ext/pdo_sqlite/sqlite/src/parse.y
for reading!
(note that the path is totally wrong - it should be
ext/pdo_sqlite/sqlite/src/parse.y)
I don't know enough of the internals to work out what is going on
here... Anyone able to shed any light on it?
Thanks!
--
http://nocarrier.co.uk
twitter: @blongden | freenode: blongden