httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: Apache-httpd -Test coverage
Date Sat, 08 May 2004 17:28:38 GMT
Abhishek Khandelwal wrote:
> Hi,
> I am trying to find out the code-coverage for httpd using the
> perl-testframework.
> I am trying to use Rational's PureCoverage tool to do that.
> One of the requirements for Purecoverage tool is to insert purecov
> before CC(cc or gcc) in makefile.
> Does anyone have idea, how to insert purecov before cc in makefile?
> Since the makefile of httpd is automatically generated using configure
> script, it has to be done automatically.
> I tried to pass CC="purecov gcc" to the configure, but it inserts
> purecov everywhere and purecov tries to instrument .a and .so files as
> well, which should not be done at compile time.
> Anyone has any idea about how to proceed, please let me know.

Dunno about Rational's but gcov works:
replace ./testall with 'make test'
Philippe has done that for mod_perl 2.0 resulting in:

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message