Skip to content

Commit ba1de41

Browse files
committed
Retag TestParse.rb MRI test file and exclude test_disallowed_gloal_variable test
The test_disallowed_gloal_variable test is excluded until a Prism issue ruby/prism#2673 is resolved
1 parent 5160f60 commit ba1de41

File tree

1 file changed

+35
-54
lines changed

1 file changed

+35
-54
lines changed

test/mri/excludes/TestParse.rb

Lines changed: 35 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,35 @@
1-
exclude :test_arg_concat, "needs investigation"
2-
exclude :test_op_asgn1_with_block, "needs investigation"
3-
exclude :test_block_dup, "needs investigation"
4-
exclude :test_define_singleton_error, "needs investigation"
5-
exclude :test_disallowed_class_variable, "needs investigation"
6-
exclude :test_disallowed_instance_variable, "needs investigation"
7-
exclude :test_else_without_rescue, "needs investigation"
8-
exclude :test_embedded_rd, "needs investigation"
9-
exclude :test_embedded_rd_error, "needs investigation"
10-
exclude :test_error_def_in_argument, "needs investigation"
11-
exclude :test_error_line, "needs investigation"
12-
exclude :test_float, "needs investigation"
13-
exclude :test_global_variable, "needs investigation"
14-
exclude :test_here_document, "needs investigation"
15-
exclude :test_invalid_char, "needs investigation"
16-
exclude :test_invalid_class_variable, "needs investigation"
17-
exclude :test_invalid_instance_variable, "needs investigation"
18-
exclude :test_location_of_invalid_token, "needs investigation"
19-
exclude :test_lparenarg, "needs investigation"
20-
exclude :test_method_block_location, "needs investigation"
21-
exclude :test_method_location_in_rescue, "needs investigation"
22-
exclude :test_named_capture_conflict, "needs investigation"
23-
exclude :test_negative_line_number, "needs investigation"
24-
exclude :test_no_blockarg, "needs investigation"
25-
exclude :test_nonascii_const_set, "needs investigation"
26-
exclude :test_nonascii_constant, "needs investigation"
27-
exclude :test_question, "needs investigation"
28-
exclude :test_rescue_in_command_assignment, "needs investigation"
29-
exclude :test_string, "needs investigation"
30-
exclude :test_symbol, "needs investigation"
31-
exclude :test_truncated_source_line, "needs investigation"
32-
exclude :test_unassignable, "needs investigation"
33-
exclude :test_unexpected_token_after_numeric, "needs investigation"
34-
exclude :test_unused_variable, "needs investigation"
35-
exclude :test_utf8_bom, "needs investigation"
36-
exclude :test_void_expr_stmts_value, "needs investigation"
37-
exclude :test_whitespace_warning, "needs investigation"
38-
exclude :test_words, "needs investigation"
39-
exclude :test_yyerror_at_eol, "needs investigation"
40-
exclude :test_assign_in_conditional, "needs investigation"
41-
exclude :test_literal_in_conditional, "needs investigation"
42-
exclude :test_shareable_constant_value_ignored, "needs investigation"
43-
exclude :test_shareable_constant_value_invalid, "needs investigation"
44-
exclude :test_shareable_constant_value_nested, "needs investigation"
45-
exclude :test_shareable_constant_value_nonliteral, "needs investigation"
46-
exclude :test_shareable_constant_value_simple, "needs investigation"
47-
exclude :test_shareable_constant_value_unfrozen, "needs investigation"
48-
exclude :test_shareable_constant_value_unshareable_literal, "needs investigation"
49-
exclude :test_unexpected_eof, "/home/eregon/code/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:1166:in `test_unexpected_eof'."
50-
exclude :test_magic_comment, "<#<Encoding:US-ASCII>> expected but was"
51-
exclude :test_if_after_class, "/home/eregon/code/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:1365:in `test_if_after_class'."
52-
exclude :test_escaped_space, "/home/eregon/code/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:1370:in `test_escaped_space'."
53-
exclude :test_dynamic_constant_assignment, "prism"
54-
exclude :test_serial_comparison, "prism"
1+
exclude :test_disallowed_class_variable, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:380:in `block in assert_disallowed_variable'."
2+
exclude :test_disallowed_gloal_variable, "https://github.com/ruby/prism/issues/2673"
3+
exclude :test_disallowed_instance_variable, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:380:in `block in assert_disallowed_variable'."
4+
exclude :test_dynamic_constant_assignment, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:155:in `test_dynamic_constant_assignment'."
5+
exclude :test_else_without_rescue, "[\"/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb\", 21]."
6+
exclude :test_embedded_rd, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:748:in `test_embedded_rd'."
7+
exclude :test_embedded_rd_error, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:755:in `test_embedded_rd_error'."
8+
exclude :test_error_def_in_argument, "-:7:in `<main>'."
9+
exclude :test_error_line, "Message to pipe should end with a newline."
10+
exclude :test_float, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:761:in `test_float'."
11+
exclude :test_global_variable, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:772:in `test_global_variable'."
12+
exclude :test_here_document, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:652:in `test_here_document'."
13+
exclude :test_invalid_char, "[ruby-core:64243] [Bug #10117]"
14+
exclude :test_location_of_invalid_token, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:1174:in `test_location_of_invalid_token'."
15+
exclude :test_magic_comment, "[ArgumentError] exception expected, not #<SyntaxError: /Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:706: unknown or invalid encoding in the magic comment>."
16+
exclude :test_method_block_location, "[ruby-core:40936]."
17+
exclude :test_method_location_in_rescue, "[ruby-core:79388] [Bug #13181]."
18+
exclude :test_no_blockarg, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:912:in `test_no_blockarg'."
19+
exclude :test_question, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:594:in `test_question'."
20+
exclude :test_shareable_constant_value_ignored, "expected: /ignored/"
21+
exclude :test_string, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:516:in `test_string'."
22+
exclude :test_unassignable, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:804:in `test_unassignable'."
23+
exclude :test_unexpected_eof, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:1170:in `test_unexpected_eof'."
24+
exclude :test_unexpected_token_after_numeric, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:1118:in `test_unexpected_token_after_numeric'."
25+
exclude :test_unused_variable, "expected: /assigned but unused variable/"
26+
exclude :test_utf8_bom, "Exception raised:"
27+
exclude :test_void_expr_stmts_value, "expected: /useless use/"
28+
exclude :test_words, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:352:in `test_words'."
29+
exclude :test_yyerror_at_eol, "/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/ruby/test_parse.rb:1040:in `test_yyerror_at_eol'."
30+
exclude :test_shareable_constant_value_nested, "SyntaxError: (eval):6: YARPTranslator does not know how to translate ShareableConstantNode at (eval):6"
31+
exclude :test_shareable_constant_value_nonliteral, "NameError: uninitialized constant TestParse::Ractor"
32+
exclude :test_shareable_constant_value_simple, "SyntaxError: (eval):3: YARPTranslator does not know how to translate ShareableConstantNode at (eval):3"
33+
exclude :test_shareable_constant_value_unfrozen, "NameError: uninitialized constant TestParse::Ractor"
34+
exclude :test_shareable_constant_value_unshareable_literal, "NameError: uninitialized constant TestParse::Ractor"
35+
exclude :test_truncated_source_line, "NoMethodError: undefined method `start_with?' for nil:NilClass"

0 commit comments

Comments
 (0)