| From: | "wangsh(dot)fnst(at)fujitsu(dot)com" <wangsh(dot)fnst(at)fujitsu(dot)com> |
|---|---|
| To: | "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | do coverage test without install lcov |
| Date: | 2021-02-22 08:41:03 |
| Message-ID: | OSBPR01MB4214B41EF97635AD5AF97EC7F2819@OSBPR01MB4214.jpnprd01.prod.outlook.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi, hackers
In [1] wrote:
> If you don't have lcov or prefer text output over an HTML report, you can also run
> make coverage
[1] https://www.postgresql.org/docs/13/regress-coverage.html
It seems the lcov is not a necessary program to run a coverage test.
But when I configure with --enable-coverage, then error was reported:
checking for lcov... no
configure: error: lcov not found
Because it's a little difficult to install lcov in offline environment and we can get a
text format result by running make coverage. How about change this action, when
there is no lcov in system, only a warning message is reported.
The patch attached. Thought ?
Best regards
Shenhao Wang
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-make-enable-coverage-success-without-lcov.patch | application/octet-stream | 2.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2021-02-22 08:44:30 | Re: SEARCH and CYCLE clauses |
| Previous Message | tsunakawa.takay@fujitsu.com | 2021-02-22 08:36:06 | RE: libpq debug log |