run a few more concurrency tests on aarch64-linux-android

This commit is contained in:
Ralf Jung 2025-03-27 15:05:37 +01:00
parent 40bb7d1cc8
commit c845ff0d71
2 changed files with 4 additions and 4 deletions

View file

@ -166,7 +166,7 @@ case $HOST_TARGET in
UNIX="hello panic/panic panic/unwind concurrency/simple atomic libc-mem libc-misc libc-random env num_cpus" # the things that are very similar across all Unixes, and hence easily supported there
TEST_TARGET=x86_64-unknown-freebsd run_tests_minimal $BASIC $UNIX time hashmap random threadname pthread fs libc-pipe
TEST_TARGET=i686-unknown-freebsd run_tests_minimal $BASIC $UNIX time hashmap random threadname pthread fs libc-pipe
TEST_TARGET=aarch64-linux-android run_tests_minimal $BASIC $UNIX time hashmap random sync threadname pthread epoll eventfd
TEST_TARGET=aarch64-linux-android run_tests_minimal $BASIC $UNIX time hashmap random sync concurrency thread epoll eventfd
TEST_TARGET=wasm32-wasip2 run_tests_minimal $BASIC wasm
TEST_TARGET=wasm32-unknown-unknown run_tests_minimal no_std empty_main wasm # this target doesn't really have std
TEST_TARGET=thumbv7em-none-eabihf run_tests_minimal no_std

View file

@ -64,7 +64,7 @@ fn wait_wrong_val() {
),
-1,
);
assert_eq!(*libc::__errno_location(), libc::EAGAIN);
assert_eq!(io::Error::last_os_error().raw_os_error().unwrap(), libc::EAGAIN);
}
}
@ -85,7 +85,7 @@ fn wait_timeout() {
),
-1,
);
assert_eq!(*libc::__errno_location(), libc::ETIMEDOUT);
assert_eq!(io::Error::last_os_error().raw_os_error().unwrap(), libc::ETIMEDOUT);
}
assert!((200..1000).contains(&start.elapsed().as_millis()));
@ -124,7 +124,7 @@ fn wait_absolute_timeout() {
),
-1,
);
assert_eq!(*libc::__errno_location(), libc::ETIMEDOUT);
assert_eq!(io::Error::last_os_error().raw_os_error().unwrap(), libc::ETIMEDOUT);
}
assert!((200..1000).contains(&start.elapsed().as_millis()));