Re: coverage additions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: coverage additions
Date
Msg-id 53966.1559239517@sss.pgh.pa.us
Whole thread Raw
In response to coverage additions  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: coverage additions  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> I just enabled --enabled-llvm on the coverage reporting machine, which
> made src/backend/jit/jit.c go from 60/71 % (line/function wise) to 78/85 % ...
> and src/backend/jit/llvm from not appearing at all in the report to
> 78/94 %.  That's a good improvement.

> If there are other obvious improvements to be had, please let me know.

I was going to suggest that adding some or all of

-DCOPY_PARSE_PLAN_TREES
-DWRITE_READ_PARSE_PLAN_TREES
-DRAW_EXPRESSION_COVERAGE_TEST

to your CPPFLAGS might improve the reported coverage in backend/nodes/,
and perhaps other places.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: tableam.h fails cpluspluscheck
Next
From: Amit Kapila
Date:
Subject: Re: New committer: David Rowley