Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 8a0310a

Browse files
committed
tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx}
1 parent a11227b commit 8a0310a

File tree

156 files changed

+170
-200
lines changed

Some content is hidden

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

156 files changed

+170
-200
lines changed

tests/ui/abi/homogenous-floats-target-feature-mixup.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
// without #[repr(simd)]
66

77
//@ run-pass
8-
//@ ignore-wasm32 no processes
9-
//@ ignore-sgx no processes
8+
//@ needs-subprocess
109

1110
#![feature(avx512_target_feature)]
1211

tests/ui/abi/segfault-no-out-of-stack.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//@ run-pass
2-
//@ ignore-wasm32 can't run commands
3-
//@ ignore-sgx no processes
2+
//@ needs-subprocess
43
//@ ignore-fuchsia must translate zircon signal to SIGSEGV/SIGBUS, FIXME (#58590)
54

65
#![feature(rustc_private)]

tests/ui/abi/stack-probes-lto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//@[aarch64] only-aarch64
44
//@[x32] only-x86
55
//@[x64] only-x86_64
6-
//@ ignore-sgx no processes
6+
//@ needs-subprocess
77
//@ ignore-musl FIXME #31506
88
//@ ignore-fuchsia no exception handler registered for segfault
99
//@ compile-flags: -C lto

tests/ui/abi/stack-probes.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
//@[aarch64] only-aarch64
44
//@[x32] only-x86
55
//@[x64] only-x86_64
6-
//@ ignore-emscripten no processes
7-
//@ ignore-sgx no processes
6+
//@ needs-subprocess
87
//@ ignore-fuchsia no exception handler registered for segfault
98
//@ ignore-nto Crash analysis impossible at SIGSEGV in QNX Neutrino
109
//@ ignore-ios Stack probes are enabled, but the SIGSEGV handler isn't

tests/ui/alloc-error/default-alloc-error-hook.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//@ run-pass
2-
//@ ignore-wasm32 no processes
3-
//@ ignore-sgx no processes
2+
//@ needs-subprocess
43

54
use std::alloc::{Layout, handle_alloc_error};
65
use std::env;

tests/ui/array-slice-vec/bounds-check-no-overflow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ run-fail
22
//@ error-pattern:index out of bounds
3-
//@ ignore-emscripten no processes
3+
//@ needs-subprocess
44

55
use std::mem::size_of;
66

tests/ui/array-slice-vec/dst-raw-slice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
//@ run-fail
44
//@ error-pattern:index out of bounds
5-
//@ ignore-emscripten no processes
5+
//@ needs-subprocess
66

77
#[allow(unconditional_panic)]
88
fn main() {

tests/ui/array-slice-vec/vec-overrun.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ run-fail
22
//@ error-pattern:index out of bounds: the len is 1 but the index is 2
3-
//@ ignore-emscripten no processes
3+
//@ needs-subprocess
44

55
fn main() {
66
let v: Vec<isize> = vec![10];

tests/ui/backtrace/backtrace.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
//@ run-pass
22
//@ ignore-android FIXME #17520
3-
//@ ignore-wasm32 spawning processes is not supported
3+
//@ needs-subprocess
44
//@ ignore-openbsd no support for libbacktrace without filename
5-
//@ ignore-sgx no processes
65
//@ ignore-msvc see #62897 and `backtrace-debuginfo.rs` test
76
//@ ignore-fuchsia Backtraces not symbolized
87
//@ compile-flags:-g

tests/ui/backtrace/std-backtrace.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
//@ run-pass
22
//@ ignore-android FIXME #17520
3-
//@ ignore-wasm32 spawning processes is not supported
3+
//@ needs-subprocess
44
//@ ignore-openbsd no support for libbacktrace without filename
5-
//@ ignore-sgx no processes
65
//@ ignore-fuchsia Backtraces not symbolized
76
//@ compile-flags:-g
87
//@ compile-flags:-Cstrip=none

0 commit comments

Comments
 (0)