File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -464,8 +464,9 @@ Each mode also has an alias to run the coverage tests in just that mode:
464
464
./x test coverage-map -- tests/coverage/if.rs # runs the specified test in "coverage-map" mode only
465
465
```
466
466
467
- If a test cannot be exercised in a particular coverage mode for some reason, you
468
- can use e.g. ` ignore-mode-coverage-map ` .
467
+ If a particular test should not be run in one of the coverage test modes for
468
+ some reason, use the ` //@ ignore-coverage-map ` or ` //@ ignore-coverage-run `
469
+ directives.
469
470
470
471
#### ` coverage-map ` suite
471
472
Original file line number Diff line number Diff line change @@ -145,6 +145,8 @@ Some examples of `X` in `ignore-X` or `only-X`:
145
145
- When particular debugger versions are matched: ` ignore-gdb-version `
146
146
- Specific [ compare modes] : ` compare-mode-polonius ` , ` compare-mode-chalk ` ,
147
147
` compare-mode-split-dwarf ` , ` compare-mode-split-dwarf-single `
148
+ - The two different test modes used by coverage tests:
149
+ ` ignore-coverage-map ` , ` ignore-coverage-run `
148
150
149
151
The following directives will check rustc build settings and target
150
152
settings:
You can’t perform that action at this time.
0 commit comments