Enable a few tests on macOS
This commit is contained in:
parent
c0d600385b
commit
d82be822a8
3 changed files with 2 additions and 7 deletions
|
@ -5,12 +5,11 @@
|
||||||
//@ no-prefer-dynamic
|
//@ no-prefer-dynamic
|
||||||
//@ ignore-wasm32 no processes
|
//@ ignore-wasm32 no processes
|
||||||
//@ ignore-sgx no processes
|
//@ ignore-sgx no processes
|
||||||
//@ ignore-macos
|
|
||||||
|
|
||||||
extern crate exit_success_if_unwind;
|
extern crate exit_success_if_unwind;
|
||||||
|
|
||||||
use std::process::Command;
|
|
||||||
use std::env;
|
use std::env;
|
||||||
|
use std::process::Command;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let mut args = env::args_os();
|
let mut args = env::args_os();
|
||||||
|
@ -25,7 +24,6 @@ fn main() {
|
||||||
let mut cmd = Command::new(env::args_os().next().unwrap());
|
let mut cmd = Command::new(env::args_os().next().unwrap());
|
||||||
cmd.arg("foo");
|
cmd.arg("foo");
|
||||||
|
|
||||||
|
|
||||||
// ARMv6 hanges while printing the backtrace, see #41004
|
// ARMv6 hanges while printing the backtrace, see #41004
|
||||||
if cfg!(target_arch = "arm") && cfg!(target_env = "gnu") {
|
if cfg!(target_arch = "arm") && cfg!(target_env = "gnu") {
|
||||||
cmd.env("RUST_BACKTRACE", "0");
|
cmd.env("RUST_BACKTRACE", "0");
|
||||||
|
|
|
@ -4,10 +4,9 @@
|
||||||
//@ no-prefer-dynamic
|
//@ no-prefer-dynamic
|
||||||
//@ ignore-wasm32 no processes
|
//@ ignore-wasm32 no processes
|
||||||
//@ ignore-sgx no processes
|
//@ ignore-sgx no processes
|
||||||
//@ ignore-macos
|
|
||||||
|
|
||||||
use std::process::Command;
|
|
||||||
use std::env;
|
use std::env;
|
||||||
|
use std::process::Command;
|
||||||
|
|
||||||
struct Bomb;
|
struct Bomb;
|
||||||
|
|
||||||
|
@ -23,7 +22,6 @@ fn main() {
|
||||||
|
|
||||||
if let Some(s) = args.next() {
|
if let Some(s) = args.next() {
|
||||||
if &*s == "foo" {
|
if &*s == "foo" {
|
||||||
|
|
||||||
let _bomb = Bomb;
|
let _bomb = Bomb;
|
||||||
|
|
||||||
panic!("try to catch me");
|
panic!("try to catch me");
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
//@ compile-flags:-C panic=abort
|
//@ compile-flags:-C panic=abort
|
||||||
//@ no-prefer-dynamic
|
//@ no-prefer-dynamic
|
||||||
//@ ignore-macos
|
|
||||||
|
|
||||||
#![feature(panic_abort)]
|
#![feature(panic_abort)]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue