diff --git a/apps/pdfcraft-cli/tests/it/cpu_override.rs b/apps/pdfcraft-cli/tests/it/cpu_override.rs index d5dc87c790..78922ae26d 100644 --- a/apps/pdfcraft-cli/tests/it/cpu_override.rs +++ b/apps/pdfcraft-cli/tests/it/cpu_override.rs @@ -2,6 +2,9 @@ //! its signing (#2916). aws-lc printed "Fatal Error: HW capability found: …" and aborted before //! `main`. Built to detect the CPU on first use, it would abort at the first signature instead. +// macOS intentionally does not relaunch: Finder delivers files to the original process. +#![cfg(not(target_os = "macos"))] + use std::process::{Command, Output}; /// CPUID leaf 1, EDX bit 10: reserved, so no x86 processor reports it. diff --git a/apps/pdfcraft/tests/help.rs b/apps/pdfcraft/tests/help.rs index 5c7782e0d8..282fd73500 100644 --- a/apps/pdfcraft/tests/help.rs +++ b/apps/pdfcraft/tests/help.rs @@ -50,6 +50,8 @@ fn version_prints_the_version_and_exits() { /// An `OPENSSL_ia32cap` that asks for a CPU feature the processor lacks (CPUID leaf 1, EDX bit /// 10, reserved on every x86) doesn't stop the app (#2916): aws-lc aborted before `main`, with no /// window and nothing in the log. +// macOS intentionally does not relaunch: Finder delivers files to the original process. +#[cfg(not(target_os = "macos"))] #[test] fn a_cpu_override_naming_a_missing_feature_does_not_stop_the_app() { let out = run_with(Command::new(BIN).arg("--version").env("OPENSSL_ia32cap", "0x400"), Stdio::piped());