Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
philbit opened this issue Feb 4, 2023 · 0 comments · Fixed by #48527
Closed

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

philbit opened this issue Feb 4, 2023 · 0 comments · Fixed by #48527

Comments

@philbit
Copy link
Contributor

philbit commented Feb 4, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant