Skip to content

Commit 5542e50

Browse files
authored
Rollup merge of #102032 - andrewpollack:bad-signal-compiler-tests, r=tmandry
Adding ignore fuchsia tests for signal interpretation cases Tests where Signal interpreting is required. Since Fuchsia currently does not return signals of type `libc::SIGSEGV` etc., instead, use generalized `!status.success()` case. cc. `@djkoloski` r? `@tmandry`
2 parents 614e18b + 6c29716 commit 5542e50

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

src/test/ui/abi/segfault-no-out-of-stack.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#![allow(unused_imports)]
44
// ignore-emscripten can't run commands
55
// ignore-sgx no processes
6+
// ignore-fuchsia must translate zircon signal to SIGSEGV/SIGBUS, FIXME (#58590)
67
#![feature(rustc_private)]
78

89
extern crate libc;

src/test/ui/abi/stack-probes-lto.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// ignore-sgx no processes
1313
// ignore-musl FIXME #31506
1414
// ignore-pretty
15+
// ignore-fuchsia no exception handler registered for segfault
1516
// compile-flags: -C lto
1617
// no-prefer-dynamic
1718

src/test/ui/abi/stack-probes.rs

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// ignore-wasm
1111
// ignore-emscripten no processes
1212
// ignore-sgx no processes
13+
// ignore-fuchsia no exception handler registered for segfault
1314

1415
use std::env;
1516
use std::mem::MaybeUninit;

src/test/ui/process/signal-exit-status.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// ignore-emscripten no processes
33
// ignore-sgx no processes
44
// ignore-windows
5+
// ignore-fuchsia code returned as ZX_TASK_RETCODE_EXCEPTION_KILL, FIXME (#58590)
56

67
use std::env;
78
use std::process::Command;

src/test/ui/runtime/out-of-stack.rs

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// ignore-android: FIXME (#20004)
66
// ignore-emscripten no processes
77
// ignore-sgx no processes
8+
// ignore-fuchsia must translate zircon signal to SIGABRT, FIXME (#58590)
89

910
#![feature(core_intrinsics)]
1011
#![feature(rustc_private)]

0 commit comments

Comments
 (0)