Enable a few tests on macOS

This commit is contained in:
Mads Marquart 2024-05-27 15:01:04 +02:00
parent c0d600385b
commit d82be822a8
3 changed files with 2 additions and 7 deletions

View File

@ -5,12 +5,11 @@
//@ no-prefer-dynamic
//@ ignore-wasm32 no processes
//@ ignore-sgx no processes
//@ ignore-macos
extern crate exit_success_if_unwind;
use std::process::Command;
use std::env;
use std::process::Command;
fn main() {
let mut args = env::args_os();
@ -25,7 +24,6 @@ fn main() {
let mut cmd = Command::new(env::args_os().next().unwrap());
cmd.arg("foo");
// ARMv6 hanges while printing the backtrace, see #41004
if cfg!(target_arch = "arm") && cfg!(target_env = "gnu") {
cmd.env("RUST_BACKTRACE", "0");

View File

@ -4,10 +4,9 @@
//@ no-prefer-dynamic
//@ ignore-wasm32 no processes
//@ ignore-sgx no processes
//@ ignore-macos
use std::process::Command;
use std::env;
use std::process::Command;
struct Bomb;
@ -23,7 +22,6 @@ fn main() {
if let Some(s) = args.next() {
if &*s == "foo" {
let _bomb = Bomb;
panic!("try to catch me");

View File

@ -2,7 +2,6 @@
//@ compile-flags:-C panic=abort
//@ no-prefer-dynamic
//@ ignore-macos
#![feature(panic_abort)]