Skip to content

New code-coverage and track-allocation options missing from docs #48525

Closed
@philbit

Description

@philbit

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions