From da25923fdb055b6cd7e4e5c64256aa3888d6ed89 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Mon, 6 Nov 2023 09:04:50 -0600 Subject: [PATCH] Unmask all fiber tests and add excludes --- test/mri.stdlib.index | 19 +++++++++---------- test/mri/excludes/TestAddressResolve.rb | 12 ++++++++++++ test/mri/excludes/TestFiberIO.rb | 2 ++ test/mri/excludes/TestFiberIOBuffer.rb | 3 +++ test/mri/excludes/TestFiberMutex.rb | 3 +++ test/mri/excludes/TestFiberSleep.rb | 2 ++ test/mri/excludes/TestFiberThread.rb | 1 + test/mri/excludes/TestFiberTimeout.rb | 1 + 8 files changed, 33 insertions(+), 10 deletions(-) create mode 100644 test/mri/excludes/TestAddressResolve.rb create mode 100644 test/mri/excludes/TestFiberIO.rb create mode 100644 test/mri/excludes/TestFiberIOBuffer.rb create mode 100644 test/mri/excludes/TestFiberSleep.rb create mode 100644 test/mri/excludes/TestFiberThread.rb create mode 100644 test/mri/excludes/TestFiberTimeout.rb diff --git a/test/mri.stdlib.index b/test/mri.stdlib.index index 0d17870ca70..b0984fb40f4 100644 --- a/test/mri.stdlib.index +++ b/test/mri.stdlib.index @@ -12,19 +12,18 @@ digest dtrace erb etc -#fiber #IO::Buffer is not implemented -#fiber/test_address_resolve.rb +fiber/test_address_resolve.rb fiber/test_backtrace.rb -#fiber/test_enumerator.rb -#fiber/test_io.rb -#fiber/test_io_buffer.rb -#fiber/test_mutex.rb -#fiber/test_process.rb +fiber/test_enumerator.rb +fiber/test_io.rb +fiber/test_io_buffer.rb +fiber/test_mutex.rb +fiber/test_process.rb fiber/test_ractor.rb fiber/test_scheduler.rb -#fiber/test_sleep.rb -#fiber/test_thread.rb -#fiber/test_timeout.rb +fiber/test_sleep.rb +fiber/test_thread.rb +fiber/test_timeout.rb fileutils gdbm io diff --git a/test/mri/excludes/TestAddressResolve.rb b/test/mri/excludes/TestAddressResolve.rb new file mode 100644 index 00000000000..d78d14b19d6 --- /dev/null +++ b/test/mri/excludes/TestAddressResolve.rb @@ -0,0 +1,12 @@ +exclude :test_addrinfo_getaddrinfo_any_non_blocking, "" +exclude :test_addrinfo_getaddrinfo_full_domain_blocking, "" +exclude :test_addrinfo_getaddrinfo_ipv4_domain_blocking, "" +exclude :test_addrinfo_getaddrinfo_ipv6_domain_blocking, "" +exclude :test_addrinfo_getaddrinfo_localhost, "" +exclude :test_addrinfo_getaddrinfo_pf_unspec_domain_blocking, "" +exclude :test_addrinfo_ip_domain_blocking, "" +exclude :test_addrinfo_tcp_domain_blocking, "" +exclude :test_addrinfo_udp_domain_blocking, "" +exclude :test_ip_socket_getaddress_domain_blocking, "" +exclude :test_mutex_fiber_raise, "" +exclude :test_socket_getnameinfo_domain_blocking, "" diff --git a/test/mri/excludes/TestFiberIO.rb b/test/mri/excludes/TestFiberIO.rb new file mode 100644 index 00000000000..aabb4808c0a --- /dev/null +++ b/test/mri/excludes/TestFiberIO.rb @@ -0,0 +1,2 @@ +exclude :test_heavy_read, "" +exclude :test_read_write_blocking, "" diff --git a/test/mri/excludes/TestFiberIOBuffer.rb b/test/mri/excludes/TestFiberIOBuffer.rb new file mode 100644 index 00000000000..4148815b565 --- /dev/null +++ b/test/mri/excludes/TestFiberIOBuffer.rb @@ -0,0 +1,3 @@ +exclude :test_read_nonblock, "" +exclude :test_read_write_blocking, "" +exclude :test_timeout_after, "" diff --git a/test/mri/excludes/TestFiberMutex.rb b/test/mri/excludes/TestFiberMutex.rb index 1196a55c43c..8851c9ec0e6 100644 --- a/test/mri/excludes/TestFiberMutex.rb +++ b/test/mri/excludes/TestFiberMutex.rb @@ -1 +1,4 @@ +exclude :test_condition_variable, "" +exclude :test_mutex_deadlock, "" +exclude :test_mutex_fiber_raise, "" exclude :test_queue_pop_waits, "wonky subprocess launching in test" diff --git a/test/mri/excludes/TestFiberSleep.rb b/test/mri/excludes/TestFiberSleep.rb new file mode 100644 index 00000000000..bea1846a166 --- /dev/null +++ b/test/mri/excludes/TestFiberSleep.rb @@ -0,0 +1,2 @@ +exclude :test_broken_sleep, "" +exclude :test_sleep, "" diff --git a/test/mri/excludes/TestFiberThread.rb b/test/mri/excludes/TestFiberThread.rb new file mode 100644 index 00000000000..5a77555996b --- /dev/null +++ b/test/mri/excludes/TestFiberThread.rb @@ -0,0 +1 @@ +exclude :test_broken_unblock, "" diff --git a/test/mri/excludes/TestFiberTimeout.rb b/test/mri/excludes/TestFiberTimeout.rb new file mode 100644 index 00000000000..752dcc86c9e --- /dev/null +++ b/test/mri/excludes/TestFiberTimeout.rb @@ -0,0 +1 @@ +exclude :test_timeout_after, ""