From 1a2c56096fbbcc1296190d6177106f0fb5541f97 Mon Sep 17 00:00:00 2001 From: Yoh Deadfall Date: Sun, 12 Jan 2025 22:14:02 +0300 Subject: [PATCH] Added Android to epoll and eventfd test targets --- tests/fail-dep/libc/eventfd_block_read_twice.rs | 2 +- tests/fail-dep/libc/eventfd_block_write_twice.rs | 2 +- tests/fail-dep/libc/libc_epoll_unsupported_fd.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/fail-dep/libc/eventfd_block_read_twice.rs b/tests/fail-dep/libc/eventfd_block_read_twice.rs index 81a96103db..5b0e106e03 100644 --- a/tests/fail-dep/libc/eventfd_block_read_twice.rs +++ b/tests/fail-dep/libc/eventfd_block_read_twice.rs @@ -1,4 +1,4 @@ -//@only-target: linux +//@only-target: linux android //~^ERROR: deadlocked //~^^ERROR: deadlocked //@compile-flags: -Zmiri-preemption-rate=0 diff --git a/tests/fail-dep/libc/eventfd_block_write_twice.rs b/tests/fail-dep/libc/eventfd_block_write_twice.rs index 7a2a6f4eb1..bae1ec700b 100644 --- a/tests/fail-dep/libc/eventfd_block_write_twice.rs +++ b/tests/fail-dep/libc/eventfd_block_write_twice.rs @@ -1,4 +1,4 @@ -//@only-target: linux +//@only-target: linux android //~^ERROR: deadlocked //~^^ERROR: deadlocked //@compile-flags: -Zmiri-preemption-rate=0 diff --git a/tests/fail-dep/libc/libc_epoll_unsupported_fd.rs b/tests/fail-dep/libc/libc_epoll_unsupported_fd.rs index 03d4b2d663..22f3708ee0 100644 --- a/tests/fail-dep/libc/libc_epoll_unsupported_fd.rs +++ b/tests/fail-dep/libc/libc_epoll_unsupported_fd.rs @@ -1,4 +1,4 @@ -//@only-target: linux +//@only-target: linux android // This is a test for registering unsupported fd with epoll. // Register epoll fd with epoll is allowed in real system, but we do not support this.