Skip to content

Commit 2516f8e

Browse files
committed
Add only-unix to sigpipe tests
1 parent fdc9b3d commit 2516f8e

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

tests/ui/attributes/unix_sigpipe/unix_sigpipe-inherit.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//@ run-pass
22
//@ aux-build:sigpipe-utils.rs
3+
//@ only-unix because SIGPIPE is a unix thing
34

45
#![feature(unix_sigpipe)]
56

tests/ui/attributes/unix_sigpipe/unix_sigpipe-not-used.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//@ revisions: with_feature without_feature
22
//@ run-pass
33
//@ aux-build:sigpipe-utils.rs
4+
//@ only-unix because SIGPIPE is a unix thing
45

56
#![cfg_attr(with_feature, feature(unix_sigpipe))]
67

tests/ui/attributes/unix_sigpipe/unix_sigpipe-rustc_main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//@ run-pass
22
//@ aux-build:sigpipe-utils.rs
3+
//@ only-unix because SIGPIPE is a unix thing
34

45
#![feature(unix_sigpipe)]
56
#![feature(rustc_attrs)]

tests/ui/attributes/unix_sigpipe/unix_sigpipe-sig_dfl.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//@ run-pass
22
//@ aux-build:sigpipe-utils.rs
3+
//@ only-unix because SIGPIPE is a unix thing
34

45
#![feature(unix_sigpipe)]
56

tests/ui/attributes/unix_sigpipe/unix_sigpipe-sig_ign.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//@ run-pass
22
//@ aux-build:sigpipe-utils.rs
3+
//@ only-unix because SIGPIPE is a unix thing
34

45
#![feature(unix_sigpipe)]
56

0 commit comments

Comments
 (0)