Skip to content

Commit 614b09d

Browse files
committed
Add only-unix to sigpipe tests
1 parent d489d24 commit 614b09d

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

tests/ui/runtime/on-broken-pipe/error.rs

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

56
fn main() {
67
extern crate sigpipe_utils;

tests/ui/runtime/on-broken-pipe/inherit.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
//@ aux-bin: assert-inherit-sig_ign.rs
55
//@ run-pass
66
//@ compile-flags: -Zon-broken-pipe=kill
7+
//@ only-unix because SIGPIPE is a unix thing
78

89
#![feature(rustc_private)]
910

tests/ui/runtime/on-broken-pipe/kill.rs

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

56
fn main() {
67
extern crate sigpipe_utils;

tests/ui/runtime/on-broken-pipe/not-used.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
fn main() {
56
extern crate sigpipe_utils;

tests/ui/runtime/on-broken-pipe/with-rustc_main.rs

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

56
#![feature(rustc_attrs)]
67

0 commit comments

Comments
 (0)