aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2021-03-25 12:13:53 +0100
committerJeff Vander Stoep <jeffv@google.com>2021-03-25 12:13:53 +0100
commita513a2afbf73aec035e873288d3d784653cad6bf (patch)
tree72291e037ed71f7779623b465aa8d96b37febda5 /tests
parente3d8d80d2d8744ccdcd175323e0864c8f30fcedc (diff)
downloadtokio-a513a2afbf73aec035e873288d3d784653cad6bf.tar.gz
Enable more tests
Disable panic_on_clone test because it relies on the default Rust behavior of unwinding on panic, whereas Android calls abort on panic. Test: atest Change-Id: Idfcbc6667ac72e237a3130529e4e6dcaa474594f
Diffstat (limited to 'tests')
-rw-r--r--tests/sync_broadcast.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sync_broadcast.rs b/tests/sync_broadcast.rs
index 5f79800..9ef7927 100644
--- a/tests/sync_broadcast.rs
+++ b/tests/sync_broadcast.rs
@@ -286,6 +286,7 @@ fn capacity_too_big() {
}
#[test]
+#[cfg(not(target_os = "android"))]
fn panic_in_clone() {
use std::panic::{self, AssertUnwindSafe};