aboutsummaryrefslogtreecommitdiff
path: root/tests/it.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/it.rs')
-rw-r--r--tests/it.rs4
1 files changed, 4 insertions, 0 deletions
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<String> = 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<String> = 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<String> = Lazy::new(|| panic!("kaboom"));
for _ in 0..2 {