-
-
Notifications
You must be signed in to change notification settings - Fork 56
/
short-help.txt
153 lines (104 loc) · 3.88 KB
/
short-help.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
cargo-llvm-cov
Cargo subcommand to easily use LLVM source-based code coverage (-Z instrument-coverage).
Use -h for short descriptions and --help for more details.
USAGE:
cargo llvm-cov [OPTIONS] [-- <ARGS>...] [SUBCOMMAND]
ARGS:
<ARGS>... Arguments for the test binary
OPTIONS:
--json
Export coverage data in "json" format
--lcov
Export coverage data in "lcov" format
--text
Generate coverage report in “text” format
--html
Generate coverage report in "html" format
--open
Generate coverage reports in "html" format and open them in a browser after the
operation
--summary-only
Export only summary information for each file in the coverage data
--output-path <PATH>
Specify a file to write coverage data into
--output-dir <DIRECTORY>
Specify a directory to write coverage report into (default to `target/llvm-cov`)
--failure-mode <any|all>
Fail if `any` or `all` profiles cannot be merged (default to `any`)
--ignore-filename-regex <PATTERN>
Skip source code files with file paths that match the given regular expression
--no-report
Run tests, but don't generate coverage report
--doctests
Including doc tests (unstable)
--no-run
Generate coverage report without running tests
--no-fail-fast
Run all tests regardless of failure
-q, --quiet
Display one character per test instead of one line
--lib
Test only this package's library unit tests
--bin <NAME>
Test only the specified binary
--bins
Test all binaries
--example <NAME>
Test only the specified example
--examples
Test all examples
--test <NAME>
Test only the specified test target
--tests
Test all tests
--bench <NAME>
Test only the specified bench target
--benches
Test all benches
--all-targets
Test all targets
--doc
Test only this library's documentation (unstable)
-p, --package <SPEC>
Package to run tests for
--workspace
Test all packages in the workspace [aliases: all]
--exclude <SPEC>
Exclude packages from the test
-j, --jobs <N>
Number of parallel jobs, defaults to # of CPUs
--release
Build artifacts in release mode, with optimizations
--profile <PROFILE-NAME>
Build artifacts with the specified profile
--features <FEATURES>
Space or comma separated list of features to activate
--all-features
Activate all available features
--no-default-features
Do not activate the `default` feature
--target <TRIPLE>
Build for the target triple
-v, --verbose
Use verbose output
--color <WHEN>
Coloring [possible values: auto, always, never]
--manifest-path <PATH>
Path to Cargo.toml
--frozen
Require Cargo.lock and cache are up to date
--locked
Require Cargo.lock is up to date
--offline
Run without accessing the network
-Z <FLAG>
Unstable (nightly-only) flags to Cargo
-h, --help
Print help information
-V, --version
Print version information
SUBCOMMANDS:
run Run a binary or example and generate coverage report
show-env Output the environment set by cargo-llvm-cov to build Rust projects
clean Remove artifacts that cargo-llvm-cov has generated in the past
help Print this message or the help of the given subcommand(s)