diff options
| author | bors <bors@rust-lang.org> | 2023-10-19 16:53:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-19 16:53:52 +0000 |
| commit | e76cb8c49831ff80d7d2e16319c86edbaa9edb8c (patch) | |
| tree | 0ee10fd0e3fbcb6aea6da062b9ef275fc4ca6a4f /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | c104861b7b51d2c28e7023e7e53db16cc6677e29 (diff) | |
| parent | 328192bff492d32b86004fd80f963296fb654278 (diff) | |
| download | rust-e76cb8c49831ff80d7d2e16319c86edbaa9edb8c.tar.gz rust-e76cb8c49831ff80d7d2e16319c86edbaa9edb8c.zip | |
Auto merge of #116810 - cjgillot:mir-opt-check, r=oli-obk
Add FileCheck annotations to mir-opt tests. This PR makes compiletest run LLVM `FileCheck` tool on mir-opt tests. The check is *run by default*, except if disabled using `// skip-filecheck` comment. This ensures that we do not have a silently broken test. For now, the check is only run on the output of `--emit=mir`, ie. on PreCodegen MIR. I give an example on `reference_prop.rs`. r? `@oli-obk` cc `@RalfJung` Fixes https://github.com/rust-lang/rust/issues/85180
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
