Closed
Description
The new file/directory scope specification for --code-coverage
and --track-allocation
via the @
syntax introduced in #44359, as described by the command line help seems to be missing from the docs.
Command line help:
--code-coverage[={none*|user|all}]
Count executions of source lines (omitting setting is equivalent to `user`)
--code-coverage=@<path>
Count executions but only in files that fall under the given file path/directory.
The `@` prefix is required to select this option. A `@` with no path will track the
current directory.
--code-coverage=tracefile.info
Append coverage information to the LCOV tracefile (filename supports format tokens)
--track-allocation[={none*|user|all}]
Count bytes allocated by each source line (omitting setting is equivalent to `user`)
--track-allocation=@<path>
Count bytes but only in files that fall under the given file path/directory.
The `@` prefix is required to select this option. A `@` with no path will track the
current directory.
Docs:
Switch | Description |
---|---|
[...] | [...] |
--code-coverage[={none*|user|all}] |
Count executions of source lines (omitting setting is equivalent to user ) |
--code-coverage=tracefile.info |
Append coverage information to the LCOV tracefile (filename supports format tokens). |
--track-allocation[={none*|user|all}] |
Count bytes allocated by each source line (omitting setting is equivalent to "user") |
[...] | [...] |
They are missing both for v1.8 as well as on master
. I am going to make pull request.
Metadata
Metadata
Assignees
Labels
No labels