| From: | walker <failaway(at)qq(dot)com> |
|---|---|
| To: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
| 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:09:17 |
| Message-ID: | [email protected] |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
The same, the build directory is outside the source tree.
the version of lcov is 1.10
thanks
walker
------------------ Original ------------------
From: "Alvaro Herrera" <alvherre(at)alvh(dot)no-ip(dot)org>;
Date: Thu, Mar 4, 2021 10:05 PM
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
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)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2021-03-04 14:20:31 | Re: make coverage-html would fail within build directory separate from source tree |
| Previous Message | Alvaro Herrera | 2021-03-04 14:05:55 | Re: make coverage-html would fail within build directory separate from source tree |