Re: make coverage-html on OS X

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: make coverage-html on OS X
Date: 2016-10-31 04:04:16
Message-ID: 1e4ebe83-6bae-b911-348c-e7e420ee7862@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10/29/16 3:31 PM, Jim Nasby wrote:
> tl;dr: It's critical that you actually do a make install, or at least it
> is if you've set --prefix with configure. If you don't, then even if you
> do make check you'le going to get the *installed* libpq, and not the
> *built* libpq.

Actually, sometimes that isn't even enough. I had one checkout that was
refusing to successfully build coverage (producing an old .gcda for
*everything*) until I rm'd the entire install directory (make uninstall
was not enough). I also killed the running postmaster as part of that,
so it's possible that's what was causing the problems.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532) mobile: 512-569-9461

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Sharma 2016-10-31 04:33:57 Re: Microvacuum support for Hash Index
Previous Message Jim Nasby 2016-10-31 04:01:52 Re: Speed up Clog Access by increasing CLOG buffers