Re: make coverage-html would fail within build directory separate from source tree

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: walker <failaway(at)qq(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: make coverage-html would fail within build directory separate from source tree
Date: 2021-03-04 14:05:55
Message-ID: 20210304140555.GA5879@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2021-Mar-04, walker wrote:

> thanks for your reply. it indeed that there are no .gcon files in source tree directory, they're in build tree directory, which results in failures.
>
>
> That's a bit wired.
>
>
> Add more detailed testing steps:
> mkdir build_dir
> cd build_dir
> /home/postgres/postgresql-13.2/configure -- enable-coverage
> make
> make check
> make coverage-html

Hmm, my build dir is not inside the source dir -- is yours? Maybe that
makes a difference? Also, what version of lcov do you have?

--
Álvaro Herrera 39°49'30"S 73°17'W
"Someone said that it is at least an order of magnitude more work to do
production software than a prototype. I think he is wrong by at least
an order of magnitude." (Brian Kernighan)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message walker 2021-03-04 14:09:17 Re: make coverage-html would fail within build directory separate from source tree
Previous Message walker 2021-03-04 14:00:11 Re: make coverage-html would fail within build directory separate from source tree