From f05b1e2efb30454135bdbc31a4932d00c06fff5a Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Sun, 3 Dec 2023 21:59:36 +0900 Subject: [PATCH] Disable Fiddle test cases making use of FFI closure. --- .ruby.metadata | 1 + ruby.spec | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .ruby.metadata diff --git a/.ruby.metadata b/.ruby.metadata new file mode 100644 index 0000000..d0dd1ac --- /dev/null +++ b/.ruby.metadata @@ -0,0 +1 @@ +4c47f1dfeeb23fc55d65bcae50cf70c23bc28aa3 ruby-3.1.2.tar.xz diff --git a/ruby.spec b/ruby.spec index 2cfe5dd..b5638a6 100644 --- a/ruby.spec +++ b/ruby.spec @@ -1014,6 +1014,9 @@ DISABLE_TESTS="$DISABLE_TESTS \ # other components are fixed. # https://bugzilla.redhat.com/show_bug.cgi?id=2040380 mv test/fiddle/test_import.rb{,.disable} +mv test/fiddle/test_closure.rb{,.disable} +DISABLE_TESTS="$DISABLE_TESTS -n !/Fiddle::TestFunc#test_qsort1/" +DISABLE_TESTS="$DISABLE_TESTS -n !/Fiddle::TestFunction#test_argument_count/" # Give an option to increase the timeout in tests. # https://bugs.ruby-lang.org/issues/16921 @@ -1574,7 +1577,7 @@ make runruby TESTRUN_SCRIPT=" \ %changelog -* Mon Oct 09 2023 Jun Aruga - 3.1.2-142 +* Sun Dec 03 2023 Jun Aruga - 3.1.2-142 - Bypass git submodule test failure on Git >= 2.38.1. - Fix tests with Europe/Amsterdam pre-1970 time on tzdata version 2022b. - Fix for tzdata-2022g. @@ -1582,6 +1585,8 @@ make runruby TESTRUN_SCRIPT=" \ Resolves: RHEL-5590 - ssl: use ffdhe2048 from RFC 7919 as the default DH group parameters Related: RHEL-5590 +- Disable fiddle tests that use FFI closures. + Related: RHEL-5590 * Fri Jun 03 2022 Jarek Prokop - 3.1.2-141 - Upgrade to Ruby 3.1.2 by merging Fedora Rawhide branch (commit: b7b5473).