From 814eaf5324c0245315bfcb281a993688c4a87dea Mon Sep 17 00:00:00 2001 From: Jarek Prokop Date: Jul 12 2023 08:30:51 +0000 Subject: Re-enable FFI related tests. libffi since NVR libffi-3.4.4-3.fc39 builds with static trampolines enabled. This fixes the failures which were the reason for disabling the tests. Since it recently landed in Rawhide, we can re-enable the tests. --- diff --git a/ruby.spec b/ruby.spec index cbc3fb0..bf8230f 100644 --- a/ruby.spec +++ b/ruby.spec @@ -992,14 +992,6 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestDir#test_home/" MSPECOPTS="$MSPECOPTS -P 'File.expand_path expands ~ENV..USER..* to.* the user.s home directory'" %endif -# Several test broken by libffi-3.4.2. There should be fix in libffi, once -# 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/" - %ifarch i686 # The MJIT test cases are failing so often, that it is recently impossible # to get past the test cases :/