Skip to content

Commit e40a4ae

Browse files
committed
Exclude failing MRI tests
1 parent 67874d8 commit e40a4ae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+174
-0
lines changed

test/mri/excludes/Complex_Test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@
1515
exclude :test_canonicalize_internal, "needs investigation"
1616
exclude :test_rationalize, "needs investigation"
1717
exclude :test_polar, "needs investigation"
18+
exclude :test_coerce2, "<=>."

test/mri/excludes/Fiddle/TestClosure.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@
1010
exclude :test_conversion_unsigned_short, "needs investigation"
1111
exclude :test_type_symbol, "needs investigation"
1212
exclude :test_const_string, "needs investigation"
13+
exclude :test_free, "NoMethodError: undefined method `freed?' for #<Fiddle::Closure:0x10ac3c8>"
14+
exclude :test_returner, "NoMethodError: undefined method `freed?' for #<#<Class:0x10ac408>:0x10ac438>"
15+
exclude :test_call, "NoMethodError: undefined method `freed?' for #<#<Class:0x10ac478>:0x10ac498>"
16+
exclude :test_conversion_int, "NoMethodError: undefined method `freed?' for #<#<Class:0x10ac4d8>:0x10ac508>"
17+
exclude :test_memsize_ruby_dev_42480, "NoMethodError: undefined method `freed?' for #<Fiddle::Closure:0x10ac558>"
18+
exclude :test_block_caller, "NoMethodError: undefined method `freed?' for #<Fiddle::Closure::BlockCaller:0x10ac5b8>"

test/mri/excludes/Fiddle/TestHandle.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
exclude :test_to_i, "needs investigation"
1111
exclude :test_file_name, "NoMethodError: undefined method `file_name' for #<Fiddle::Handle:0xc63718>"
1212
exclude :test_to_ptr, "NoMethodError: undefined method `to_ptr' for #<Fiddle::Handle:0xc63768>"
13+
exclude :test_sym, "NoMethodError: undefined method `sym_defined?' for #<Fiddle::Handle:0x510208>"

test/mri/excludes/Fiddle/TestImport.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@
1919
exclude :test_struct_ptr_array_subscript_multiarg, "needs investigation"
2020
exclude :test_union_nested_struct_members, "needs investigation"
2121
exclude :test_sizeof_int64_t, "NameError: uninitialized constant Fiddle::Importer::TYPE_CONST_STRING"
22+
exclude :"test_sizeof_ulong long", "NameError: uninitialized constant Fiddle::Importer::TYPE_CONST_STRING"
23+
exclude :test_sizeof_uint64_t, "NameError: uninitialized constant Fiddle::Importer::TYPE_CONST_STRING"

test/mri/excludes/HTTPHeaderTest.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude :test_initialize_with_broken_coderange, "[Encoding::CompatibilityError] exception expected, not #<ArgumentError: invalid byte sequence in UTF-8>."
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude :test_take_bug_8215, "[bug:8215] tuple lost."

test/mri/excludes/TestArray.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,8 @@
5050
exclude :test_intersect_big_array, "needs investigation"
5151
exclude :test_intersect?, "needs investigation"
5252
exclude :test_pack_with_buffer, "ArgumentError: wrong number of arguments (given 2, expected 1)"
53+
exclude :test_shuffle_random_invalid_generator, "NoMethodError expected but nothing was raised."
54+
exclude :test_sample_random_generator, "<[]> expected but was"
55+
exclude :test_sample_random_invalid_generator, "NoMethodError expected but nothing was raised."
56+
exclude :test_shuffle_random_clobbering, "RuntimeError expected but nothing was raised."
57+
exclude :test_replace_wb_variable_width_alloc, "NoMethodError: undefined method `verify_internal_consistency' for GC:Module"

test/mri/excludes/TestArraySubclass.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,8 @@
5555
exclude :test_initialize, "expected: /given block not used/"
5656
exclude :test_to_ary, "Exception(NoMethodError) with message matches to /foo_bar/."
5757
exclude :test_pack_with_buffer, "ArgumentError: wrong number of arguments (given 2, expected 1)"
58+
exclude :test_shuffle_random_invalid_generator, "NoMethodError expected but nothing was raised."
59+
exclude :test_sample_random_generator, "<[]> expected but was"
60+
exclude :test_sample_random_invalid_generator, "NoMethodError expected but nothing was raised."
61+
exclude :test_shuffle_random_clobbering, "RuntimeError expected but nothing was raised."
62+
exclude :test_replace_wb_variable_width_alloc, "NoMethodError: undefined method `verify_internal_consistency' for GC:Module"

test/mri/excludes/TestAssignment.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
exclude :test_assign_private_self, "needs investigation"
22
exclude :test_massign_order, "<[:x1, :y1, :x2, :r1, :r2, [:z=, :r1], [:[]=, 1, 2, 3, 6], [:[]=, 4, :r2]]> expected but was"
3+
exclude :test_massign_const_order, "<[:x1, :y1, :x2, [:[], 1, 2, 3], [:[], 4], :r1, :r2]> expected but was"
4+
exclude :test_const_assign_order, "[RuntimeError] exception expected, not #<ArgumentError: bar>."

test/mri/excludes/TestBacktrace.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
exclude :test_caller_limit_cfunc_iseq_no_pc, "needs investigation"
77
exclude :test_caller_location_inspect_cfunc_iseq_no_pc, "needs investigation"
88
exclude :test_caller_location_path_cfunc_iseq_no_pc, "needs investigation"
9+
exclude :test_each_backtrace_location, "<[\"/home/eregon/code/truffleruby-ws/truffleruby/test/mri/tests/lib/test/unit/testcase.rb:200:in `run_test'\","

0 commit comments

Comments
 (0)