Skip to content

Commit

Permalink
coverage: Disable the zombie MC/DC tests until they support LLVM 19
Browse files Browse the repository at this point in the history
Currently these tests only run against LLVM 18, but the default is now LLVM 19,
which makes them very tricky to bless. Since #126733 is going to drop support
for MC/DC in LLVM 18 anyway, it's easier to just completely disable the tests
until that PR fixes them.
  • Loading branch information
Zalathar committed Oct 8, 2024
1 parent 3ae715c commit 729c140
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/coverage/mcdc/condition-limit.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![feature(coverage_attribute)]
//@ edition: 2021
//@ ignore-llvm-version: 19 - 99
//@ ignore-test (needs #126733 for LLVM 19 support)
//@ compile-flags: -Zcoverage-options=mcdc
//@ llvm-cov-flags: --show-branches=count --show-mcdc

Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/mcdc/if.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![feature(coverage_attribute)]
//@ edition: 2021
//@ ignore-llvm-version: 19 - 99
//@ ignore-test (needs #126733 for LLVM 19 support)
//@ compile-flags: -Zcoverage-options=mcdc
//@ llvm-cov-flags: --show-branches=count --show-mcdc

Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/mcdc/inlined_expressions.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![feature(coverage_attribute)]
//@ edition: 2021
//@ ignore-llvm-version: 19 - 99
//@ ignore-test (needs #126733 for LLVM 19 support)
//@ compile-flags: -Zcoverage-options=mcdc -Copt-level=z -Cllvm-args=--inline-threshold=0
//@ llvm-cov-flags: --show-branches=count --show-mcdc

Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/mcdc/nested_if.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![feature(coverage_attribute)]
//@ edition: 2021
//@ ignore-llvm-version: 19 - 99
//@ ignore-test (needs #126733 for LLVM 19 support)
//@ compile-flags: -Zcoverage-options=mcdc
//@ llvm-cov-flags: --show-branches=count --show-mcdc

Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/mcdc/non_control_flow.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![feature(coverage_attribute)]
//@ edition: 2021
//@ ignore-llvm-version: 19 - 99
//@ ignore-test (needs #126733 for LLVM 19 support)
//@ compile-flags: -Zcoverage-options=mcdc
//@ llvm-cov-flags: --show-branches=count --show-mcdc

Expand Down

0 comments on commit 729c140

Please sign in to comment.