Skip to content

Commit 5dc8d49

Browse files
authored
Rollup merge of rust-lang#128477 - Zalathar:bless-mcdc-19, r=cuviper
Finish blessing `coverage/mcdc` tests after LLVM 19 upgrade Context: rust-lang#127513 (comment) These changes aren't needed for Rust CI, because after the LLVM 19 upgrade we have no jobs that run these tests in `coverage-run` mode against LLVM 18. But they might help external builds. The longer-term plan is to completely drop (unstable) MC/DC support on LLVM 18, as part of getting it working on LLVM 19 in rust-lang#126733. cc `@cuviper`
2 parents 7c60525 + 68df46c commit 5dc8d49

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

tests/coverage/mcdc/condition-limit.coverage

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
LL| |#![feature(coverage_attribute)]
22
LL| |//@ edition: 2021
33
LL| |//@ min-llvm-version: 18
4+
LL| |//@ ignore-llvm-version: 19 - 99
45
LL| |//@ compile-flags: -Zcoverage-options=mcdc
56
LL| |//@ llvm-cov-flags: --show-branches=count --show-mcdc
67
LL| |

tests/coverage/mcdc/if.coverage

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
LL| |#![feature(coverage_attribute)]
22
LL| |//@ edition: 2021
33
LL| |//@ min-llvm-version: 18
4+
LL| |//@ ignore-llvm-version: 19 - 99
45
LL| |//@ compile-flags: -Zcoverage-options=mcdc
56
LL| |//@ llvm-cov-flags: --show-branches=count --show-mcdc
67
LL| |

tests/coverage/mcdc/inlined_expressions.coverage

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
LL| |#![feature(coverage_attribute)]
22
LL| |//@ edition: 2021
33
LL| |//@ min-llvm-version: 18
4+
LL| |//@ ignore-llvm-version: 19 - 99
45
LL| |//@ compile-flags: -Zcoverage-options=mcdc -Copt-level=z -Cllvm-args=--inline-threshold=0
56
LL| |//@ llvm-cov-flags: --show-branches=count --show-mcdc
67
LL| |

tests/coverage/mcdc/nested_if.coverage

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
LL| |#![feature(coverage_attribute)]
22
LL| |//@ edition: 2021
33
LL| |//@ min-llvm-version: 18
4+
LL| |//@ ignore-llvm-version: 19 - 99
45
LL| |//@ compile-flags: -Zcoverage-options=mcdc
56
LL| |//@ llvm-cov-flags: --show-branches=count --show-mcdc
67
LL| |

tests/coverage/mcdc/non_control_flow.coverage

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
LL| |#![feature(coverage_attribute)]
22
LL| |//@ edition: 2021
33
LL| |//@ min-llvm-version: 18
4+
LL| |//@ ignore-llvm-version: 19 - 99
45
LL| |//@ compile-flags: -Zcoverage-options=mcdc
56
LL| |//@ llvm-cov-flags: --show-branches=count --show-mcdc
67
LL| |

0 commit comments

Comments
 (0)