mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Enable a few tests on macOS
This commit is contained in:
parent
c0d600385b
commit
d82be822a8
@ -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");
|
||||
|
@ -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");
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
//@ compile-flags:-C panic=abort
|
||||
//@ no-prefer-dynamic
|
||||
//@ ignore-macos
|
||||
|
||||
#![feature(panic_abort)]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user