Skip to content

Commit d82be82

Browse files
committed
Enable a few tests on macOS
1 parent c0d6003 commit d82be82

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

tests/ui/panic-runtime/abort-link-to-unwinding-crates.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@
55
//@ no-prefer-dynamic
66
//@ ignore-wasm32 no processes
77
//@ ignore-sgx no processes
8-
//@ ignore-macos
98

109
extern crate exit_success_if_unwind;
1110

12-
use std::process::Command;
1311
use std::env;
12+
use std::process::Command;
1413

1514
fn main() {
1615
let mut args = env::args_os();
@@ -25,7 +24,6 @@ fn main() {
2524
let mut cmd = Command::new(env::args_os().next().unwrap());
2625
cmd.arg("foo");
2726

28-
2927
// ARMv6 hanges while printing the backtrace, see #41004
3028
if cfg!(target_arch = "arm") && cfg!(target_env = "gnu") {
3129
cmd.env("RUST_BACKTRACE", "0");

tests/ui/panic-runtime/abort.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
//@ no-prefer-dynamic
55
//@ ignore-wasm32 no processes
66
//@ ignore-sgx no processes
7-
//@ ignore-macos
87

9-
use std::process::Command;
108
use std::env;
9+
use std::process::Command;
1110

1211
struct Bomb;
1312

@@ -23,7 +22,6 @@ fn main() {
2322

2423
if let Some(s) = args.next() {
2524
if &*s == "foo" {
26-
2725
let _bomb = Bomb;
2826

2927
panic!("try to catch me");

tests/ui/panic-runtime/link-to-abort.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
//@ compile-flags:-C panic=abort
44
//@ no-prefer-dynamic
5-
//@ ignore-macos
65

76
#![feature(panic_abort)]
87

0 commit comments

Comments
 (0)