Skip to content

Commit

Permalink
coverage tests have moved, twice (#1780)
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang committed Aug 27, 2023
1 parent 64056ea commit 9bdf3d3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/llvm-coverage-instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,12 +288,13 @@ expected LLVM IR instructions and structured data for a coverage-enabled
program, including various checks for Coverage Map-related metadata and the LLVM
intrinsic calls to increment the runtime counters.

Expected results for both the `mir-opt` tests and the `coverage*` tests under
`run-make-fulldeps` can be refreshed by running:
Expected results for both the `mir-opt` tests and the `coverage*` tests
can be refreshed by running:

```shell
$ ./x test mir-opt --bless
$ ./x test tests/run-make-fulldeps/coverage --bless
./x test tests/mir-opt --bless
./x test tests/run-coverage --bless
./x test tests/run-coverage-rustdoc --bless
```

[mir-opt-test]: https://github.com/rust-lang/rust/blob/master/tests/mir-opt/instrument_coverage.rs
Expand Down

0 comments on commit 9bdf3d3

Please sign in to comment.