Re: code coverage patch - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: code coverage patch
Date
Msg-id 87d4jts67r.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: code coverage patch  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: code coverage patch  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:

> The reason for that problem is that the shared object needs to be linked 
> with -fprofile-arcs -ftest-coverage.  (One of these causes -lgcov to be 
> linked, which includes the missing symbol.)  This is not done because the 
> shared object link rules don't use CFLAGS.

Shared object link rules should use another variable (LDFLAGS?) and those
options should be added that variable as well.

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Get trained by Bruce Momjian - ask me about
EnterpriseDB'sPostgreSQL training!
 


pgsql-hackers by date:

Previous
From: Abhijit Menon-Sen
Date:
Subject: Re: September Commit Fest coming soon!
Next
From: Peter Eisentraut
Date:
Subject: Re: code coverage patch