From f2e5d52dee4420615bf2dc3e59574ef6b7e000ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Fri, 20 Nov 2020 17:31:48 +0100 Subject: [PATCH] Disable single ruby-spec test case. Otherwise the test suite gets stuck: ~~~ ... snip ... C-API Kernel function rb_rescue2 - only rescues if one of the passed exceptions is raised ~~~ --- ruby.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ruby.spec b/ruby.spec index 42db5a5..464bcc2 100644 --- a/ruby.spec +++ b/ruby.spec @@ -894,6 +894,10 @@ DISABLE_TESTS="$DISABLE_TESTS -x test_gc_compact.rb" # Avoid `hostname' dependency. %{!?with_hostname:MSPECOPTS="-P 'Socket.gethostname returns the host name'"} +# The test suite gets stuck in 'C-API Kernel function rb_rescue2'. +# https://bugs.ruby-lang.org/issues/17338 +MSPECOPTS="$MSPECOPTS -P 'raises TypeError if one of the passed exceptions is not a Module'" + # Give an option to increase the timeout in tests. # https://bugs.ruby-lang.org/issues/16921 %{?test_timeout_scale:RUBY_TEST_TIMEOUT_SCALE="%{test_timeout_scale}"} \