diff --git a/tests/it.rs b/tests/it.rs index 81faaff..c769487 100644 --- a/tests/it.rs +++ b/tests/it.rs @@ -166,6 +166,7 @@ mod unsync { #[test] #[cfg(feature = "std")] + #[cfg(not(target_os = "android"))] fn lazy_poisoning() { let x: Lazy = Lazy::new(|| panic!("kaboom")); for _ in 0..2 { @@ -288,6 +289,7 @@ mod sync { } #[test] + #[cfg(not(target_os = "android"))] fn get_or_try_init() { let cell: OnceCell = OnceCell::new(); assert!(cell.get().is_none()); @@ -348,6 +350,7 @@ mod sync { #[test] #[cfg_attr(miri, ignore)] // miri doesn't support processes + #[ignore = "Android: ignore for now. Need to compile these binaries separately."] fn reentrant_init() { let examples_dir = { let mut exe = std::env::current_exe().unwrap(); @@ -486,6 +489,7 @@ mod sync { } #[test] + #[cfg(not(target_os = "android"))] fn lazy_poisoning() { let x: Lazy = Lazy::new(|| panic!("kaboom")); for _ in 0..2 {