Rollup merge of #128859 - MinxuanZ:mips-sig, r=Amanieu · patricklam/verify-rust-std@5d5d8bc (original) (raw)
File tree
1 file changed
lines changed
- std/src/sys/pal/unix/process/process_unix
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -24,7 +24,20 @@ fn exitstatus_display_tests() { | ||
24 | 24 | // The purpose of this test is to test our string formatting, not our understanding of the wait |
25 | 25 | // status magic numbers. So restrict these to Linux. |
26 | 26 | if cfg!(target_os = "linux") { |
27 | +#[cfg(any(target_arch = "mips", target_arch = "mips64"))] | |
28 | +t(0x0137f, "stopped (not terminated) by signal: 19 (SIGPWR)"); | |
29 | + | |
30 | +#[cfg(any(target_arch = "sparc", target_arch = "sparc64"))] | |
31 | +t(0x0137f, "stopped (not terminated) by signal: 19 (SIGCONT)"); | |
32 | + | |
33 | +#[cfg(not(any( | |
34 | + target_arch = "mips", | |
35 | + target_arch = "mips64", | |
36 | + target_arch = "sparc", | |
37 | + target_arch = "sparc64" | |
38 | + )))] | |
27 | 39 | t(0x0137f, "stopped (not terminated) by signal: 19 (SIGSTOP)"); |
40 | + | |
28 | 41 | t(0x0ffff, "continued (WIFCONTINUED)"); |
29 | 42 | } |
30 | 43 |