The same, the build directory is outside the source tree.

the version of lcov is 1.10


thanks
walker




------------------ Original ------------------
From:                                                                           
                                             "Alvaro Herrera"                   
                                                                 
<alvhe...@alvh.no-ip.org&gt;;
Date:&nbsp;Thu, Mar 4, 2021 10:05 PM
To:&nbsp;"walker"<faila...@qq.com&gt;;
Cc:&nbsp;"pgsql-hackers"<pgsql-hackers@lists.postgresql.org&gt;;
Subject:&nbsp;Re: make coverage-html would fail within build directory separate 
from source tree



On 2021-Mar-04, walker wrote:

&gt; 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.
&gt; 
&gt; 
&gt; That's a bit wired.
&gt; 
&gt; 
&gt; Add more detailed testing steps:
&gt; mkdir build_dir
&gt; cd build_dir
&gt; /home/postgres/postgresql-13.2/configure -- enable-coverage
&gt; make
&gt; make check
&gt; make coverage-html

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


-- 
Álvaro 
Herrera&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 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."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 (Brian Kernighan)

Reply via email to