Source: ruby2.7
Severity: normal
Tags: patch

Hi!

Multiple tests are failing on x32 [1], most likely because the testsuite expects
a 64-bit system when x32 is actually a 32-bit system due to the combination
of x86_64 instructions with 32-bit pointers.

The attached patch will disable the failing tests. Could you apply it for the
next upload?

Thanks,
Adrian

> [1] 
> https://buildd.debian.org/status/fetch.php?pkg=ruby3.0&arch=x32&ver=3.0.2-5&stamp=1635261370&raw=0

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
diff -Nru old/ruby3.0-3.0.2/debian/tests/excludes/x32/Fiddle/TestImport.rb 
new/ruby3.0-3.0.2/debian/tests/excludes/x32/Fiddle/TestImport.rb
--- old/ruby3.0-3.0.2/debian/tests/excludes/x32/Fiddle/TestImport.rb    
1970-01-01 01:00:00.000000000 +0100
+++ new/ruby3.0-3.0.2/debian/tests/excludes/x32/Fiddle/TestImport.rb    
2021-11-08 13:40:25.401346916 +0100
@@ -0,0 +1,6 @@
+exclude :test_sizeof, 'fails, ENOTIME to investigate'
+exclude :test_malloc, 'fails, ENOTIME to investigate'
+exclude :test_struct_array_assignment, 'fails, ENOTIME to investigate'
+exclude :test_struct_nested_struct_replace_array_element, 'fails, ENOTIME to 
investigate'
+exclude :test_struct_nested_struct_replace_entire_array_with_different_struct, 
'fails, ENOTIME to investigate'
+exclude :test_struct_ptr_array_subscript_multiarg, 'fails, ENOTIME to 
investigate'
diff -Nru old/ruby3.0-3.0.2/debian/tests/excludes/x32/TestRefinement.rb 
new/ruby3.0-3.0.2/debian/tests/excludes/x32/TestRefinement.rb
--- old/ruby3.0-3.0.2/debian/tests/excludes/x32/TestRefinement.rb       
1970-01-01 01:00:00.000000000 +0100
+++ new/ruby3.0-3.0.2/debian/tests/excludes/x32/TestRefinement.rb       
2021-11-08 19:25:32.823113385 +0100
@@ -0,0 +1,15 @@
+exclude :test_builtin_method_no_local_rebinding, 'fails, ENOTIME to 
investigate'
+exclude :test_instance_method_should_use_refinements, 'fails, ENOTIME to 
investigate'
+exclude :test_method_should_use_refinements, 'fails, ENOTIME to investigate'
+exclude :test_override_builtin_method, 'fails, ENOTIME to investigate'
+exclude :test_override_builtin_method_with_method_added, 'fails, ENOTIME to 
investigate'
+exclude :test_prepend_after_refine, 'fails, ENOTIME to investigate'
+exclude :test_redefine_refined_method, 'fails, ENOTIME to investigate'
+exclude :test_refine_alias_in_subclass, 'fails, ENOTIME to investigate'
+exclude :test_refine_frozen_class, 'fails, ENOTIME to investigate'
+exclude :test_refine_mutual_recursion, 'fails, ENOTIME to investigate'
+exclude :test_refine_prepended_class, 'fails, ENOTIME to investigate'
+exclude :test_refine_recursion, 'fails, ENOTIME to investigate'
+exclude :test_refine_same_class_twice, 'fails, ENOTIME to investigate'
+exclude :test_respond_to_should_use_refinements, 'fails, ENOTIME to 
investigate'
+exclude :test_super_in_block, 'fails, ENOTIME to investigate'

Reply via email to