diff options
| author | Ben Kimock <kimockb@gmail.com> | 2024-04-18 16:50:06 -0400 |
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2024-05-20 11:13:10 -0400 |
| commit | e0632d7cec42a68be84ab85d3c69b0fb6fa45f02 (patch) | |
| tree | a218626dbfa7a93456a28cd828abb56f57d79880 | |
| parent | 8d3bc559048e47de32e32a562fe5bbea0b38f4e6 (diff) | |
| download | rust-e0632d7cec42a68be84ab85d3c69b0fb6fa45f02.tar.gz rust-e0632d7cec42a68be84ab85d3c69b0fb6fa45f02.zip | |
Add only-unix to sigpipe tests
| -rw-r--r-- | tests/ui/runtime/on-broken-pipe/error.rs | 1 | ||||
| -rw-r--r-- | tests/ui/runtime/on-broken-pipe/inherit.rs | 1 | ||||
| -rw-r--r-- | tests/ui/runtime/on-broken-pipe/kill.rs | 1 | ||||
| -rw-r--r-- | tests/ui/runtime/on-broken-pipe/not-used.rs | 1 | ||||
| -rw-r--r-- | tests/ui/runtime/on-broken-pipe/with-rustc_main.rs | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/runtime/on-broken-pipe/error.rs b/tests/ui/runtime/on-broken-pipe/error.rs index ab2036c2f41..0a020873df0 100644 --- a/tests/ui/runtime/on-broken-pipe/error.rs +++ b/tests/ui/runtime/on-broken-pipe/error.rs @@ -1,6 +1,7 @@ //@ run-pass //@ aux-build:sigpipe-utils.rs //@ compile-flags: -Zon-broken-pipe=error +//@ only-unix because SIGPIPE is a unix thing fn main() { extern crate sigpipe_utils; diff --git a/tests/ui/runtime/on-broken-pipe/inherit.rs b/tests/ui/runtime/on-broken-pipe/inherit.rs index 64909b73528..f3c8140eaae 100644 --- a/tests/ui/runtime/on-broken-pipe/inherit.rs +++ b/tests/ui/runtime/on-broken-pipe/inherit.rs @@ -4,6 +4,7 @@ //@ aux-bin: assert-inherit-sig_ign.rs //@ run-pass //@ compile-flags: -Zon-broken-pipe=kill +//@ only-unix because SIGPIPE is a unix thing #![feature(rustc_private)] diff --git a/tests/ui/runtime/on-broken-pipe/kill.rs b/tests/ui/runtime/on-broken-pipe/kill.rs index 5dace6f1c6f..748e53ffcdb 100644 --- a/tests/ui/runtime/on-broken-pipe/kill.rs +++ b/tests/ui/runtime/on-broken-pipe/kill.rs @@ -1,6 +1,7 @@ //@ run-pass //@ aux-build:sigpipe-utils.rs //@ compile-flags: -Zon-broken-pipe=kill +//@ only-unix because SIGPIPE is a unix thing fn main() { extern crate sigpipe_utils; diff --git a/tests/ui/runtime/on-broken-pipe/not-used.rs b/tests/ui/runtime/on-broken-pipe/not-used.rs index e31236f2b3d..22a26047874 100644 --- a/tests/ui/runtime/on-broken-pipe/not-used.rs +++ b/tests/ui/runtime/on-broken-pipe/not-used.rs @@ -1,5 +1,6 @@ //@ run-pass //@ aux-build:sigpipe-utils.rs +//@ only-unix because SIGPIPE is a unix thing fn main() { extern crate sigpipe_utils; diff --git a/tests/ui/runtime/on-broken-pipe/with-rustc_main.rs b/tests/ui/runtime/on-broken-pipe/with-rustc_main.rs index c1731200038..c40590ad87f 100644 --- a/tests/ui/runtime/on-broken-pipe/with-rustc_main.rs +++ b/tests/ui/runtime/on-broken-pipe/with-rustc_main.rs @@ -1,6 +1,7 @@ //@ run-pass //@ aux-build:sigpipe-utils.rs //@ compile-flags: -Zon-broken-pipe=kill +//@ only-unix because SIGPIPE is a unix thing #![feature(rustc_attrs)] |
