Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PRISM] Turn on more tests #10237

Merged
merged 1 commit into from Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/prism.yml
Expand Up @@ -92,7 +92,7 @@ jobs:
timeout-minutes: 40
env:
GNUMAKEFLAGS: ''
RUBY_TESTOPTS: '-q --tty=no --excludes-dir="../src/test/.excludes-prism" --exclude="test_ast.rb" --exclude="test_regexp.rb" --exclude="error_highlight/test_error_highlight.rb" --exclude="irb/test_context.rb" --exclude="prism/encoding_test.rb" --exclude="prism/unescape_test.rb"'
RUBY_TESTOPTS: '-q --tty=no --excludes-dir="../src/test/.excludes-prism" --exclude="test_ast.rb" --exclude="test_regexp.rb" --exclude="error_highlight/test_error_highlight.rb" --exclude="prism/encoding_test.rb"'
RUN_OPTS: ${{ matrix.run_opts }}

# - name: make test-spec
Expand Down
1 change: 0 additions & 1 deletion test/.excludes-prism/TestException.rb
@@ -1,2 +1 @@
exclude(:test_errinfo_encoding_in_debug, "unknown")
exclude(:test_syntax_error_path, "unknown")
1 change: 0 additions & 1 deletion test/.excludes-prism/TestFlip.rb

This file was deleted.

9 changes: 0 additions & 9 deletions test/.excludes-prism/TestM17N.rb
@@ -1,19 +1,10 @@
exclude(:test_dynamic_eucjp_regexp, "https://github.com/ruby/prism/issues/1997")
exclude(:test_dynamic_sjis_regexp, "https://github.com/ruby/prism/issues/1997")
exclude(:test_dynamic_utf8_regexp, "https://github.com/ruby/prism/issues/1997")
exclude(:test_magic_comment_at_various_positions, "unknown")
exclude(:test_magic_comment, "unknown")
exclude(:test_nonascii_method_name, "unknown")
exclude(:test_regexp_ascii, "https://github.com/ruby/prism/issues/1997")
exclude(:test_regexp_embed, "https://github.com/ruby/prism/issues/1997")
exclude(:test_regexp_euc, "unknown")
exclude(:test_regexp_mixed_unicode, "unknown")
exclude(:test_regexp_property, "unknown")
exclude(:test_regexp_sjis, "unknown")
exclude(:test_regexp_too_short_multibyte_character, "unknown")
exclude(:test_regexp_unicode, "unknown")
exclude(:test_regexp_usascii, "unknown")
exclude(:test_str_dump, "unknown")
exclude(:test_string_ascii_literal, "unknown")
exclude(:test_string_eucjp_literal, "unknown")
exclude(:test_string_mixed_unicode, "unknown")
7 changes: 0 additions & 7 deletions test/.excludes-prism/TestParse.rb
@@ -1,18 +1,11 @@
exclude(:test_assign_in_conditional, "missing warning")
exclude(:test_here_document, "incorrect heredoc")
exclude(:test_literal_in_conditional, "missing warning")
exclude(:test_magic_comment, "incorrect encoding")
exclude(:test_nonascii_const_set, "incorrect encoding")
exclude(:test_nonascii_constant, "incorrect encoding")
exclude(:test_question, "missing warning")
exclude(:test_serial_comparison, "missing warning")
exclude(:test_shareable_constant_value_nested, "ractor support")
exclude(:test_shareable_constant_value_nonliteral, "ractor support")
exclude(:test_shareable_constant_value_simple, "ractor support")
exclude(:test_shareable_constant_value_unfrozen, "ractor support")
exclude(:test_shareable_constant_value_unshareable_literal, "ractor support")
exclude(:test_string, "incorrect encoding")
exclude(:test_unused_variable, "missing warning")
exclude(:test_utf8_bom, "incorrect error")
exclude(:test_void_expr_stmts_value, "missing warning")
exclude(:test_whitespace_warning, "missing warning")
4 changes: 0 additions & 4 deletions test/.excludes-prism/TestRubyLiteral.rb
@@ -1,7 +1,3 @@
exclude(:test_dregexp, "unknown")
exclude(:test_dstring_encoding, "incorrect encoding")
exclude(:test_float, "numbered parameters inside evals")
exclude(:test_frozen_string_in_array_literal, "incorrect frozen value")
exclude(:test_hash_duplicated_key, "missing warning")
exclude(:test_integer, "numbered parameters inside evals")
exclude(:test_string, "https://github.com/ruby/prism/issues/2331")
4 changes: 0 additions & 4 deletions test/.excludes-prism/TestSyntax.rb
Expand Up @@ -5,8 +5,4 @@
exclude(:test_it, "https://github.com/ruby/prism/issues/2323")
exclude(:test_keyword_duplicated, "unknown")
exclude(:test_numbered_parameter, "unknown")
exclude(:test_range_at_eol, "unknown")
exclude(:test_too_big_nth_ref, "unknown")
exclude(:test_warning_for_cr, "unknown")
exclude(:test_warning_literal_in_condition, "unknown")
exclude(:test_warning_literal_in_flip_flop, "unknown")