Skip to content

Commit 0e66bc1

Browse files
Ignore coverage test for gcc backend
1 parent 12ae94c commit 0e66bc1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+88
-0
lines changed

tests/coverage/abort.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ fn main() -> Result<(), u8> {
3737
// intended"). Coverage results would show no executed coverage regions.
3838
// 6. If `should_abort` is `true` and the program aborts, the program exits with a `132` status
3939
// (on Linux at least).
40+
//@ ignore-backends: gcc
4041

4142
/*
4243

tests/coverage/assert-ne.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//@ edition: 2021
2+
//@ ignore-backends: gcc
23

34
use core::hint::black_box;
45

tests/coverage/assert.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#![allow(unused_assignments)]
22
//@ failure-status: 101
3+
//@ ignore-backends: gcc
34

45
fn might_fail_assert(one_plus_one: u32) {
56
println!("does 1 + 1 = {}?", one_plus_one);

tests/coverage/assert_not.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//@ edition: 2021
2+
//@ ignore-backends: gcc
23

34
// Regression test for <https://github.com/rust-lang/rust/issues/118904>.
45
// `assert!(true)` and `assert!(!false)` should have similar coverage spans.

tests/coverage/async.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//@ compile-flags: -Copt-level=1
77

88
//@ aux-build: executor.rs
9+
//@ ignore-backends: gcc
910
extern crate executor;
1011

1112
async fn c(x: u8) -> u8 {

tests/coverage/async2.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//@ edition: 2018
33

44
//@ aux-build: executor.rs
5+
//@ ignore-backends: gcc
56
extern crate executor;
67

78
fn non_async_func() {

tests/coverage/async_block.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//@ edition: 2021
33

44
//@ aux-build: executor.rs
5+
//@ ignore-backends: gcc
56
extern crate executor;
67

78
fn main() {

tests/coverage/async_closure.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//@ edition: 2021
22

33
//@ aux-build: executor.rs
4+
//@ ignore-backends: gcc
45
extern crate executor;
56

67
async fn call_once(f: impl AsyncFnOnce()) {

tests/coverage/attr/impl.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#![feature(coverage_attribute)]
22
//@ edition: 2021
33
//@ reference: attributes.coverage.nesting
4+
//@ ignore-backends: gcc
45

56
// Checks that `#[coverage(..)]` can be applied to impl and impl-trait blocks,
67
// and is inherited by any enclosed functions.

tests/coverage/attr/module.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#![feature(coverage_attribute)]
22
//@ edition: 2021
33
//@ reference: attributes.coverage.nesting
4+
//@ ignore-backends: gcc
45

56
// Checks that `#[coverage(..)]` can be applied to modules, and is inherited
67
// by any enclosed functions.

0 commit comments

Comments
 (0)