Re: Fwd: gcov of extension

From: Date: Tue, 24 Nov 2009 22:56:21 +0000
Subject: Re: Fwd: gcov of extension
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-65436@lists.php.net to get a copy of this message
Hi, I have some tests in my extension, and I want to generate the code coverage. How I should do that ? Adding flags at compilation time ? using a version of php compile with --enable-gcov ?
You've to compile php and your extension with --enable-gcov. Then you can run 'make lcov' to do the work. You'll need to install lcov. Nuno

« previous php.qa (#65436) next »