Skip to content

Commit b989df4

Browse files
committed
ractor test-all: change to use excludes list
Run with: EXCLUDES=test/.excludes-ractor RUBY_TESTS_WITH_RACTORS=3 make test-all TESTS=test/ruby
1 parent c38f78c commit b989df4

154 files changed

Lines changed: 582 additions & 686 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
exclude(/^test_GlobalVariable/, "global variables")
2+
exclude(:test_ClassVariableTargetNode, "class variables")
3+
exclude(:test_ClassVariableAndWriteNode, "class variables")
4+
exclude(:test_ClassVariableOperatorWriteNode, "class variables")
5+
exclude(:test_ClassVariableOrWriteNode, "class variables")
6+
exclude(:test_ClassVariableWriteNode, "class variables")
7+
exclude(:test_InstanceVariableTargetNode, "class ivars")
8+
exclude(:test_InstanceVariableReadNode, "class ivars")
9+
exclude(:test_InstanceVariableWriteNode, "class ivars")
10+
exclude(:test_EmbeddedVariableNode, "class ivars")
11+
exclude(:test_InterpolatedMatchLastLineNode, "global variables")
12+
exclude(:test_InterpolatedRegularExpressionNode, "global variables")
13+
exclude(:test_InterpolatedStringNode, "global variables")
14+
exclude(:test_InterpolatedSymbolNode, "global variables")
15+
exclude(:test_AliasGlobalVariableNode, "global variables")
16+
exclude(:test_ClassVariableReadNode, "class variables")

test/.excludes-ractor/RubyVM.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
exclude(:test_of_proc_and_method, "ractor incompatible")
2+
exclude(:test_parse_file_raises_syntax_error, "ractor incompatible")

test/.excludes-ractor/TestAlias.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
exclude(:test_alias_class_method_added, "class ivars")
2+
exclude(:test_alias_module_method_added, "module ivars")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude(/^test_/, "checks allocations in subprocess")

test/.excludes-ractor/TestArgf.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude(/^test_/, "ARGF is not shareable")

test/.excludes-ractor/TestArray.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
exclude(/_with_callcc$/, "ractor incompatible")
2+
exclude(:test_join, "Uses $,")
3+
exclude(:test_to_s, "Uses $,")
4+
exclude(:test_equal_resize, "global variables")
5+
exclude(:test_replace_wb_variable_width_alloc, "GC.verify_internal_consistency")
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
path = File.expand_path("../TestArray.rb", __FILE__)
2+
instance_eval File.read(path), path
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
exclude(:test_assignment, "ractor incompatible")
2+
exclude(:test_massign_const_order, "ractor incompatible")
3+
exclude(:test_next, "ractor incompatible")
4+
exclude(:test_return, "ractor incompatible")
5+
exclude(:test_yield, "ractor incompatible")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude(/^test_/, "ractor incompatible")
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
exclude(:test_caller_locations_absolute_path, "ractor incompatible")
2+
exclude(:test_caller_locations_lineno, "ractor incompatible")
3+
exclude(:test_caller_locations_path, "ractor incompatible")

0 commit comments

Comments
 (0)