Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make more of the test suite run on Mac Catalyst #125226

Merged
merged 3 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Enable a few tests on macOS
  • Loading branch information
madsmtm committed May 28, 2024
commit d82be822a84c6e511cfb586827d0f100290f6581
4 changes: 1 addition & 3 deletions tests/ui/panic-runtime/abort-link-to-unwinding-crates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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");
Expand Down
4 changes: 1 addition & 3 deletions tests/ui/panic-runtime/abort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

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

if let Some(s) = args.next() {
if &*s == "foo" {

let _bomb = Bomb;

panic!("try to catch me");
Expand Down
1 change: 0 additions & 1 deletion tests/ui/panic-runtime/link-to-abort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

//@ compile-flags:-C panic=abort
//@ no-prefer-dynamic
//@ ignore-macos

#![feature(panic_abort)]

Expand Down